Hi Andres,
Andres Toussaint wrote:
SVGOMPathElement.getNormalizedPathSegList() is NOT IMPLEMENTED!
Throws a RuntimeException ( "TODO : getNormalizedPathSegList() !!)
Is there any work being done at all in this? Is there somebody I can
talk about getting it implemented?
I am not currently doing any work to implement it. If you have
questions on how to implement it I could try and help. It is
probably worth filling a bugzilla bug report so it doesn't get
forgotten even if work doesn't start immediately.
Andres.
On Jul 15, 2005, at 6:10 AM, Thomas DeWeese wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]