Function

Gtk.hsv_to_rgb

Declaration [src]

void
gtk_hsv_to_rgb (
  float h,
  float s,
  float v,
  float* r,
  float* g,
  float* 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.

Parameters

h float
 

Hue

s float
 

Saturation

v float
 

Value

r float*
 

Return value for the red component

 Direction: out
 Ownership of the data is transferred to the callee
g float*
 

Return value for the green component

 Direction: out
 Ownership of the data is transferred to the callee
b float*
 

Return value for the blue component

 Direction: out
 Ownership of the data is transferred to the callee