Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!unixhub!pavel From: pavel@pixel.SLAC.Stanford.EDU (Tom Pavel) Newsgroups: comp.windows.interviews Subject: Help with off-screen drawing Message-ID: Date: 12 Jun 91 00:15:01 GMT Sender: news@unixhub.SLAC.Stanford.EDU Distribution: comp Organization: Stanford Linear Accelerator Center Lines: 23 Nntp-Posting-Host: pixel.slac.stanford.edu I'm working with InterViews 2.6 (while waiting for G++ and IV3.0 to meet one another...), and I was wondering if anyone had experience about off-screen drawing. Although I'm not sure, I suspect that one would see less "flicker" when drawing a complex object (a histogram, in my case) if one could draw off-screen and dump the whole canvas to the screen at once. I suspect that this is done by creating a new (off-screen) Canvas and using the Painter::Copy() function. I tried this a little, but it was producing garbage screen images. I also tried just assigning the new Canvas to Interactor.canvas, and that didn't work either. Has anyone done this before, and could give me a few pointers? Tom Pavel Stanford Linear Accelerator Center pavel@pixel.slac.stanford.edu -- Tom