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 2 - Color Picker Manager Reference /
Color Picker Manager Functions / Converting Colors Among Color Models


HSV2RGB

Converts an HSV color to an RGB color.

pascal void HSV2RGB (const HSVColor *hColor, 
RGBColor *rColor);
hColor
A pointer to an HSVColor structure (page 2-33) specifying the HSV color to be converted.
rColor
A pointer to a Color QuickDraw RGBColor structure. On output, the converted color.
DISCUSSION
The HSV2RGB function converts the HSV color specified in the hColor parameter to the RGB color pointed to in the rColor parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996