🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11604

Re: ClipRect help wanted

#11604
From: Yen Yuanchi Hsieh
Date: Mon, 27 Feb 1989 18:47
19 lines
1124 bytes
>Finally, at cleanup time:
>
>	DisposeRegion(region);
>	InstallClipRegion(window->RPort->Layer, (struct Region *) NULL);

**	Please, don't DisposeRegion BEFORE it's been removed from it's
	Layer, that's asking for trouble.

>	CloseLibrary(LayersBase);
>
>-scott

	Remember that clipping=slow graphics rendering speeds.  I have found
it useful to clip on graphic demand, that way Intuition runs at normal
non-snail speeds when I'm not drawing Icons.  Remember to trap and handle
window-resizing if you're going to keep a static clipping rectangle hanging
around.

David Navas, hiding at c60c-1ea@WEB.Berkeley.Edu
Technical Details
Message-ID: <20945@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!web-1d.berkeley.edu!c60c-1ea
References: <5379@abo.fi> <911@applix.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!agate!web-1d.berkeley.edu!c60c-1ea
From: c60c-1ea@web-1d.berkeley.edu (Yen Yuanchi Hsieh)
Newsgroups: comp.sys.amiga.tech
Subject: Re: ClipRect help wanted
Summary: Aack!
Keywords: no, no, try this
Message-ID: <20945@agate.BERKELEY.EDU>
Date: 27 Feb 89 18:47:54 GMT
References: <5379@abo.fi> <911@applix.UUCP>
Sender: usenet@agate.BERKELEY.EDU
Organization: University of California, Berkeley
Lines: 19