Important: The information in this document is obsolete and should not be used for new development.
FillCArc
Use theFillCArcprocedure 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
PixPatrecord for the pixel pattern to be used for the fill.DESCRIPTION
Using thepatCopypattern mode and the pixel pattern defined in aPixPatrecord (the handle for which you pass in theppatparameter), theFillCArcprocedure fills a wedge of the oval bounded by the rectangle that you specify in therparameter. As in theFrameArcprocedure, described in the chapter "QuickDraw Drawing" in this book, use thestartAngleandarcAngleparameters to define the arc of the wedge. This procedure ignores thepnPat,pnMode, andbkPatfields of the current graphics port and leaves the pen location unchanged.SPECIAL CONSIDERATIONS
TheFillCArcprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.