Home » Developing U++ » Bazaar » Image Contol with Zoom/pan/scrollbar capabilities
|Image Contol with Zoom/pan/scrollbar capabilities [message #11880]
||Sat, 29 September 2007 11:35
Registered: September 2007
Here is my first attempt to make a Zoom Image Control in Upp. It works nice, but needs some reshaping in design, some additional controls and performance tweaking.|
4.Cursor Position indicator (not complete)
6.Right control (Fit all, Actual size)
1. Some class redesign.
2. Rectangle pick capability.
4. Zoom performance tweaking.
5. Maybe define modes (like zoom window)
6. Change some things in zoom algorithm, so that it sticks to "double" coordinates and not "int" (Try to zoom in very much to see what I mean)
I would like suggestions in the rescaling (that is used in zoom) to make the algorithm faster. - I was thinking using some cache on ImageRaster, but couldn't make it work. I will think of ImageMaker.
P.S. I am using upp for less than 1 Week, don't shoot the pianist please.
Unzip the attachment in MyApps folder.
[Updated on: Sat, 29 September 2007 12:38]
Report message to a moderator
Current Time: Mon Jul 06 21:28:03 CEST 2020
Total time taken to generate the page: 0.00934 seconds