void CBCGPColorPickerCtrl::GetHLS | ( | double * | hue, |
double * | luminance, | ||
double * | saturation, | ||
int | nIndex = -1 |
||
) |
Retrieves the hue, luminance and saturation values of the selected color
Call this function to retrieve the hue, luminance and saturation values of the selected color.
hue | Pointer to the double value to receive a hue information |
luminance | Pointer to the double value to receive a luminance information |
saturation | Pointer to the double value to receive a saturation information |
nIndex | Specifies a color index. If this parametr is -1, the currently selected color is used. |