Method
ClutterColorto_hls
Declaration [src]
void
clutter_color_to_hls (
const ClutterColor* color,
gfloat* hue,
gfloat* luminance,
gfloat* saturation
)
Description [src]
Converts color
to the HLS format.
The hue
value is in the 0 .. 360 range. The luminance
and
saturation
values are in the 0 .. 1 range.
Parameters
hue
-
Type:
gfloat*
Return location for the hue value or
NULL
.The argument will be set by the function. luminance
-
Type:
gfloat*
Return location for the luminance value or
NULL
.The argument will be set by the function. saturation
-
Type:
gfloat*
Return location for the saturation value or
NULL
.The argument will be set by the function.