Method

GimpChannelcombine_masks

Declaration [src]

gboolean
gimp_channel_combine_masks (
  GimpChannel* channel1,
  GimpChannel* channel2,
  GimpChannelOps operation,
  gint offx,
  gint offy
)

Description [src]

Combine two channel masks.

This procedure combines two channel masks. The result is stored in the first channel.

Parameters

channel2 GimpChannel
 

The channel2.

 The data is owned by the caller of the function.
operation GimpChannelOps
 

The selection operation.

offx gint
 

X offset between upper left corner of channels: (second - first).

offy gint
 

Y offset between upper left corner of channels: (second - first).

Return value

Returns: gboolean
 

TRUE on success.