home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ames!olivea!apple!cambridge.apple.com!lynch@ils.nwu.edu
- From: lynch@ils.nwu.edu
- Newsgroups: comp.lang.lisp.mcl
- Subject: Re: flooding region w/ paint -- how?
- Message-ID: <9301052322.AA13804@aristotle.ils.nwu.edu>
- Date: 5 Jan 93 23:22:59 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 20
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
-
- >You know how in MacPaint and similar paint programs you can click on a
- >pixel and fill the surrounding region with paint?
- >
- >I need to do this -- i.e., given a graphics window whose contents I
- >know nothing about, and a pixel, flood the region around that pixel
- >with paint. B/W is ok, tho' color would be useful.
- >
- >I don't suppose there is a primitive quickdraw command for this? :-)
- >Suggestions?
- >
- >Thanks for your kind attention.
-
- I believe the ToolBox routine you want is call SeedFill, or SeedCFill.
-
- When I last attempted to make it work, I failed miserably.
-
- Good luck.
- --
- --
- -- "TANSTAAFL" Rich lynch@ils.nwu.edu
-