InvertArc
InvertArc
Invert all pixels in a wedge of an oval void InvertArc( theRect, startAngle, arcAngle ); Rect *theRect ; rectangle defining position and size short startAngle ; position where arc begins
short arcAngle ; extent of the arc
InvertArc inverts all pixels enclosed by a wedge of an oval. All black pixels are set to white and vice versa.
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 inverted. See FrameArc for a description of Quickdraw "rectangular degrees" and related
information and examples.
Notes: For "old model" color, the output result of all Invertxxx functions
depends upon the device being used.
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.