PDA

View Full Version : ctlviewport caching possible? Access to its imagebuffer?



sami
12-16-2012, 08:22 AM
Just a quickie before you run off to holiday festivities: :beerchug:

Is it possible to access a ctlviewport's image buffer/canvas that you draw on? i.e. if I draw a bunch of stuff on it, can I access that full image buffer and use it to redraw it if I've changed something? I know about drawerase, but that won't help as I'm trying to cache significant drawing into the canvas and blit it back in one go -- essentially caching and redrawing it. If I could store the drawn pixels into an Image Object Agent then I could draw that back as a Glyph, but how do you do that? Is that even possible?

thanks! (please answer if you can)