[cairo] Drawing shapes without anti-aliasing

Benjamin Warren benjamin.a.warren at gmail.com
Mon Dec 19 17:00:48 PST 2011


When I render an svg image(from file) with HTML it will read the
"shape-rendering:crispEdges" style attribute in the svg's path
elements and render those paths without anti-aliasing. Is there a way
to get cairo to read style attribute in the same manor?

At the moment it seems that when parsing an svg path to cairo ignores
the "shape-rendering:crispEdges" in the style attribute of the svg
paths. (even with anti-aliasing set to none on the cairo surface).


Thanks

Benjamin


More information about the cairo mailing list