Here is a wonderful on-line interactive tutorial for the AffineTransform http://www.glyphic.com/transform/plugin/1intro.html
As an aside: I find the AffineTransform useful and 'easy' to use for doing 'easy' things. However, with concatenation, preconcatenation and the lack of any way to extract from the transform the exact angle of rotation, etc., it quickly becomes very tricky trying to combine rotations, scalings, shears, etc in a predictable way. Ted Hill -----Original Message----- From: Discussion list for Java 2D API [mailto:[EMAIL PROTECTED] On Behalf Of Danilo Costa Sent: Thursday, September 30, 2004 3:05 PM To: [EMAIL PROTECTED] Subject: [JAVA2D] Transforms - Tutorial Hi, I'm new to java2d, and I was wondering if exists some good tutorial for it! I wanna lern things like apply transforms in some elements in my canvas. For example: rotate this rectangle r1, re scale that ellipse, but not everything in paint method of my canvas. The way to do this is something like : g2d.rotate(x); g2d.draw(r1); g2d.rotate(-x); ..... ? It make sense? Regards Danilo -- "...YOU CANNOT KNOW THE MEANING OF YOUR LIFE UNTIL YOU ARE CONNECTED WITH THE POWER THAT CREATED YOU..." Shri Mataji Nirmala Devi ======================================================================== === 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". =========================================================================== 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".
