Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!sri-spam!ames!amdahl!nsc!voder!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: How do you create an offscreen bitmap > screen.bounds Message-ID: <1591@apple.UUCP> Date: Mon, 24-Aug-87 12:53:44 EDT Article-I.D.: apple.1591 Posted: Mon Aug 24 12:53:44 1987 Date-Received: Tue, 25-Aug-87 05:50:22 EDT References: <11505@decwrl.DEC.COM> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 22 In article <11505@decwrl.DEC.COM> cassidy@memory.dec.com (SHR1-3/O11..DTN 237-3413) writes: >Can anyone tell me how to draw into an offscreen bit map that is larger >than screen.bounds? The default VisRgn is screen.bounds, and DrawPicture >clips to this region. Any way to change the VisRgn legally? Thanks. If the port is off screen, then there is no reason why you can't change the visRgn yourself. Do something like: RectRgn(port.visRgn, port.PortRect); You should not do this for ports that are on the screen (eg, windows), since maintaining the visRgn is the responsibility of the Window Manager. For offscreen bitmaps, you have to assume this responsibility, since the Window Manager won't help you. -- Larry Rosenstein Object Specialist Apple Computer AppleLink: Rosenstein1 UUCP: {sun, voder, nsc, mtxinu, dual}!apple!lsr CSNET: lsr@Apple.com