All,

I'm trying to work out a rubber band selection mechanism, and as part of
that I store off coordinates from the mouse events.  As far as I
understand, these coordinates are in device space.

Later, I use those coordinates to draw a selection rectangle.  I need to
provide coordinates in user space for drawing the selection rectangle.
I've tried using inverseTranform to convert the device coordinates back
into user coordinates, but apparently inverseTransform is not doing what I
expected.

What is the recommended way to convert device coordinates back into user
coordinates?

Thanks,
Jay Shaffstall


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 2D Home Page: http://java.sun.com/products/java-media/2D/

Reply via email to