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


HSL2RGB

Converts an HSL color to an RGB color.

pascal void HSL2RGB (const HSLColor *hColor, 
RGBColor *rColor);
hColor
A pointer to an HSLColor structure (page 2-33) specifying the HSL color to be converted.
rColor
A pointer to a Color QuickDraw RGBColor structure. On output, the converted color.
DISCUSSION
The HSL2RGB function converts the HSL 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