Best tool ever!
I have a acebook account i you want to ind it!
A rectangular region of an image was selected and is being scaled down.
The configuration panel of the Transform tool controls what kind of transformation can be applied to the selected content.
When Move, resize and rotate is active, the floating selection can be moved by dragging it with mouse or with arrow keys. It can be resized by dragging the control handles positioned around the rectangle or by holding down SHIFT and using the arrow keys. The selection can be rotated using the red control handle.
If the Preserve aspect ratio option is checked, the resized rectangle maintains its proportions.
When Perspective transformation is selected, the selected rectangle can be mapped on arbitrary quadrangle by dragging the control handles in the corners of the rectangle.
There are multiple ways how to create the floating selection for the Transformation tool to manipulate:
Once the floating selection exists, it can be manipulated:
TRANSFORM tool can be used from scripts. The command in script must have 2, 5, 6, 8, 9, or 12 parameters:
if the command has 6, 9, or 12 parameters, the first four define the affected rectangle. In other cases, the whole image is affected.
In case of 2 (or 6) parameters, the offset is given.
In case of 5 (or 9) parameters, the offset, scale, and rotation angle in degrees is given.
In case of 8 (or 12) parameters, pairs of number define corners or a quadrangle for perspective transformation.
// scale the entire image to half and rotate it by 45 degrees DrawTool.TRANSFORM(Document, 0, 0, 0.5, 0.5, 45);