Login  Register

Re: Coordinates from MouseEvent / Magnification problem

Posted by Thomas Radtke on Mar 03, 2006; 8:20am
URL: http://imagej.273.s1.nabble.com/Coordinates-from-MouseEvent-Magnification-problem-tp3703521p3703523.html

Hi Bill,

William O'Connell schrieb:

>          canvas = imp.getWindow().getCanvas();
>  
>
[...]

>          double mag = canvas.getMagnification();
>
That was where my code failed. In the meantime, Wayne sent me an email
off list with the same tip. So, thanks to both of you, you're great. Of
course, it works perfect now:).

Thomas