W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2006

[whatwg] Canvas 2d methods

From: Stefan Gössner <stefan@goessner.net>
Date: Sun, 02 Jul 2006 22:47:44 +0200
Message-ID: <44A830F0.7080003@goessner.net>

>>as well as more elegantly in my opinion
>>
>>X.a().b().c();
>>    
>>
>
>The latter, IMHO, is semantically bogus. But that's just a matter of 
>opinion, of course.
>  
>
hmm ...

ctx.scale(2,1)
   .rotate(Math.PI/4)
   .translate(4,-6);

illustrates a sequence of manipulations semantically very well, doesn't it?
Received on Sunday, 2 July 2006 13:47:44 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:47 UTC