Function

GimpLayerfrom_mask

since: 2.2

Declaration [src]

GimpLayer*
gimp_layer_from_mask (
  GimpLayerMask* mask
)

Description [src]

Get the specified mask’s layer.

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

Available since: 2.2

Parameters

mask

Type: GimpLayerMask

Mask for which to return the layer.

The data is owned by the caller of the function.

Return value

Type: GimpLayer

The mask’s layer.

The data is owned by the called function.