1995-1996
Spencer Kimball & Peter Mattis
Scale the layer using the default interpolation method.
This procedure scales the layer so that its 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. The interpolation method used can be set with 'gimp-context-set-interpolation'.
unknown
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 | local-origin | Use a local origin (as opposed to the image origin) (TRUE or FALSE) |
None