W3C home > Mailing lists > Public > www-svg@w3.org > February 2006

Re: [SVGMobile12] SVGMatrix

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 5 Feb 2006 04:30:00 -0800
Message-Id: <EF385AFF-9C48-4F44-A6BA-BB9C30E55A6B@apple.com>
Cc: www-svg@w3.org
To: T Rowley <tor@cs.brown.edu>


On Jan 25, 2006, at 9:41 AM, T Rowley wrote:

> The other changes are just renaming of the multiply, translate,  
> scale, and rotate by capitalization and prefixing with "m".  These  
> definitely should be switched to the 1.1 signatures.

Note that the semantics changed too, they mutate the matrix. In 1.1  
SVGMatrix objects were immutable, so this is a pretty major change.  
Also, when matrix multiplying transforms, you usually want the right  
matrix to be the one updated. In other words, B = A * B is a more  
common operation than A = A * B, so the mutating semantics here are  
not very helpful.

Regards,
Maciej
Received on Sunday, 5 February 2006 12:30:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC