If only working with translation, scaling, and rotation (no shear), is there
a way to decompose the AffineTransform into translation, scale and rotation?

I allow the user to translate, scale and rotate an image using any
combination of these three operations. All of the state info is held in an
instance of AffineTransform.

What I would like to do is to give the user the ability to restore the
default/initial state of the image for any of the three operations
independently.

For example, suppose the user first scales the image, then rotates the image
and lastly, translates the image.

At this point, how do I let the user maintain the current scale and
translation, but reset the rotation to its original setting?

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