Method

GimpLayerget_mask

Declaration [src]

GimpLayerMask*
gimp_layer_get_mask (
  GimpLayer* layer
)

Description [src]

Get the specified layer’s mask if it exists.

This procedure returns the specified layer’s mask, or -1 if none exists.

Return value

Type: GimpLayerMask

The layer mask.

The data is owned by the instance.