Re: parsing the style attribute of an svg path element
Dominic Lachowicz <[email protected]> Tue, 20 Dec 2011 07:31:57 -0500
| Newsgroups | gmane.comp.gnome.lib.librsvg.devel |
|---|---|
| Message-ID | <CAH2ZfN+Z0Y73Dd6dG4A1AyiKu_irxcxHk0G+QCa-RsxfWFyUeQ@mail.gmail.com> |
The "shape-rendering" property is not currently handled by librsvg. On Mon, Dec 19, 2011 at 10:26 PM, Benjamin Warren <[email protected]> wrote: > When I use the python rsvg bindings to do; > > rsvg.Handle(svg_image.svg) > > and the I render it with; > > rsvg.Handle.render_cairo(cairo.Context) > > > The Handle function obviously reads the style attribute's "fill" and > "stroke" properties of the <path> element, to find out if the path > needs to be filled/stroked with a colour when rendered to the cairo > context. > > However it does not seem to read the "shape-rendering" style property? > Since setting "shape-rendering:crispEdges;" in the path elements style > property has no effect on the result. > > Can someone confirm that this property is/isn't read? If not, is the > "shape-rendering" style property intended to be handled by rsvg in > future versions? > > > Thanks > > Benjamin > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Librsvg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/librsvg-devel -- "I like to pay taxes. With them, I buy civilization." -- Oliver Wendell Holmes ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Librsvg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/librsvg-devel