To invert the pixels of a wedge, use the InvertArc procedure. The angle indicating the start of the arc. The angle indicating the arc's extent. The InvertArc procedure inverts the pixels enclosed by a wedge of the oval bounded by the rectangle that you specify in the r parameter.
Every white pixel becomes black and every black pixel becomes white.
This procedure leaves the location of the graphics pen unchanged. The InvertArc procedure was designed for 1-bit images in basic graphics ports. This procedure operates on color pixels in color graphics ports, but the results are predictable only with direct devices or 1-bit pixel maps. The eight colors used in basic QuickDraw are stored in a color table represented by the global variable QDColors . To display those eight basic QuickDraw colors on an indexed device, Color QuickDraw uses the Color Manager to obtain indexes to the colors in the CLUT that best map to the colors in the QDColors color table.