Path: utzoo!yunexus!geac!geaclib!rae From: rae@geaclib.UUCP (Reid Ellis) Newsgroups: comp.sys.mac.programmer Subject: Re: Need help on fill routine Message-ID: <3647@geaclib.UUCP> Date: 6 Feb 89 10:49:09 GMT Article-I.D.: geaclib.3647 References: <1173@dogie.edu> Reply-To: rae@geaclib.UUCP (Reid Ellis) Organization: T'nir Software Lines: 23 yahnke@vms.macc.wisc.edu (Ross Yahnke, MACC) writes: |I need to do a pixel by pixel visit of a region for a program I'm |working on. (I don't mean "region" in the quickdraw sense really, more of an |arbitrary bitmap image). | |A fill routine would do, here's a real ez version, and a rare practical |application of recursion: Aren't there calls in Quickdraw to handle this? I seem to recall routines called SeedFill, CalcMask and some others that might help along these lines -- unless they do a 4-neighbour fill and you want an 8-neighbour fill, or vice versa. :-) Reid "That does it! I'm tired of always being compared to Barry!" "Oh, stop being so sensitive, Wally! I wasn't talking about you! God! You'd never catch Barry getting so defensive!" -- Reid Ellis, geaclib!rae@geac.uucp, rae@geaclib.uucp [if you're lucky]