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


Use the FillCRoundRect procedure to fill a rounded rectangle with a pixel pattern.

PROCEDURE FillCRoundRect (r: Rect; ovalWidth,ovalHeight: Integer; 
                          ppat: PixPatHandle); 
The rectangle that defines the rounded rectangle's boundaries.
The width of the oval defining the rounded corner.

The height of the oval defining the rounded corner.
A handle to the PixPat record for the pixel pattern to be used for the fill.
Using the patCopy pattern mode, the FillCRoundRect procedure fills the rectangle you specify in the r parameter with the pixel pattern defined in a PixPat record, the handle for which you pass in the ppat parameter. Use the ovalWidth and ovalHeight parameters to specify the diameters of curvature for the corners. This procedure ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.

The FillCRoundRect 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