gimp_flip - Flip the specified drawable about its center either vertically or horizontally.
SYNOPSIS
drawable = gimp_flip (drawable,flip_type)
DESCRIPTION
This tool flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipd by the specified amount. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipped drawable. The flip type parameter indicates whether the flip will be applied horizontally or vertically.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
DRAWABLE
drawable
The affected drawable
INT32
flip_type
Type of flip: HORIZONTAL (0) or VERTICAL (1)
RETURN VALUES
TYPE
NAME
DESCRIPTION
DRAWABLE
drawable
The flipped drawable
SOME SYNTAX ALTERNATIVES
drawable = $drawable->flip (flip_type)
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis