11-28-2009, 06:31 AM
I tried out this code you guys posted but it does not seem to work. My assumption is that Zoom to Point keeps the mouse point in the same location so you can keep zooming into the same point without having to translate.
This above example seems to be translating the mouse point to a different location (I guess to the center) which is not the expected behavior.
So in this example, if I start zooming into the top of number 1, I would expect that point to remain the same (applying the scale zoom and necessary translate transformations). Is that possible?
This above example seems to be translating the mouse point to a different location (I guess to the center) which is not the expected behavior.
So in this example, if I start zooming into the top of number 1, I would expect that point to remain the same (applying the scale zoom and necessary translate transformations). Is that possible?

