gimp_register_save_handler << INDEX >> gimp_scale

gimp_rotate (1995-1996)

NAME
gimp_rotate - Rotate the specified drawable about its center through the specified angle.
SYNOPSIS
drawable = gimp_rotate (drawable,interpolation,angle)
DESCRIPTION
This tool rotates 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 rotated 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 rotated drawable. The return value is the ID of the rotated 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 rotated drawable.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe affected drawable
INT32interpolationWhether to use interpolation
FLOATangleThe angle of rotation (radians)
RETURN VALUES
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe rotated drawable
SOME SYNTAX ALTERNATIVES
drawable = $drawable->rotate (interpolation,angle)
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>