"Flip the specified drawable about its center either vertically or horizontally.",
"This tool flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipd by the specified amount. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipped drawable. The flip type parameter indicates whether the flip will be applied horizontally or vertically.",
"The new x coordinate of upper-left corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"y0",
"The new y coordinate of upper-left corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"x1",
"The new x coordinate of upper-right corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"y1",
"The new y coordinate of upper-right corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"x2",
"The new x coordinate of lower-left corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"y2",
"The new y coordinate of lower-left corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"x3",
"The new x coordinate of lower-right corner of original bounding box"
},
{
GIMP_PDB_FLOAT,
"y3",
"The new y coordinate of lower-right corner of original bounding box"
}
};
staticProcArgperspective_outargs[]=
{
{
GIMP_PDB_DRAWABLE,
"drawable",
"The newly mapped drawable"
}
};
staticProcRecordperspective_proc=
{
"gimp_perspective",
"Perform a possibly non-affine transformation on the specified drawable.",
"This tool performs a possibly non-affine transformation on the specified drawable by allowing the corners of the original bounding box to be arbitrarily remapped to any values. The specified drawable is remapped if no selection exists. However, if a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then remapped as specified. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting remapped drawable. The return value is the ID of the remapped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and remapped drawable. The 4 coordinates specify the new locations of each corner of the original bounding box. By specifying these values, any affine transformation (rotation, scaling, translation) can be affected. Additionally,"
"these values can be specified such that the resulting transformed drawable will appear to have been projected via a perspective transform.",
"Rotate the specified drawable about its center through the specified angle.",
"This tool rotates the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then rotated by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting rotated drawable. The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and rotated drawable.",
"The new x coordinate of upper-left corner of newly scaled region"
},
{
GIMP_PDB_FLOAT,
"y0",
"The new y coordinate of upper-left corner of newly scaled region"
},
{
GIMP_PDB_FLOAT,
"x1",
"The new x coordinate of lower-right corner of newly scaled region"
},
{
GIMP_PDB_FLOAT,
"y1",
"The new y coordinate of lower-right corner of newly scaled region"
}
};
staticProcArgscale_outargs[]=
{
{
GIMP_PDB_DRAWABLE,
"drawable",
"The scaled drawable"
}
};
staticProcRecordscale_proc=
{
"gimp_scale",
"Scale the specified drawable.",
"This tool scales the specified drawable if no selection exists. If a selection exists, 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 interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting scaled drawable. The return value is the ID of the scaled drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and scaled drawable.",
"Shear the specified drawable about its center by the specified magnitude.",
"This tool shears the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then sheard by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting sheared drawable. The return value is the ID of the sheard drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and sheard drawable. The shear type parameter indicates whether the shear will be applied horizontally or vertically. The magnitude can be either positive or negative and indicates the extent (in pixels) to shear by.",
"This tool transforms the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then transformed. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting drawable. The transformation is done by scaling the image by the x and y scale factors about the point (source_x, source_y), then rotating around the same point, then translating that point to the new position (dest_x, dest_y). The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and transformed drawable.",