On Wed, Jun 4, 2014 at 2:20 PM, Milan Sreckovic <[email protected]>
wrote:
> In general, is “this is how it worked with SVGMatrix” one of the design
> principles?
>
> I was hoping this would be the time matrix rotate() method goes to
> radians, like the canvas rotate, and unlike SVGMatrix version that takes
> degrees...
>
"degrees" is easier to understand for authors.
With the new DOMMatrix constructor, you can specify radians:
var m = new DOMMatrix('rotate(1.75rad)' ;
Not specifying the unit will make it default to degrees (like angles in SVG)
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform