Important: The information in this document is obsolete and should not be used for new development.
Calculating Black-and-White Fills
QuickDraw provides theSeedFillandCalcMaskprocedures to help you determine the results of filling operations on portions of bitmaps. (Procedures for determining filling operations on pixel maps--namely,SeedCFillandCalcCMask--are described in the chapter "Color QuickDraw.")The
SeedFillprocedure produces a mask showing where bits would be filled from a starting point, like the paint pouring from the MacPaint\xC6 paint-bucket tool. The CalcMaskprocedure produces a mask showing where paint could not flow from any of the outer edges of a rectangle. You can use the resulting masks to transfer portions of bit images from one graphics port to another with theCopyBitsorCopyMaskprocedure, both of which are described in "Copying Images" beginning on page 3-107.
Subtopics