parsing the style attribute of an svg path element

Benjamin Warren <[email protected]> Tue, 20 Dec 2011 16:26:34 +1300
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <CALm=w3_1z4xxX5oWU1vgmPsFX=S=T7JepSJbsu150Ma-u7ZxJQ@mail.gmail.com>
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