Code for very fast zooming and moving of an image


2006-11-25 02:57:04 PM
cppbuilder2
Hello,
once upon a time we needed for a MFC-Project Code to zoom and pan an image
very fast and draw Ellipses and Rectangles with subpixel accuracy - even
at very high zooming levels.
Now I ported the code to BDS2006: ku.hn/CDCZ.zip
Left Mousebutton moves the image and the Mousewheel does zomm it.
Whats missing:
- scrollbars
It is also possible to draw something with subpixel accuracy (see for
example EllipseZ()).
Perhaps someone finds it usefull.
Robert