Keeping an image within an enclosed area
Posted: Tue Dec 23, 2003 9:36 pm
Most programming languages have a "gadget" to keep an image within a limited area of a window (i.e. "picturebox" in Visual Basic, or "canvas" in rapidq) so that if an image doesn't fit inside the defined area the part that doesn't fit is not displayed.
I can't figure out how to do this is Purebasic and it's image and ImageGadget commands; if I load a large picture it always covers the whole window and the gadgets inside it.
Anyone knows how to define such a "drawing-area" ?
I can't figure out how to do this is Purebasic and it's image and ImageGadget commands; if I load a large picture it always covers the whole window and the gadgets inside it.
Anyone knows how to define such a "drawing-area" ?