Functiondojox.gfx.decompose

dojo.require("dojox.gfx.decompose");
defined in dojox/gfx/decompose.js

this function decompose a matrix into four logical components: translation, rotation, scaling, and one more rotation using SVD. The components should be applied in following order:

[translate, rotate(angle2), scale, rotate(angle1)]

Usage

function (/*dojox.gfx.matrix.Matrix2D*/ matrix) (view source)
parametertypedescription
matrixdojox.gfx.matrix.Matrix2Da 2D matrix-like object

a 2D matrix object
fieldtypedescription
.dx 
.dy 
.xx 
.xy 
.yx 
.yy