Widget motion event in data coordinates? [message #402] |
Thu, 27 August 1992 13:04 |
sullivan
Messages: 2 Registered: August 1992
|
Junior Member |
|
|
I want to print out the lat-lon coordinates of the mouse moving
within a draw widget. The event handler sends the coordinates in
device coordinates. How do I convert device coordinates to data
(lat-lon) coordinates? I use the cursor procedure but it slows the
program down.
Thanks, dan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
Dan Sullivan # Laboratory for Terrestrial Physics (STX)
# Code 920.2
sullivan@gorgo.gsfc.nasa.gov # NASA-Goddard Space Flight Center
# Greenbelt, MD 20771
# voice: (301) 286-2484
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|
|