Method
GimpLayerresize
Declaration [src]
gboolean
gimp_layer_resize (
GimpLayer* layer,
gint new_width,
gint new_height,
gint offx,
gint offy
)
Description [src]
Resize the layer to the specified extents.
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.