[SVGMobile12] SVGMatrix

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