Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 4 - Color QuickDraw / Color QuickDraw Reference
Color QuickDraw Routines / Drawing With Color QuickDraw Colors


FillCRect

Use the FillCRect procedure to fill a rectangle with a pixel pattern.

PROCEDURE FillCRect (r: Rect; ppat: PixPatHandle);
r
The rectangle to be filled.
ppat
A handle to the PixPat record for the pixel pattern to be used for the fill.
DESCRIPTION
Using the patCopy pattern mode, the FillCRect procedure fills the rectangle you specify in the r parameter with the pixel pattern defined by a PixPat record, the handle for which you pass in the ppat parameter. This procedure ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.

SPECIAL CONSIDERATIONS
The FillCRect procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996