retrieve image axis range
Fri, 03/16/2012 - 03:21 am
I'm on a function that would allow me to zoom in or out an image using the mouse wheel.
I use WMWinHookStruc and s.mouseLoc to get the mouse position on the image (ideally the pixel under the mouse should stay more or less where it is) and then s.wheelDy to handle zooming. This could be done by changing the displayed axis range using SetAxis.
What I can't figure out, is how to retrieve the present axis range. It's probably something simple, but I just couldn't find it!