🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1458

Help with off-screen drawing

#1458
From: Tom Pavel
Date: Wed, 12 Jun 1991 00:15
23 lines
1285 bytes
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
Technical Details
Message-ID: <PAVEL.91Jun11171501@pixel.SLAC.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!unixhub!pavel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <PAVEL.91Jun11171501@pixel.SLAC.Stanford.EDU>
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