FillArc
FillArc
Fill a wedge of an oval with a specified pattern void FillArc( theRect, startAngle, arcAngle, thePat ); Rect *theRect ; rectangle defining position and size short startAngle ; position where arc begins
short arcAngle ; extent of the arc
FillArc fills all pixels in a wedge-shaped area with a specified pattern. The transfer mode is patCopy, overwriting all bits within the area.
theRect is the address of an 8-byte Rect structure, in local coordinates. It defines the size and position of the oval, of which the arc is a subset.
startAngle specifies the starting position and . . .
arcAngle specifies the distance along the arc to be drawn. See FrameArc for a description of Quickdraw "rectangular degrees" and related
information and examples.
thePat is the address of an 8-byte Pattern structure. It may be one of the global patterns (black, white, gray, ltGray, or dkGray); a pattern read from a resource (GetPattern); or a pattern created by the application. See PenPat for examples of obtaining and creating a pattern.
Notes: The pattern overwrites the interior of the wedge, including the output of
any previously- executed "frame" operation.
The pen position is not changed by this function. The GrafPort's pen patter, pen mode, and background pattern are ignored.
As with all Quickdraw drawing, the output is clipped to the intersection of
the current GrafPort's bitMap boundary rectangle, the port rectangle, clipping region, and visible region.