Carbon


InvertColor

Header: Quickdraw.h Carbon status: Supported

Finds the complement of an RGBColor data structure. This function is used only by system software.

void InvertColor (
    RGBColor *myColor
);
Parameter descriptions
myColor

A pointer to the RGBColor data structure for which the complement is to be found.The InvertColor function returns the complement of an absolute color, using the list of complement functions in the current device data structure. The default complement function uses the one’s complement of each component of the given color.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)