On Fri, Mar 22, 2013 at 2:07 PM, Ralf Werner <[email protected]> wrote:

> I reviewed youre changes in the repository. You dont use the flag in the
> code.

ouch! you're right -- I had it testing with and without the flag, but
then carelessly refactored a bit -- and had changed the GUImodes to
use the new way, so didn't notice.

Thanks for the patch!

I just commited the change -- it should be right now.

>> I do notice that the image still drifts a bit as you zoom in and out
>> -- maybe some error introduced by converting back and forth between
>> world and pixel coordinates?
>
> Im saw this error to. But im not searched for it further. Later i will
> search for it.

I suspect it may be roudning - from floating point world to integer
pixel and back again, could introduce a 1 pixel change each zoom step.
Maybe we could re-factor to compute the new world coordinate center
point, and set that, rather than setting the scale and then using
MoveImage() to do the move.

-Chris




-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to