If you're looking for a way on how to implement the math behind the transformations, take a look at the AffineTransform and methods such as shear, rotate and scale. The implementation is direct translations of the usual affine equations [1] to plain Java code.
To create a new AffineTransform, call getMatrix on an existing one, compute the new elements and use the 6-parameter constructor. All of this and more can be seen in the source distribution of your JDK installation (available in the src.zip). [1] http://mathworld.wolfram.com/AffineTransformation.html [Message sent by forum member 'kirillcool' (kirillcool)] http://forums.java.net/jive/thread.jspa?messageID=317519 =========================================================================== 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".
