[Numpy-discussion] OT: How are SVG data converted into curves
robert.kern at gmail.com
Sat Oct 19 06:37:09 EDT 2013
On Thu, Oct 17, 2013 at 12:06 AM, David Goldsmith <d.l.goldsmith at gmail.com>
> Does anyone on this list know how Scalable Vector Graphics C, S, etc.
command data are translated into curves (i.e., pixel maps) and might you be
willing to answer some questions off-list? Thanks!
It's not clear if you are asking about how the SVG path command are parsed,
normalized, and interpreted into a path composed of vector primitives or
how those paths actually get rendered into pixels. If the former, you may
be interested in the svg.path package which does exactly that (and only
that). Most vector drawing libraries (Agg, the painting API of any
reasonable GUI toolkit) will be able to implement those primitives to draw
onto a pixel image.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion