Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: AreaFill problems Message-ID: <20283@cbmvax.commodore.com> Date: 2 Apr 91 16:54:57 GMT References: <1991Apr1.231347.16242@milton.u.washington.edu> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Distribution: na Organization: Commodore, West Chester, PA Lines: 18 In article <1991Apr1.231347.16242@milton.u.washington.edu> dsheythe@milton.u.washington.edu (Donald Sheythe) writes: > >I'm having problems with the rom AreaFill routines. When I try to fill >a polygon that has pieces that go off of the screen, my program crashes >the machine. If I keep all of the points on the screen, it doesn't crash. > >My question is this: Can the AreaFill routines be used for a polygon that goes >off of the screen or am I doing something wrong? I believe that you have to allocate a TmpRas that is as big as the entire object to be filled. Thus, if the object goes off the screen, the TmpRas must be bigger than the screen (but only one bit-plane...) I think that the object is clipped to the window after it is filled. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky