Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!caen!uflorida!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: Large Offscreen Drawing - help please Message-ID: <1990Nov20.180305.6813@eng.umd.edu> Date: 20 Nov 90 18:03:05 GMT References: <11722@hubcap.clemson.edu> <27010.2748125d@kuhub.cc.ukans.edu> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 21 In article <27010.2748125d@kuhub.cc.ukans.edu> mlab2@kuhub.cc.ukans.edu writes: >I'll second that problem. >I've noticed that the largest size I've been able to attain is 512x342. Sound >familiar? It's the size of my Plus's screen. >So, in creating the port, it occurred to me maybe I need to allocate a size >larger that GrafPort. So, when I created the port, I added some large number >to the size. No go. >Perhaps the port size needs to be told it's larger. A call to PortSize was a >no go as well. >Clipping rect perhaps? Expanded that. No. >What are we missing? VisRgn? Bingo. VisRgn is honored for offscreen ports, contrary to IMI, so when you create a port, after the normal port creation calls: SetRectRgn(p->visRgn, p->portRect); -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu .sig under construction, like the rest of this campus.