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


Converts an HSL color to an RGB color.

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