Yan,<br><br>I&#39;d like to see what you built.&nbsp; Will you share some code with us?<br><br>Chris<br><br><div class="gmail_quote">On Sun, Jun 1, 2008 at 10:45 AM, Yan Laporte &lt;<a href="mailto:spamlessyan@gmail.com">spamlessyan@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I finally got around and implemented this, it wasn&#39;t difficult at all.<br>
Right now its crude and closely follows what is available in the<br>
javascript canvas itself, it&#39;s pen based and could most likely be<br>
improved. It does allow to use few useful existing squeak classes such<br>
as Point, Rectangle, Path (subclasses don&#39;t work tough) and Color.<br>
<br>
Its useful for a few things such as moving image composition to the<br>
client side, doing your own special web charts in smalltalk &nbsp;etc. etc.<br>
<br>
&gt;&gt; Now, what I meant by classes to make this easier would be to allow<br>
<div class="Ih2E3d">&gt;&gt; something along the lines of:<br>
&gt;&gt; |myCanvas|<br>
&gt;&gt; ...<br>
&gt;&gt; myCanvas:=html canvas width:100;height:10.<br>
&gt;&gt; (DrawingContext on:myCanvas)<br>
&gt;&gt; &nbsp; &nbsp; fillStyle:ColorBlue;<br>
&gt;&gt; &nbsp; &nbsp; fillRect:(10@10 extent:40@40).<br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>