## gimpselection

gimpselection

## Functions

gboolean | gimp_selection_bounds ()
gboolean | gimp_selection_all ()
gboolean | gimp_selection_none ()
gboolean | gimp_selection_clear ()
gboolean | gimp_selection_is_empty ()
gint32 | gimp_selection_float ()
gboolean | gimp_selection_load ()
gint32 | gimp_selection_save ()
gint | gimp_selection_value ()
gboolean | gimp_selection_grow ()
gboolean | gimp_selection_shrink ()
gboolean | gimp_selection_invert ()
gboolean | gimp_selection_feather ()
gboolean | gimp_selection_sharpen ()
gboolean | gimp_selection_border ()
gboolean | gimp_selection_translate ()
gboolean | gimp_selection_layer_alpha ()
gboolean | gimp_selection_combine ()

## Description

## Functions

### gimp_selection_bounds ()

    gboolean
    gimp_selection_bounds (gint32 image_ID,
                           gboolean *non_empty,
                           gint *x1,
                           gint *y1,
                           gint *x2,
                           gint *y2);

### gimp_selection_all ()

    gboolean
    gimp_selection_all (gint32 image_ID);

### gimp_selection_none ()

    gboolean
    gimp_selection_none (gint32 image_ID);

### gimp_selection_clear ()

    gboolean
    gimp_selection_clear (gint32 image_ID);

`gimp_selection_clear` is deprecated and should not be used in newly-written code.

### gimp_selection_is_empty ()

    gboolean
    gimp_selection_is_empty (gint32 image_ID);

### gimp_selection_float ()

    gint32
    gimp_selection_float (gint32 image_ID,
                          gint32 drawable_ID,
                          gint offx,
                          gint offy);

### gimp_selection_load ()

    gboolean
    gimp_selection_load (gint32 channel_ID);

`gimp_selection_load` is deprecated and should not be used in newly-written code.

Use `gimp_image_select_item()` instead.

### gimp_selection_save ()

    gint32
    gimp_selection_save (gint32 image_ID);

`gimp_selection_save` is deprecated and should not be used in newly-written code.

### gimp_selection_value ()

    gint
    gimp_selection_value (gint32 image_ID,
                          gint x,
                          gint y);

### gimp_selection_grow ()

    gboolean
    gimp_selection_grow (gint32 image_ID,
                         gint steps);

### gimp_selection_shrink ()

    gboolean
    gimp_selection_shrink (gint32 image_ID,
                           gint steps);

### gimp_selection_invert ()

    gboolean
    gimp_selection_invert (gint32 image_ID);

### gimp_selection_feather ()

    gboolean
    gimp_selection_feather (gint32 image_ID,
                            gdouble radius);

### gimp_selection_sharpen ()

    gboolean
    gimp_selection_sharpen (gint32 image_ID);

### gimp_selection_border ()

    gboolean
    gimp_selection_border (gint32 image_ID,
                           gint radius);

### gimp_selection_translate ()

    gboolean
    gimp_selection_translate (gint32 image_ID,
                              gint offx,
                              gint offy);

### gimp_selection_layer_alpha ()

    gboolean
    gimp_selection_layer_alpha (gint32 layer_ID);

`gimp_selection_layer_alpha` is deprecated and should not be used in newly-written code.

Use `gimp_image_select_item()` instead.

### gimp_selection_combine ()

    gboolean
    gimp_selection_combine (gint32 channel_ID,
                            GimpChannelOps operation);

`gimp_selection_combine` is deprecated and should not be used in newly-written code.

Use `gimp_image_select_item()` instead.

## Types and Values