[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flooding region w/ paint -- how?



> You know how in MacPaint and similar paint programs you can
> click on a pixel and fill the surrounding region with paint?

as a matter of fact,  there are quickdraw primitives for both
the paint bucket tool,  and the laso tool found in macpaint.
Check the docs for the SeedFill and CalcMask routines,  and their
colour counterparts SeedCFill and CalcCMask.

    -john montbriand