Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga Subject: Re: Clipping Message-ID: <42305@sun.uucp> Date: 18 Feb 88 00:32:04 GMT References: <658@sandino.quintus.UUCP> Sender: news@sun.uucp Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 15 Keywords: windows clipping rastport In article <658@sandino.quintus.UUCP> pds@quintus.UUCP (Peter Schachte) writes: >A question for all you Gurus (sorry if this is an old, stale question): >what is the blessed way to clip stuff to the inside of a window? I >don't want to waste the space of a SMART_REFRESH or GIMME_ZERO_ZERO >window, I'm using SIMPLE_REFRESH. Have you tried creating your own rastport structure and then installing a UserClip region into it. (point at the same bit map the window uses). This aliased RastPort should work like a GZZ window but be space efficient since there is only one bitmap hanging around. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you.