An easy way to determine the rotation effects (or other effects) of
a given affine transformation is to apply it to unit vectors and
see what happens to them. Note that using only one unit vector and
attempting to draw too many conclusions about the result can lead to
mistaken conclusions, but can work for the "common cases".
If you transform [1,0] and then use atan2 you can see what the ending
angle is. That will "most likely" give you the rotation angle of the
transform. But an example of a mistake you might make would be if the
result were [-1,0] then you might think it was a 180 degree rotation
when in fact it could have been a -1 scale along the X axis (i.e. an
"axis flip"). The getType() method can help to figure out if an axis
flip is in effect.
...jim
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".