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

[SVGMobile12] SVGMatrix

From: T Rowley <tor@cs.brown.edu>
Date: Wed, 25 Jan 2006 11:41:09 -0600
Message-ID: <43D7B835.4040104@cs.brown.edu>
To: www-svg@w3.org

The 1.2T uDOM interface for SVGMatrix seems pointlessly different from 
the one in the 1.1 DOM.  Introducing needless incompatibility between 
1.1 content and 1.2t seems like an exercise that will just frustrate 
content developers.

One of these changes is an actual API modification - getComponent(...) 
versus attributes for the matrix entries.  While there is a small code 
reduction for the change, the tradeoff doesn't seem worth it.

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.

A number of other utility methods - scaleNonUniform, rotateFromVector, 
flip[XY], and skew[XY] were omitted.  These take quite small amounts of 
code to implement, so it seems like they should have left to increase 
compatibility between 1.1 content and 1.2t.
Received on Wednesday, 25 January 2006 17:40:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:06 UTC