mathandy / svgpathtools

A collection of tools for manipulating and analyzing SVG Path objects and Bezier curves.
MIT License
558 stars 142 forks source link

Basic Svg_Io_Sax #66

Closed tatarize closed 6 years ago

tatarize commented 6 years ago

Demonstration of the load as flatten capabilities discussed in mathandy/svgpathtools#16 shows the other method svg parsing, in the case that speed matters.

mathandy commented 6 years ago

Looks good, thanks @tatarize. I don't see any reason not to merge this in -- haven't tested it myself to be honest. If you want people to experiment with it and improve on it you might consider adding usage examples to the module docstring -- otherwise (unless popular demand is that this becomes the main IO method) I might move it to a contrib submodule in the future. That's not to say it's not superior -- my mind is just other places these days, so I'm leaving a lot up to popular demand with svgpathtools.