Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!ncar!hsdndev!husc6!endor!siegel From: siegel@endor.uucp (Rich Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: Problem: QuickDraw doesn't (offscreen drawing) Message-ID: <5348@husc6.harvard.edu> Date: 16 Jan 91 01:38:44 GMT References: <27924.279351b1@kuhub.cc.ukans.edu> Sender: news@husc6.harvard.edu Reply-To: siegel@endor.UUCP (Rich Siegel) Organization: Symantec Language Products Group Lines: 21 In article <27924.279351b1@kuhub.cc.ukans.edu> mlab2@kuhub.cc.ukans.edu writes: >I have a number of offscreen bitmaps going in LSP. >Now for something really strange... > >One of my offscreen maps is called offVirginPort. So, calling >SetPort(offVirginPort); and then framing and filling rectangles, should give me Is OffVirginPort a GrafPtr or a GrafPort? If it's a GrafPtr, is it actually the address of a GrafPort, or is it just a variable you declared? Also, for the drawing to happen offscreen, you'll need to allocate an offscreen bitmap of the size you want, and SetPortBits to it. (I usually do this with an existing port like a window, but you may not have that luxury.) R. Rich Siegel Symantec Languages Group Internet: siegel@endor.harvard.edu "...she's dressed in yellow, she says 'Hello, come sit next to me, you fine fellow..."