No subject


Sat Apr 15 14:32:53 EDT 2006


<br><br>I think Eugene's idea was that if you wanted to do a lot of matrix<br>manipulation, you could do that as a separate step and then set or apply<br>the transform at the end of the pipeline rather than making the shape do
<br>it. The idea being that if you didn't need complicated transforms, that<br>you wouldn't need to include the code.<br><br>In that vein, some of the utility methods to create shapes (polyline,<br>polygon, etc.) might even go in their own package for finer grained
<br>control over download size.<br><br>At any rate, we're going to need the matrix code you talk about, it's<br>just a question of where to put it. dojo.gfx.matrix perhaps?<br><br>There's also the issue of implementing matrices with VML, which doesn't
<br>support them directly. It does, however, have the idea of a &quot;formula&quot;<br>node that can be contained by a shape and procedurally change the shapes<br>vertices. I think. I'm hoping Ioannis can dig into that, unless there's
<br>somebody else reading this who already has.<br><br>Gavin<br><br>Tom Trenka wrote:<br><br>&gt; Gavin,<br>&gt;<br>&gt; Looking good so far.&nbsp;&nbsp;The only thing I think I'd like to<br>&gt; change/address is the way we're doing matrix transformations...under
<br>&gt; the current codebase, you apply the matrix immediately.&nbsp;&nbsp;SVG supports<br>&gt; (in almost everything but it's very important with transformations)<br>&gt; what amounts to a history of transformation matrices; basically it
<br>&gt; allows you to push a set of matrices, in order, into a queue and then<br>&gt; apply them, in order, all at once.<br>&gt;<br>&gt; I would like to see if we can do this with the drawing API as well.<br>&gt;<br>&gt; Also, I notice that the current matrix transforms are based on 3 x 2
<br>&gt; matrices; IIRC 3 x 3 matrices are really required for proper<br>&gt; transformations (I have to go look again, it's been a while).&nbsp;&nbsp;If it<br>&gt; helps at all, I sent the the f(m) Drawing code specifically for the
<br>&gt; matrix transformations (at the beginning of this discussion), and I'd<br>&gt; be happy to add that to this API if you want.<br>&gt;<br>&gt; trt<br>&gt;<br>&gt; On 7/4/06, Gavin Doughtie &lt;<a href="mailto:gavin at dfmm.org">
gavin at dfmm.org</a>&gt; wrote:<br>&gt;<br>&gt;&gt; <a href="http://xdraw.org/dojo_vml_svg.zip">http://xdraw.org/dojo_vml_svg.zip</a><br>&gt;&gt;<br>&gt;&gt; Copy src/gfx to dojo/src, tests/gfx to dojo/tests, then run<br>&gt;&gt; test_gfx.html.
<br>&gt;&gt;<br>&gt;&gt; You should see something similar in both IE and Firefox, but there's<br>&gt;&gt; still a lot of work to do in the VML/IE side (particularly using vml<br>&gt;&gt; formulas for the matrix transforms and making the graphics, well,
<br>&gt;&gt; unified...).<br>&gt;&gt;<br>&gt;&gt; Just re-sending the URL since the zip file was slightly too large for<br>&gt;&gt; the mailing list.<br>&gt;&gt; _______________________________________________<br>&gt;&gt; dojo-contributors mailing list
<br>&gt;&gt; <a href="mailto:dojo-contributors at dojotoolkit.org">dojo-contributors at dojotoolkit.org</a><br>&gt;&gt; <a href="http://dojotoolkit.org/mailman/listinfo/dojo-contributors">http://dojotoolkit.org/mailman/listinfo/dojo-contributors
</a><br>&gt;&gt;<br>&gt; _______________________________________________<br>&gt; dojo-contributors mailing list<br>&gt; <a href="mailto:dojo-contributors at dojotoolkit.org">dojo-contributors at dojotoolkit.org</a><br>&gt; <a href="http://dojotoolkit.org/mailman/listinfo/dojo-contributors">
http://dojotoolkit.org/mailman/listinfo/dojo-contributors</a><br><br>_______________________________________________<br>dojo-contributors mailing list<br><a href="mailto:dojo-contributors at dojotoolkit.org">dojo-contributors at dojotoolkit.org
</a><br><a href="http://dojotoolkit.org/mailman/listinfo/dojo-contributors">http://dojotoolkit.org/mailman/listinfo/dojo-contributors</a><br></blockquote></div><br>

------=_Part_20976_21807680.1152029639362--


More information about the dojo-contributors mailing list