## GimpHSV

GimpHSV — Definitions and Functions relating to HSV colors.

## Synopsis

                GimpHSV;
    void        gimp_hsv_set                    (GimpHSV *hsv,
                                                 gdouble hue,
                                                 gdouble saturation,
                                                 gdouble value);
    void        gimp_hsv_clamp                  (GimpHSV *hsv);
    void        gimp_hsva_set                   (GimpHSV *hsva,
                                                 gdouble hue,
                                                 gdouble saturation,
                                                 gdouble value,
                                                 gdouble alpha);

## Description

Definitions and Functions relating to HSV colors.

## Details

### GimpHSV

    typedef struct {
      gdouble h, s, v, a;
    } GimpHSV;

### gimp_hsv_set ()

    void        gimp_hsv_set                    (GimpHSV *hsv,
                                                 gdouble hue,
                                                 gdouble saturation,
                                                 gdouble value);

`hsv` : |
`hue` : |
`saturation` : |
`value` : |

### gimp_hsv_clamp ()

    void        gimp_hsv_clamp                  (GimpHSV *hsv);

`hsv` : |

### gimp_hsva_set ()

    void        gimp_hsva_set                   (GimpHSV *hsva,
                                                 gdouble hue,
                                                 gdouble saturation,
                                                 gdouble value,
                                                 gdouble alpha);

`hsva` : |
`hue` : |
`saturation` : |
`value` : |
`alpha` : |