| GIMP Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
gint32 gimp_flip (gint32 drawable_ID,GimpOrientationType flip_type); gint32 gimp_perspective (gint32 drawable_ID,gboolean interpolation,gdouble x0,gdouble y0,gdouble x1,gdouble y1,gdouble x2,gdouble y2,gdouble x3,gdouble y3); gint32 gimp_rotate (gint32 drawable_ID,gboolean interpolation,gdouble angle); gint32 gimp_scale (gint32 drawable_ID,gboolean interpolation,gdouble x0,gdouble y0,gdouble x1,gdouble y1); gint32 gimp_shear (gint32 drawable_ID,gboolean interpolation,GimpOrientationType shear_type,gdouble magnitude); gint32 gimp_transform_2d (gint32 drawable_ID,gboolean interpolation,gdouble source_x,gdouble source_y,gdouble scale_x,gdouble scale_y,gdouble angle,gdouble dest_x,gdouble dest_y);
gint32 gimp_flip (gint32 drawable_ID,GimpOrientationType flip_type);
gimp_flip is deprecated and should not be used in newly-written code. Use gimp_item_transform_flip_simple() instead.
|
The affected drawable. |
|
Type of flip. |
Returns : |
The flipped drawable. |
gint32 gimp_perspective (gint32 drawable_ID,gboolean interpolation,gdouble x0,gdouble y0,gdouble x1,gdouble y1,gdouble x2,gdouble y2,gdouble x3,gdouble y3);
gimp_perspective is deprecated and should not be used in newly-written code. Use gimp_item_transform_perspective() instead.
|
The affected drawable. |
|
Whether to use interpolation. |
|
The new x coordinate of upper-left corner of original bounding box. |
|
The new y coordinate of upper-left corner of original bounding box. |
|
The new x coordinate of upper-right corner of original bounding box. |
|
The new y coordinate of upper-right corner of original bounding box. |
|
The new x coordinate of lower-left corner of original bounding box. |
|
The new y coordinate of lower-left corner of original bounding box. |
|
The new x coordinate of lower-right corner of original bounding box. |
|
The new y coordinate of lower-right corner of original bounding box. |
Returns : |
The newly mapped drawable. |
gint32 gimp_rotate (gint32 drawable_ID,gboolean interpolation,gdouble angle);
gimp_rotate is deprecated and should not be used in newly-written code. Use gimp_item_transform_rotate() instead.
|
The affected drawable. |
|
Whether to use interpolation. |
|
The angle of rotation (radians). |
Returns : |
The rotated drawable. |
gint32 gimp_scale (gint32 drawable_ID,gboolean interpolation,gdouble x0,gdouble y0,gdouble x1,gdouble y1);
gimp_scale is deprecated and should not be used in newly-written code. Use gimp_item_transform_scale() instead.
|
The affected drawable. |
|
Whether to use interpolation. |
|
The new x coordinate of the upper-left corner of the scaled region. |
|
The new y coordinate of the upper-left corner of the scaled region. |
|
The new x coordinate of the lower-right corner of the scaled region. |
|
The new y coordinate of the lower-right corner of the scaled region. |
Returns : |
The scaled drawable. |
gint32 gimp_shear (gint32 drawable_ID,gboolean interpolation,GimpOrientationType shear_type,gdouble magnitude);
gimp_shear is deprecated and should not be used in newly-written code. Use gimp_item_transform_shear() instead.
|
The affected drawable. |
|
Whether to use interpolation. |
|
Type of shear. |
|
The magnitude of the shear. |
Returns : |
The sheared drawable. |
gint32 gimp_transform_2d (gint32 drawable_ID,gboolean interpolation,gdouble source_x,gdouble source_y,gdouble scale_x,gdouble scale_y,gdouble angle,gdouble dest_x,gdouble dest_y);
gimp_transform_2d is deprecated and should not be used in newly-written code. Use gimp_item_transform_2d() instead.
|
The affected drawable. |
|
Whether to use interpolation. |
|
X coordinate of the transformation center. |
|
Y coordinate of the transformation center. |
|
Amount to scale in x direction. |
|
Amount to scale in y direction. |
|
The angle of rotation (radians). |
|
X coordinate of where the centre goes. |
|
Y coordinate of where the centre goes. |
Returns : |
The transformed drawable. |