Jens Grunert wrote:
> Ian,
>
> thanks for your answer, maybe you could give me some more precise hints on
> howto solve the problem in a better and more elegant way.
>
> I use the Fl_Scroll widget to scroll a resizable area. For the resizing I
> implemented some rudimentary zoom-in/out functionality which can make the
> whole area very big!
>
> Could you provide me some sample code how you implemented this functionality
> (zoom + scrolling) using a virtual coordinating system?
Just thought I'd chime in; be sure to take advantage of the fact
that the shorts are signed, so if your images are in the range 32k ~
64k,
take advantage of the the negative range by positioning the upper/left
coordinate into the negative x/y range.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk