
jamida
New User
Jan 30, 2010, 10:05 AM
Post #1 of 1
(3518 views)
|
Parsing the PATH data from an SVG file
|
Can't Post
|
|
I'm looking for something that will return a list of points and ideally the path type from an SVG file. I'm stunned that I can't find such a critter in the CPAN. All the SVG modules there seem to be going in the other direction... to make an SVG file and not to read and disassemble them. For example, the SVG module's method "get_path" is really a "set_path" as it takes a list of points and a path-type as input and returns an SVG object. Additionally, the DOM oriented parsers will return a PATH object in total but (since they're XML parsers and not SVG specific) can't continue to parse the parts of the PATH element. Help? Thanks Mike
|