Decompose a 2D matrix into translation, scaling, and rotation components.
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)]
Parameter | Type | Description |
---|---|---|
matrix | dojox/gfx/matrix.Matrix2D | a 2D matrix-like object |
See the dojox/gfx/decompose reference documentation for more information.