Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 5 - Color Manager Reference /
Color Manager Functions / Managing Colors


InvertColor

Used by system software to find the complement of an RGBColor data structure.

pascal void InvertColor (RBGColor *myColor);
myColor
A pointer to a color value data structure. On input, the color to be inverted. On output, specifies the complement of the original color.
DISCUSSION
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 requested color.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996