We can 'extract' the scaling from the AffineTransform as follows:

extractedScaleX = sqrt(sx^2 + shx^2);  // sx == m00, shx == m01

Does anyone know of an algorithm that will allow us to extract the rotation
from the AffineTransform. (For my purposes, it is safe to assume that the
AffineTransform is a composite of scales, translates, and rotates. That is,
no independent shear has been applied).

Thank you,

Ted Hill

===========================================================================
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".

Reply via email to