Searched defs:hsv (Results 1 - 3 of 3) sorted by relevance

/inkscape/src/ui/widget/
H A Dcolor-wheel-selector.cpp268 float hsv[3] = { 0, 0, 0 }; local
269 sp_color_rgb_to_hsv_floatv(hsv, _color.color().v.c[0], _color.color().v.c[1], _color.color().v.c[2]);
270 gimp_color_wheel_set_color(GIMP_COLOR_WHEEL(_wheel), hsv[0], hsv[1], hsv[2]); local
H A Dgimpcolorwheel.c1392 * @hsv: An HSV color selector
1432 * @hsv: An HSV color selector
1469 gimp_color_wheel_set_ring_fraction (GimpColorWheel *hsv, argument
1474 g_return_if_fail (GIMP_IS_COLOR_WHEEL (hsv));
1476 priv = hsv->priv;
1480 gtk_widget_queue_draw (GTK_WIDGET (hsv));
1505 * @hsv: A #GimpColorWheel
/inkscape/src/
H A Dcolor.cpp253 * Fill hsv float array from r,g,b float values.
256 sp_color_rgb_to_hsv_floatv (float *hsv, float r, float g, float b) argument
264 hsv[2] = max;
267 hsv[1] = delta / max;
269 hsv[1] = 0.0;
272 if (hsv[1] != 0.0) {
274 hsv[0] = (g - b) / delta;
276 hsv[0] = 2.0 + (b - r) / delta;
278 hsv[0] = 4.0 + (r - g) / delta;
281 hsv[
[all...]

Completed in 136 milliseconds