2010
Michael Natterer
Flip the specified item around a given line.
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'.
unknown
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 |
Type | Name | Description |
---|---|---|
unknown | item | The flipped item |