<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi Till, <br>
<br>
you are right, thanks for the correction. <br>
BUT, I did the changes you say and it just adjust the precision, but it
does'nt justify de big deviation:<br>
<br>
</tt><img src="cid:part1.02000801.02050600@gmail.com" alt=""><br>
AND the rotation :(<br>
<br>
let me remind you the original shape...<br>
<img src="cid:part2.05010503.07030909@gmail.com" alt=""><br>
<br>
very annoying...<br>
<br>
<br>
thanks again...<br>
<br>
<br>
<br>
Till Schneidereit wrote:
<blockquote
cite="mid:9f9805be0811060304o4a9344fek54e8b4d9c4dbf55d@mail.gmail.com"
type="cite">
<pre wrap="">Hi Gabriel,
I'm not sure where you get that conversion value from - the correct
value would be 0.05, as a twip is 1/20th of a pixel:
<a class="moz-txt-link-freetext" href="http://www.half-serious.com/swf/format/basic-types/index.html#coordinates">http://www.half-serious.com/swf/format/basic-types/index.html#coordinates</a>
cheers,
till
On Thu, Nov 6, 2008 at 07:28, gabriel <a class="moz-txt-link-rfc2396E" href="mailto:gbelvedere@gmail.com"><gbelvedere@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Alex,
</pre>
<blockquote type="cite">
<pre wrap="">Well, I don't know where your numbers are coming from, because they are
wrong. I just took your code and put it into Flash and got this:
</pre>
</blockquote>
<blockquote type="cite">
<pre wrap="">If you get some graph paper and draw out the co-ordinates you are giving
Flash, you will see that what you are telling it to do is exactly what it is
doing...
</pre>
</blockquote>
<pre wrap="">I get this values from swfmill in this form:
<ShapeSetup x="4560" y="3720" fillStyle1="1"/>
<LineTo x="-1760" y="0"/>
<LineTo x="0" y="-1760"/>
<LineTo x="1760" y="0"/>
<LineTo x="821" y="821"/>
<LineTo x="-821" y="939"/>
<ShapeSetup/>
those numbers are twips, right?
you can see the attachment for the complete xml
having x which is each number from the previous xml, and 0.06666666 the
pixel conversion value, if I do:
x * 0.06666666 = my_number_inPixels. Right?
So, if I do:
canvas.lineTo(myCalculatedX, myCalculatedY);
I should get the same results swfmill gets when it does it compile stuff, or
am I wrong? what am I missing?
thanks again!
_______________________________________________
swfmill mailing list
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
swfmill mailing list
<a class="moz-txt-link-abbreviated" href="mailto:swfmill@osflash.org">swfmill@osflash.org</a>
<a class="moz-txt-link-freetext" href="http://osflash.org/mailman/listinfo/swfmill_osflash.org">http://osflash.org/mailman/listinfo/swfmill_osflash.org</a>
</pre>
</blockquote>
</body>
</html>