A Photo Viewer with Zooming and Hand Tool features
February 15, 2009While working on a Photo Viewer module, I have decided to add in zooming and hand tool (grab and move) features. Check out the demo here.
2 Comments »
Leave a comment
This blog is powered by WordPress with GimpStyle Theme design by Horacio Bella.






April 24, 2009 at 07:04 am
Hi! nice work, can you explain the steps to make it? I need to grab an image in a canvas to move around the canvas, similar to your work. Thanks!
April 24, 2009 at 10:04 am
@Sun – The working principle is the same as one of my post on “dragging a window” (see here). The main difference is that the image being dragged is restricted within a canvas acting like a window. In addition to that is just changing the cursor for various mouse events on the image. Hope that helps : )