claus / as3swf

Low level Actionscript 3 library to parse, create, modify and publish SWF files.
MIT License
525 stars 127 forks source link

Position of path incorrect when exporting as SVG #43

Open conglinhuang opened 9 years ago

conglinhuang commented 9 years ago

The g tag should have a transform attribute to specify the position of the path. Currently the path always starts at 0, 0.

I noticed all TagDefineShape in the SWF, their shapeBounds have x =0 and y=0.