GimpLayerMask

GimpLayerMask

Synopsis

                    GimpLayerMask;
GimpLayerMask *     gimp_layer_mask_new                 (GimpImage *image,
                                                         gint width,
                                                         gint height,
                                                         const gchar *name,
                                                         const GimpRGB *color);
void                gimp_layer_mask_set_layer           (GimpLayerMask *layer_mask,
                                                         GimpLayer *layer);
GimpLayer *         gimp_layer_mask_get_layer           (const GimpLayerMask *layer_mask);
void                gimp_layer_mask_set_apply           (GimpLayerMask *layer_mask,
                                                         gboolean apply,
                                                         gboolean push_undo);
gboolean            gimp_layer_mask_get_apply           (const GimpLayerMask *layer_mask);
void                gimp_layer_mask_set_edit            (GimpLayerMask *layer_mask,
                                                         gboolean edit);
gboolean            gimp_layer_mask_get_edit            (const GimpLayerMask *layer_mask);
void                gimp_layer_mask_set_show            (GimpLayerMask *layer_mask,
                                                         gboolean show,
                                                         gboolean push_undo);
gboolean            gimp_layer_mask_get_show            (const GimpLayerMask *layer_mask);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpItem
                     +----GimpDrawable
                           +----GimpChannel
                                 +----GimpLayerMask

Implemented Interfaces

GimpLayerMask implements GimpConfigInterface and GimpPickableInterface.

Signals

  "apply-changed"                                  : Run First
  "edit-changed"                                   : Run First
  "show-changed"                                   : Run First

Description

Details

GimpLayerMask

typedef struct _GimpLayerMask GimpLayerMask;


gimp_layer_mask_new ()

GimpLayerMask *     gimp_layer_mask_new                 (GimpImage *image,
                                                         gint width,
                                                         gint height,
                                                         const gchar *name,
                                                         const GimpRGB *color);


gimp_layer_mask_set_layer ()

void                gimp_layer_mask_set_layer           (GimpLayerMask *layer_mask,
                                                         GimpLayer *layer);


gimp_layer_mask_get_layer ()

GimpLayer *         gimp_layer_mask_get_layer           (const GimpLayerMask *layer_mask);


gimp_layer_mask_set_apply ()

void                gimp_layer_mask_set_apply           (GimpLayerMask *layer_mask,
                                                         gboolean apply,
                                                         gboolean push_undo);


gimp_layer_mask_get_apply ()

gboolean            gimp_layer_mask_get_apply           (const GimpLayerMask *layer_mask);


gimp_layer_mask_set_edit ()

void                gimp_layer_mask_set_edit            (GimpLayerMask *layer_mask,
                                                         gboolean edit);


gimp_layer_mask_get_edit ()

gboolean            gimp_layer_mask_get_edit            (const GimpLayerMask *layer_mask);


gimp_layer_mask_set_show ()

void                gimp_layer_mask_set_show            (GimpLayerMask *layer_mask,
                                                         gboolean show,
                                                         gboolean push_undo);


gimp_layer_mask_get_show ()

gboolean            gimp_layer_mask_get_show            (const GimpLayerMask *layer_mask);

Signal Details

The "apply-changed" signal

void                user_function                      (GimpLayerMask *gimplayermask,
                                                        gpointer       user_data)          : Run First

gimplayermask :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "edit-changed" signal

void                user_function                      (GimpLayerMask *gimplayermask,
                                                        gpointer       user_data)          : Run First

gimplayermask :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "show-changed" signal

void                user_function                      (GimpLayerMask *gimplayermask,
                                                        gpointer       user_data)          : Run First

gimplayermask :

the object which received the signal.

user_data :

user data set when the signal handler was connected.