Important: The information in this document is obsolete and should not be used for new development.
RealColor
Used by system software to determine whether a givenRGBColor
data structure actually exists in the current device's color table.
pascal Boolean RealColor (const RGBColor *color);
color
- A pointer to the color value data structure to be tested.
DISCUSSION
TheRealColor
function determines whether the color is available in the currentGDevice
data structure's CLUT, basing its search on the current resolution of the inverse table. For example, if the current value of theiTabRes
field (page 5-3) is 4,RealColor
returnstrue
if there exists a color that exactly matches the top 4 bits of red, green, and blue.