[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flooding region w/ paint -- how?
- To: info-mcl@cambridge.apple.com
- Subject: Re: flooding region w/ paint -- how?
- From: lynch@ils.nwu.edu
- Date: Tue, 5 Jan 93 17:22:59 CST
>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