Yan,<br><br>I'd like to see what you built. 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 <<a href="mailto:spamlessyan@gmail.com">spamlessyan@gmail.com</a>> 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't difficult at all.<br>
Right now its crude and closely follows what is available in the<br>
javascript canvas itself, it'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'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 etc. etc.<br>
<br>
>> Now, what I meant by classes to make this easier would be to allow<br>
<div class="Ih2E3d">>> something along the lines of:<br>
>> |myCanvas|<br>
>> ...<br>
>> myCanvas:=html canvas width:100;height:10.<br>
>> (DrawingContext on:myCanvas)<br>
>> fillStyle:ColorBlue;<br>
>> 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>