InvertRgn
InvertRgn
Invert all pixels enclosed by a region RgnHandle theRgn ; handle of region to invert InvertRgn inverts all pixels enclosed by the specified region. All black pixels are set to white and vice versa.
theRgn is the handle of a region in the local GrafPort.
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.