[comp.windows.interviews] Help with off-screen drawing

pavel@pixel.SLAC.Stanford.EDU (Tom Pavel) (06/12/91)

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