gimp_layer_new << INDEX >> gimp_layer_scale

gimp_layer_resize (1995-1996)

NAME
gimp_layer_resize - Resize the layer to the specified extents.
SYNOPSIS
gimp_layer_resize (layer,new_width,new_height,offx,offy)
DESCRIPTION
This procedure resizes the layer so that it's new width and height are equal to the supplied parameters. Offsets are also provided which describe the position of the previous layer's content. 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)
INT32offxx offset between upper left corner of old and new layers: (new - old)
INT32offyy offset between upper left corner of old and new layers: (new - old)
SOME SYNTAX ALTERNATIVES
$layer->resize (new_width,new_height,offx,offy)
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>