gimp_rotate << INDEX >> gimp_selection_all

gimp_scale (1995-1996)

NAME
gimp_scale - Scale the specified drawable.
SYNOPSIS
drawable = gimp_scale (drawable,interpolation,x0,y0,x1,y1)
DESCRIPTION
This tool scales 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 scaled by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting scaled drawable. The return value is the ID of the scaled 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 scaled drawable.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe affected drawable
INT32interpolationWhether to use interpolation
FLOATx0The new x coordinate of upper-left corner of newly scaled region
FLOATy0The new y coordinate of upper-left corner of newly scaled region
FLOATx1The new x coordinate of lower-right corner of newly scaled region
FLOATy1The new y coordinate of lower-right corner of newly scaled region
RETURN VALUES
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe scaled drawable
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>