Function

GtkHSVto_rgb

Declaration [src]

void
gtk_hsv_to_rgb (
  gdouble h,
  gdouble s,
  gdouble v,
  gdouble* r,
  gdouble* g,
  gdouble* b
)

Description [src]

Converts a color from HSV space to RGB.

Input values must be in the [0.0, 1.0] range; output values will be in the same range.

Available since:2.14

Parameters

h

Type: gdouble

Hue.

s

Type: gdouble

Saturation.

v

Type: gdouble

Value.

r

Type: gdouble*

Return value for the red component.

The argument will be set by the function.
g

Type: gdouble*

Return value for the green component.

The argument will be set by the function.
b

Type: gdouble*

Return value for the blue component.

The argument will be set by the function.