## GimpHSV

GimpHSV — Definitions and Functions relating to HSV colors.

## Synopsis

                        GimpHSV;
                        GimpHSL;
    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);
    #define             GIMP_TYPE_HSV
    #define             GIMP_TYPE_HSL

## Description

Definitions and Functions relating to HSV colors.

## Details

### GimpHSV

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

### GimpHSL

    typedef struct {
      gdouble h, s, l, a;
    } GimpHSL;

### 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` : |

### GIMP_TYPE_HSV

    #define GIMP_TYPE_HSV       (gimp_hsv_get_type ())

### GIMP_TYPE_HSL

    #define GIMP_TYPE_HSL       (gimp_hsl_get_type ())