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
TYPE
NAME
DESCRIPTION
LAYER
layer
The layer
INT32
new_width
New layer width: (0 < new_width)
INT32
new_height
New layer height: (0 < new_height)
INT32
local_origin
Use 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