x y .
:
public static function getScaleX(m:Matrix):Number
{
return Math.sqrt(Math.pow(m.a + m.b, 2));
}
public static function getScaleY(m:Matrix):Number
{
return Math.sqrt(Math.pow(m.c + m.d, 2));
}
:
, A B C D , x y . A, B - x ( 1, 0, ), C, D - y ( 0, 1).
, x 2, A, B 2, 0. ( 2 ).
, 90 , A, B 0, 1 ( x y), C, D -1, 0 ( y x).
x - . , , . A, B 0, 1, 1. 90 , 0, 0 A, B : sqrt (a ^ 2 + b ^ 2) = c. , .
, -.