Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!cditi!josh From: josh@cditi.UUCP (Josh Muskovitz) Newsgroups: comp.graphics Subject: Re: Need floodfill algorithm Summary: Need more info Message-ID: <496@cditi.UUCP> Date: 22 Aug 89 13:48:58 GMT References: <15334@umn-cs.CS.UMN.EDU> Distribution: na Organization: CDI Technologies Inc., Grand Rapids, MI Lines: 29 In article <15334@umn-cs.CS.UMN.EDU>, kemp@umn-cs.CS.UMN.EDU (Stuart R. Kemp) writes: > I need an algorithm that will implement a floodfill, given > a boundary color, and any interior point. The algorithm > must work for ANY possible region. In the case where the region is: xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxx..........xxxxxxx xxxxxx.xxxxxxxxxx.xxxxxx xxxxxx.xxxxxxxxxx.xxxxxx xxxxxx.xxxxxxxxxx.xxxxxx xxxxxxx..........xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx would the region bleed out to the borders? Just curious... -- josh __________________________ _________________________________________________ / _ / / / (") The Killer Eggplant / "Those who tell lies cannot be pure at heart, / (_) josh@uunet!cditi / and only the pure at heart can make good soup."/ __________________________/ - Ludwig Van Beethoven / _______________________________________________________________________/ / / / Place standard disclaimer here. / / _____________________________________________________________________/