Yes, that does exactly what I needed — a fully scalable svg pict.
Thank you! And the other discussants.
Byron
> On Sep 3, 2016, at 6:29 PM, Asumu Takikawa wrote:
>
> On 2016-09-03 20:53:59 +0200, Jens Axel Søgaard wrote:
>> I took a quick look at the code of rsvg. It seems svg-bytes->pict does
On 2016-09-03 20:53:59 +0200, Jens Axel Søgaard wrote:
> I took a quick look at the code of rsvg. It seems svg-bytes->pict does what
> you want? Asumu: can you confirm this
I think it should let you scale picts and have no pixelation. Like this:
#lang racket
(require pict rsvg)
(define
I took a quick look at the code of rsvg. It seems svg-bytes->pict does what you
want? Asumu: can you confirm this
> Den 3. sep. 2016 kl. 09.36 skrev Byron Davies :
>
> svg images have a second-class status in Racket. If you want to use an svg
> image in a drawing, it seems that you have to us
Are you talking about dc<%> or something below that? If you are at
the dc<%> level then you can interoperate with the rest of racket/gui
library and things built on it more easily. Like picts.
Robby
On Saturday, September 3, 2016, Byron Davies
wrote:
> Are you suggesting translating the SVG rep
Are you suggesting translating the SVG representation to pict drawing commands?
I was thinking, instead, of handing the SVG information off to the platform
drawing libraries, which I didn’t see as requiring XML parsing.
Or is there another option?
> On Sep 3, 2016, at 5:34 AM, Robby Findler w
I think that would be fantastic. The drawing models are compatible,
iiuc, so I think the main part is dealing with parsing the svg file.
Robby
On Sat, Sep 3, 2016 at 2:36 AM, Byron Davies wrote:
> svg images have a second-class status in Racket. If you want to use an svg
> image in a drawing,
svg images have a second-class status in Racket. If you want to use an svg
image in a drawing, it seems that you have to use the RSVG package to load it
from a file, which then renders it to a bitmap, subject to pixelation if
scaled. How hard would it be to create an svg-pict primitive that yo
7 matches
Mail list logo