Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga
Subject: Re: Layers Lib./Clipping
Message-ID: <35435@sun.uucp>
Date: Thu, 3-Dec-87 12:40:11 EST
Article-I.D.: sun.35435
Posted: Thu Dec  3 12:40:11 1987
Date-Received: Mon, 7-Dec-87 05:21:17 EST
References: <8712010903.AA22789@cory.Berkeley.EDU> <1897@cadovax.UUCP>
Sender: news@sun.uucp
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Organization: Sun Microsystems, Mountain View
Lines: 20

In article <1897@cadovax.UUCP> keithd@cadovax.UUCP (Keith Doyle) writes:
> Somehow I don't think this is competely true [that Layers clip] .  
> I've opened a full screen BORDERLESS | BACKDROP window and used 
> ellipse/circle to render into it, and later found the parts of circles 
> that had extended off screen sitting in other buffers.  Not sure just 
> where clipping is done and isn't, but it does lead me to believe it's 
> not automatic on all OpenWindow() windows.

On BIX this was reported as a bug with the AreaEllipse routine. Your TmpRas
can get strange stuff in it, and the ellipsi don't clip to the window. I
am not sure if Dale signed up to fix it or not, hopefully when he 
gets a chance he will comment on this as well. I wrote a routine that 
created an ellipse by calculating it with Bresenhams (sp?) method, converted
it to line segments and then used AreaMove/AreaDraw to fill it in. That
seems to work correctly.


--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.