gimp_selection_float - Float the selection from the specified drawable with initial offsets as specified.
SYNOPSIS
layer = gimp_selection_float (drawable,offx,offy)
DESCRIPTION
This procedure determines the region of the specified drawable that lies beneath the current selection. The region is then cut from the drawable and the resulting data is made into a new layer which is instantiated as a floating selection. The offsets allow initial positioning of the new floating selection.
INPUT ARGUMENTS
TYPE
NAME
DESCRIPTION
DRAWABLE
drawable
The drawable from which to float selection
INT32
offx
x offset for translation
INT32
offy
y offset for translation
RETURN VALUES
TYPE
NAME
DESCRIPTION
LAYER
layer
The floated layer
SOME SYNTAX ALTERNATIVES
layer = $drawable->selection_float (offx,offy)
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis