[swfmill] Restoring broken bounding boxes?
Ralf Fuest
ralf-fuest at gmx.de
Thu Jun 28 14:37:13 EDT 2007
Hello edA-qa,
swfmill's XML format is closely modeled on the SWF file format, so you
should look at a SWF reference (e.g.
http://sswf.sourceforge.net/SWFalexref.html )
All coordinates in flash are in twips. The ShapeSetup tag with x and y
coordinates moves the current drawing position to this coordinates
(absolute values). The x and y values in all other tags are relative to
the current drawing position. This also means that the x2 and y2 values
in a CurveTo tag are relative to the curves control point described by
the x1 and y1 values and not to the current drawing position before the
tag.
Ralf
> Okay, now my next question is for the format of the XML. Is there a
> reference as to what the various elements and attributes mean?
>
> That is, what does the x,y of ShapeSetup imply, or of CurveTo? So far
> I'm guessing the units are twips, but either I'm totally confused on
> these elements or Corel is truly writing arbitrary bounds information
> (regardless of how I add the various CurveTo/LineTo I don't get anything
> near what the bounds is written as).
More information about the swfmill
mailing list