Andres Toussaint wrote:
Is there a way to apply the result of a:
SVGOMPathElement.getNormalizedPathSegList(); to the "d" attribute of the
original path?
Not real directly, but you can build a string that should be the
'd' attribute as you walk the path segment list and then just use
setAttribute to replace the original when you are done.
Basically, I want to convert all relative coordinates to absolute ones,
in all my path elements, so that when i save-export the SVG Document,
the paths have absolute (or normalized) "d" attributes only.
I can see a way to do it, using a SVGOMPathSegList parsing routine, but
was wondering if there was already something out there to do the job.
No, this is one of those 'tool' things that would be nice to
have in the 'contrib' section of Batik (relative<->absolute,
remove transforms, add transforms (calc minX,Y add a translate for
that and then rewrite data to account for that), etc...).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]