2004
Michael Natterer
Flip the specified item either vertically or horizontally.
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. If auto_center is set to TRUE, the flip is around the selection's center. Otherwise, the coordinate of the axis needs to be specified. 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-transform-resize'.
unknown
Type | Name | Description |
---|---|---|
unknown | item | The affected item |
PF_INT | flip-type | Type of flip { ORIENTATION-HORIZONTAL (0), ORIENTATION-VERTICAL (1) } |
PF_INT | auto-center | Whether to automatically position the axis in the selection center (TRUE or FALSE) |
PF_FLOAT | axis | coord. of flip axis |
Type | Name | Description |
---|---|---|
unknown | item | The flipped item |