Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!aramis.rutgers.edu!remus.rutgers.edu!clong From: clong@remus.rutgers.edu (Chris Long) Newsgroups: comp.lang.pascal Subject: Re: TP5.5 FloodFill Message-ID: Date: 29 Sep 90 22:03:09 GMT References: <1990Sep29.202750.7797@uwasa.fi> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 16 In article <1990Sep29.202750.7797@uwasa.fi>, Timo Salmi writes: > There is a simple trick to test the fill locig. Replace FloodFill > (temporarily) with PutPixel so that you can ascertain that your fill > seed is properly placed. The seeds are properly placed. Is it the case that FloodFill only fills over the background? If so, no mention of this is made in the reference guide. Incidentally, the object of the short bit of code posted is to highlight (fill) certain locations on the grid and to then restore them (fill with black). Is there perhaps a better way of doing this, i.e. one that works? -Chris