Zooming in/out

6 views
Skip to first unread message

Tristan

unread,
Oct 25, 2011, 12:45:14 PM10/25/11
to xaos-devel

Hi Sirs/Ma'ms,

Newbie here. I've been trying to make zoom in/out happen at the center
of the window (mousex=uih->image->width/height/2, mousey=uih->image-
>height/2), but there seems to be a momentum that zooms back at some
original coordinate. This coordinate can only be reset with a left-
mouse-click. Where can I set the original coordinate so that the
momentum will also zoom at the center?

Would appreciate any help very much.

Thanks,
Tristan

Tristan

unread,
Oct 25, 2011, 12:48:34 PM10/25/11
to xaos-devel
Reply all
Reply to author
Forward
0 new messages