Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Wide offscreen bitmap won't receive draw commands Message-ID: <30755@ucbvax.BERKELEY.EDU> Date: 19 Aug 89 08:02:26 GMT References: <22321@andante.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 18 In article <22321@andante.UUCP> bwb@andante.UUCP (Bruce Ballard) writes: >What am I missing? If you read QuickDraw in Inside Mac, vol. 1, it will tell you that when you create a new grafport, the clipRgn gets initialized to wide open, and the visRgn gets initialized to screenBits.bounds. Big off-screen grafports should probably do a: ClipRect(&thePort->portRect); RectRgn(thePort->visRgn, &thePort->portRect); before drawing on it. --- David Phillip Oster 7 line signature follows Keith Sproul, head of microcomputer support at Union Carbide, NJ, complained about the poorly digitized fellatio on an IBM porno program. "Mac is better on everything, and this is no execption." -- "Computer Porn at the Office" by Reese Erlich, _This_World_, S.F. Chronicle, p.8, Aug 13, 1989 Arpa: oster@dewey.soe.berkeley.edu Uucp: {uwvax,decvax}!ucbvax!oster%dewey.soe.berkeley.edu