spamlessyan at gmail.com
Mon Jun 2 00:40:43 UTC 2008
Sure, what's the usual way of doing so?
2008/6/1 Chris Dawson <xrdawson at gmail.com>:
> I'd like to see what you built. Will you share some code with us?
> On Sun, Jun 1, 2008 at 10:45 AM, Yan Laporte <spamlessyan at gmail.com> wrote:
>> I finally got around and implemented this, it wasn't difficult at all.
>> Right now its crude and closely follows what is available in the
>> improved. It does allow to use few useful existing squeak classes such
>> as Point, Rectangle, Path (subclasses don't work tough) and Color.
>> Its useful for a few things such as moving image composition to the
>> client side, doing your own special web charts in smalltalk etc. etc.
>> >> Now, what I meant by classes to make this easier would be to allow
>> >> something along the lines of:
>> >> |myCanvas|
>> >> ...
>> >> myCanvas:=html canvas width:100;height:10.
>> >> (DrawingContext on:myCanvas)
>> >> fillStyle:ColorBlue;
>> >> fillRect:(10 at 10 extent:40 at 40).
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside