Previous Book Contents Book Index Next

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


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

pascal void InvertColor (RBGColor *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.
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