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


FillCArc

Use the FillCArc procedure to fill a wedge with a pixel pattern.

PROCEDURE FillCArc (r: Rect; startAngle,arcAngle: Integer;
                    ppat: PixPatHandle); 
r
The rectangle that defines the oval's boundaries.
startAngle

The angle indicating the start of the arc.
arcAngle
The angle indicating the arc's extent.
ppat
A handle to the PixPat record for the pixel pattern to be used for the fill.
DESCRIPTION
Using the patCopy pattern mode and the pixel pattern defined in a PixPat record (the handle for which you pass in the ppat parameter), the FillCArc procedure fills a wedge of the oval bounded by the rectangle that you specify in the r parameter. As in the FrameArc procedure, described in the chapter "QuickDraw Drawing" in this book, use the startAngle and arcAngle parameters to define the arc of the wedge. This procedure ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.

SPECIAL CONSIDERATIONS
The FillCArc 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