Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!stanford.edu!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: Source code request Message-ID: <23407@unix.SRI.COM> Date: 19 Apr 91 15:44:13 GMT References: <4c3JO2600WBLE0ZlJU@andrew.cmu.edu> <1608@babcock.cerc.wvu.wvnet.edu> Reply-To: mxmora@unix.sri.com (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 26 In article <1608@babcock.cerc.wvu.wvnet.edu> un020070@vaxa.wvnet.edu writes: > VAR > oldPort : GrafPtr; {saved port} > offScreen : GrafPort; {our offscreen bitmap} > ovalRect : Rect; {used for example drawing} > >the offscreen port and bitmap can be allocated with the following statements: > > GetPort(oldPort); > OpenPort(@offScreen); ^ IS THAT RIGHT? I don't think you need the @ sign here. Or at the other SetPort(@Offscreen); -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@sri.com SRI International | my unix mxmora@unix.sri.com ___________________________________________________________