Hello all.
I've been trying to transform my x,y axes to the middle of my drawing
canvas, and make them scientific as to positive x towards EAST, and positive
y towards NORTH (rather than SOUTH as is in the original user space).
I used the following code, but although the drawings re transformed, somehow
the mouse events are caught at the old user space. For instance I can select
a point only by clicking where it would have been if there was no transform.
AffineTransform at = AffineTransform.getTranslateInstance(width,
height);
g2.transform(at);
g2.scale(1,-1);
Any help w/ this is appreciated.
Hope everyone had a happy halloween...
Tolga Sakman
===========================================================================
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".