gimp-image-select-item

Michael Natterer <mitch@gimp.org>

Description

Transforms the specified item into a selection

Help

This procedure renders the item's outline into the current selection of the image the item belongs to. What exactly the item's outline is depends on the item type: for layers, it's the layer's alpha channel, for vectors the vector's shape. This procedure is affected by the following context setters: 'gimp-context-set-antialias', 'gimp-context-set-feather', 'gimp-context-set-feather-radius'.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image
PF_INT operation The desired operation with current selection { CHANNEL-OP-ADD (0), CHANNEL-OP-SUBTRACT (1), CHANNEL-OP-REPLACE (2), CHANNEL-OP-INTERSECT (3) }
unknown item The item to render to the selection

Return

None