I have transformation matrix properties (a,b,c,d). How to calculate scaleX, scaleY, scewX, scewY and rotation angle from those values?
When only one type of transformation is applied, I can figure out that:
scaleX = a
scaleY = d
scewX = c
scewY = b
rotation = arccos(a) or -arcsin(c)
But when multiple transformations are applied at once I don't know how to calculate those values.
I need to do this outside of flash so I can't use any flash helper methods.
Thanks.