Title: Message
Is there some documentation/tutorial etc. that discusses the fact that the AffineTransform attached to the Graphics param of a Swing component's paintComponent(Graphics g) will not always be the identity transform?
 
For example, if my JPanel is in a container with another component to its left which is 150 pixels wide, this is the value of the AffineTransform that gets passed in. 
 

[[1.0, 0.0, 150.0], [0.0, 1.0, 0.0]]

I would have expected the identity transform to always be passed in, but its not.

Any information on what is going on would be appreciated.

Thanks,

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