One thing about drawing directly via ciaro ops is that if the svg isn't compact, ie. like results of many layers of composition, the compositing time could be varying to ops types and counts rather to width x height, but would work better/nicer on view scaling.
On Mon, Jun 27, 2011 at 6:27 AM, Eric Wasylishen <[email protected]> wrote: > Hi Fred, > I looked at librsvg a bit (here is the latest release: > http://git.gnome.org/browse/librsvg/tree/?id=2.34.0 - the website at > http://librsvg.sourceforge.net/ is out of date). It should be pretty > straightforward to wrap in an NSImageRep, hopefully no more than a few > hundred lines. btw, if you pass it a cairo surface, it will draw directly on > that instead of rasterizing to a bitmap first. Not sure if it would be worth > trying to take advantage of that, but we could. > > Also, I started to write an NSImageRep subclass which calls Ghostscript via > NSTask to render ps/eps/pdf's. It's not a very elegant solution but there are > no other viable options I can see. > > --Eric > _______________________________________________ > Gnustep-dev mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnustep-dev > -- /* Join Bluna Ratimonkey (漫画家) and build the real future for GNUstep ! */ [@"http://mus3.sourceforge.net" setNeedsYourHelps:YES!!]; _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
