[JAVA2D] Graphics context and AffineTransform
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
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
Any information on what is going on would be appreciated.
To unsubscribe, send email to email@example.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
firstname.lastname@example.org and include in the body of the message "help".