gimp_layer_resize << INDEX >> gimp_layer_set_apply_mask

gimp_layer_scale (1995-1996)

NAME
gimp_layer_scale - Scale the layer to the specified extents.
SYNOPSIS
gimp_layer_scale (layer,new_width,new_height,local_origin)
DESCRIPTION
This procedure scales the layer so that it's new width and height are equal to the supplied parameters. The "local_origin" parameter specifies whether to scale from the center of the layer, or from the image origin. This operation only works if the layer has been added to an image.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
LAYERlayerThe layer
INT32new_widthNew layer width: (0 < new_width)
INT32new_heightNew layer height: (0 < new_height)
INT32local_originUse a local origin (as opposed to the image origin)
SOME SYNTAX ALTERNATIVES
$layer->scale (new_width,new_height,local_origin)
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>