## GcmClut

GcmClut — Color lookup table object

## Synopsis

    struct              GcmClut;
    struct              GcmClutClass;
                        GcmClutData;
    GcmClut *           gcm_clut_new                        (void);
    GPtrArray *         gcm_clut_get_array                  (GcmClut *clut);
    gboolean            gcm_clut_set_source_array           (GcmClut *clut,
                                                             GPtrArray *array);
    gboolean            gcm_clut_reset                      (GcmClut *clut);
    void                gcm_clut_print                      (GcmClut *clut);
    guint               gcm_clut_get_size                   (GcmClut *clut);
                        GcmClutPrivate;

## Object Hierarchy

      GObject
       +----GcmClut

## Properties

      "brightness"               gdouble               : Read / Write
      "contrast"                 gdouble               : Read / Write
      "gamma"                    gdouble               : Read / Write
      "size"                     guint                 : Read / Write

## Description

This object represents a color lookup table that is useful to manipulating gamma values in a trivial RGB color space.

## Details

### struct GcmClut

    struct GcmClut;

### struct GcmClutClass

    struct GcmClutClass {
    	GObjectClass parent_class;
    	/* padding for future expansion */
    	void (*_gcm_reserved1) (void);
    	void (*_gcm_reserved2) (void);
    	void (*_gcm_reserved3) (void);
    	void (*_gcm_reserved4) (void);
    	void (*_gcm_reserved5) (void);
    };

### GcmClutData

    typedef struct {
    	guint32		 red;
    	guint32		 green;
    	guint32		 blue;
    } GcmClutData;

### gcm_clut_new ()

    GcmClut *           gcm_clut_new                        (void);

Returns : | a new GcmClut object.

Since 2.91.1

### gcm_clut_get_array ()

    GPtrArray *         gcm_clut_get_array                  (GcmClut *clut);

Since 2.91.1

### gcm_clut_set_source_array ()

    gboolean            gcm_clut_set_source_array           (GcmClut *clut,
                                                             GPtrArray *array);

Since 2.91.1

### gcm_clut_reset ()

    gboolean            gcm_clut_reset                      (GcmClut *clut);

Since 2.91.1

### gcm_clut_print ()

    void                gcm_clut_print                      (GcmClut *clut);

Since 2.91.1

### gcm_clut_get_size ()

    guint               gcm_clut_get_size                   (GcmClut *clut);

Since 2.91.1

### GcmClutPrivate

    typedef struct _GcmClutPrivate GcmClutPrivate;

Private GcmClut data

## Property Details

### The `"brightness"` property

      "brightness"               gdouble               : Read / Write

Allowed values: >= 0

Default value: 1.02

### The `"contrast"` property

      "contrast"                 gdouble               : Read / Write

Allowed values: >= 0

Default value: 1.03

### The `"gamma"` property

      "gamma"                    gdouble               : Read / Write

Allowed values: >= 0

Default value: 1.01

### The `"size"` property

      "size"                     guint                 : Read / Write

Default value: 0