This website requires JavaScript.
Explore
Help
Sign In
m
/
grafX2
Watch
1
Star
0
Fork
0
You've already forked grafX2
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
a725f0035e4a75e659eabc033bfaf7028a96ec9c
grafX2
/
windows.c
Adrien Destugues
a725f0035e
Use an int to compute the zoom to cursor instead of a short for better precision and more security (using a short could lead to overflows on big screens/pictures). However there is still a drift, if you zoom in/out a lot of times without moving the mouse you'll notice that the zoom window moves to the down/right corner of the picture. Might be because of the truncate done on the fixed point calculations, but i'm not sure...
...
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1136 416bcca6-2ee7-4201-b75f-2eb2f807beb1
2009-11-01 21:20:42 +00:00
80 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink