2010
Michael Natterer
Scale the specified item.
This procedure scales the specified item. If a selection exists and the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then scaled by the specified amount. The return value is the ID of the scaled item. If there was no selection or the item is not a drawable, this will be equal to the item ID supplied as input. Otherwise, this will be the newly created and scaled drawable. This procedure is affected by the following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.
unknown
Type | Name | Description |
---|---|---|
unknown | item | The affected item |
PF_FLOAT | x0 | The new x coordinate of the upper-left corner of the scaled region |
PF_FLOAT | y0 | The new y coordinate of the upper-left corner of the scaled region |
PF_FLOAT | x1 | The new x coordinate of the lower-right corner of the scaled region |
PF_FLOAT | y1 | The new y coordinate of the lower-right corner of the scaled region |
Type | Name | Description |
---|---|---|
unknown | item | The scaled item |