gimp-item-transform-flip

Michael Natterer <mitch@gimp.org>

Description

Flip the specified item around a given line.

Help

This procedure flips the specified item. If a selection exists and the item is a drawable , the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipped. The axis to flip around is specified by specifying two points from that line. The return value is the ID of the flipped item. If there was no selection or the item is not a drawable, this will be equal to the item ID supplied as input. Otherwise, this will be the newly created and flipped drawable. This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.


Type

unknown

Parameters

Type Name Description
unknown item The affected item
PF_FLOAT x0 horz. coord. of one end of axis
PF_FLOAT y0 vert. coord. of one end of axis
PF_FLOAT x1 horz. coord. of other end of axis
PF_FLOAT y1 vert. coord. of other end of axis

Return

Type Name Description
unknown item The flipped item