Important: The information in this document is obsolete and should not be used for new development.
Calculating Black-and-White FillsQuickDraw provides the
CalcMaskprocedures to help you determine the results of filling operations on portions of bitmaps. (Procedures for determining filling operations on pixel maps--namely,
CalcCMask--are described in the chapter "Color QuickDraw.")
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 the
CopyMaskprocedure, both of which are described in "Copying Images" beginning on page 3-107.