gimp-layer-resize

Spencer Kimball & Peter Mattis

Description

Resize the layer to the specified extents.

Help

This procedure resizes the layer so that its 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.


Type

unknown

Parameters

Type Name Description
PF_LAYER layer The layer
PF_INT new-width New layer width (1 <= new-width <= 524288)
PF_INT new-height New layer height (1 <= new-height <= 524288)
PF_INT offx x offset between upper left corner of old and new layers: (old - new)
PF_INT offy y offset between upper left corner of old and new layers: (old - new)

Return

None