GimpLayerMask

GimpLayerMask

Functions

Object Hierarchy

    GObject
    ╰── GimpItem
        ╰── GimpDrawable
            ╰── GimpChannel
                ╰── GimpLayerMask

Description

Functions

gimp_layer_mask_get_by_id ()

GimpLayerMask *
gimp_layer_mask_get_by_id (gint32 layer_mask_id);

Returns a GimpLayerMask representing layer_mask_id . This function calls gimp_item_get_by_id() and returns the item if it is layer_mask or NULL otherwise.

Parameters

layer_mask_id

The layer_mask id.

 

Returns

a GimpLayerMask for layer_mask_id or NULL if layer_mask_id does not represent a valid layer_mask. The object belongs to libgimp and you must not modify or unref it.

[nullable][transfer none]

Since: 3.0