Function
CoglColorinit_from_hsl
Declaration [src]
void
cogl_color_init_from_hsl (
CoglColor* color,
float hue,
float saturation,
float luminance
)
Description [src]
Converts a color expressed in HLS (hue, luminance and saturation)
values into a CoglColor.
Parameters
color-
Type:
CoglColorReturn location for a
CoglColor.The argument will be set by the function. The returned data is owned by the function. hue-
Type:
floatHue value, in the 0 .. 360 range.
saturation-
Type:
floatSaturation value, in the 0 .. 1 range.
luminance-
Type:
floatLuminance value, in the 0 .. 1 range.