gimpdrawabletransform: GIMP Library Reference Manual

## gimpdrawabletransform gimpdrawabletransform |

## Functions

gint32 | gimp_drawable_transform_flip_simple ()
gint32 | gimp_drawable_transform_flip ()
gint32 | gimp_drawable_transform_flip_default ()
gint32 | gimp_drawable_transform_perspective ()
gint32 | gimp_drawable_transform_perspective_default ()
gint32 | gimp_drawable_transform_rotate_simple ()
gint32 | gimp_drawable_transform_rotate ()
gint32 | gimp_drawable_transform_rotate_default ()
gint32 | gimp_drawable_transform_scale ()
gint32 | gimp_drawable_transform_scale_default ()
gint32 | gimp_drawable_transform_shear ()
gint32 | gimp_drawable_transform_shear_default ()
gint32 | gimp_drawable_transform_2d ()
gint32 | gimp_drawable_transform_2d_default ()
gint32 | gimp_drawable_transform_matrix ()
gint32 | gimp_drawable_transform_matrix_default ()

## Description

## Functions

### gimp_drawable_transform_flip_simple ()

    gint32
    gimp_drawable_transform_flip_simple (gint32 drawable_ID,
                                         GimpOrientationType flip_type,
                                         gboolean auto_center,
                                         gdouble axis,
                                         gboolean clip_result);

`gimp_drawable_transform_flip_simple` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_flip_simple()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_flip ()

    gint32
    gimp_drawable_transform_flip (gint32 drawable_ID,
                                  gdouble x0,
                                  gdouble y0,
                                  gdouble x1,
                                  gdouble y1,
                                  GimpTransformDirection transform_direction,
                                  GimpInterpolationType interpolation,
                                  gboolean supersample,
                                  gint recursion_level,
                                  gboolean clip_result);

`gimp_drawable_transform_flip` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_flip()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_flip_default ()

    gint32
    gimp_drawable_transform_flip_default (gint32 drawable_ID,
                                          gdouble x0,
                                          gdouble y0,
                                          gdouble x1,
                                          gdouble y1,
                                          gboolean interpolate,
                                          gboolean clip_result);

`gimp_drawable_transform_flip_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_flip()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_perspective ()

    gint32
    gimp_drawable_transform_perspective (gint32 drawable_ID,
                                         gdouble x0,
                                         gdouble y0,
                                         gdouble x1,
                                         gdouble y1,
                                         gdouble x2,
                                         gdouble y2,
                                         gdouble x3,
                                         gdouble y3,
                                         GimpTransformDirection transform_direction,
                                         GimpInterpolationType interpolation,
                                         gboolean supersample,
                                         gint recursion_level,
                                         GimpTransformResize clip_result);

`gimp_drawable_transform_perspective` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_perspective()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_perspective_default ()

    gint32
    gimp_drawable_transform_perspective_default
                                   (gint32 drawable_ID,
                                    gdouble x0,
                                    gdouble y0,
                                    gdouble x1,
                                    gdouble y1,
                                    gdouble x2,
                                    gdouble y2,
                                    gdouble x3,
                                    gdouble y3,
                                    gboolean interpolate,
                                    GimpTransformResize clip_result);

`gimp_drawable_transform_perspective_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_perspective()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_rotate_simple ()

    gint32
    gimp_drawable_transform_rotate_simple (gint32 drawable_ID,
                                           GimpRotationType rotate_type,
                                           gboolean auto_center,
                                           gint center_x,
                                           gint center_y,
                                           gboolean clip_result);

`gimp_drawable_transform_rotate_simple` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_rotate_simple()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_rotate ()

    gint32
    gimp_drawable_transform_rotate (gint32 drawable_ID,
                                    gdouble angle,
                                    gboolean auto_center,
                                    gint center_x,
                                    gint center_y,
                                    GimpTransformDirection transform_direction,
                                    GimpInterpolationType interpolation,
                                    gboolean supersample,
                                    gint recursion_level,
                                    GimpTransformResize clip_result);

`gimp_drawable_transform_rotate` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_rotate()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_rotate_default ()

    gint32
    gimp_drawable_transform_rotate_default
                                   (gint32 drawable_ID,
                                    gdouble angle,
                                    gboolean auto_center,
                                    gint center_x,
                                    gint center_y,
                                    gboolean interpolate,
                                    GimpTransformResize clip_result);

`gimp_drawable_transform_rotate_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_rotate()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_scale ()

    gint32
    gimp_drawable_transform_scale (gint32 drawable_ID,
                                   gdouble x0,
                                   gdouble y0,
                                   gdouble x1,
                                   gdouble y1,
                                   GimpTransformDirection transform_direction,
                                   GimpInterpolationType interpolation,
                                   gboolean supersample,
                                   gint recursion_level,
                                   GimpTransformResize clip_result);

`gimp_drawable_transform_scale` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_scale()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_scale_default ()

    gint32
    gimp_drawable_transform_scale_default (gint32 drawable_ID,
                                           gdouble x0,
                                           gdouble y0,
                                           gdouble x1,
                                           gdouble y1,
                                           gboolean interpolate,
                                           GimpTransformResize clip_result);

`gimp_drawable_transform_scale_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_scale()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_shear ()

    gint32
    gimp_drawable_transform_shear (gint32 drawable_ID,
                                   GimpOrientationType shear_type,
                                   gdouble magnitude,
                                   GimpTransformDirection transform_direction,
                                   GimpInterpolationType interpolation,
                                   gboolean supersample,
                                   gint recursion_level,
                                   GimpTransformResize clip_result);

`gimp_drawable_transform_shear` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_shear()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_shear_default ()

    gint32
    gimp_drawable_transform_shear_default (gint32 drawable_ID,
                                           GimpOrientationType shear_type,
                                           gdouble magnitude,
                                           gboolean interpolate,
                                           GimpTransformResize clip_result);

`gimp_drawable_transform_shear_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_shear()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_2d ()

    gint32
    gimp_drawable_transform_2d (gint32 drawable_ID,
                                gdouble source_x,
                                gdouble source_y,
                                gdouble scale_x,
                                gdouble scale_y,
                                gdouble angle,
                                gdouble dest_x,
                                gdouble dest_y,
                                GimpTransformDirection transform_direction,
                                GimpInterpolationType interpolation,
                                gboolean supersample,
                                gint recursion_level,
                                GimpTransformResize clip_result);

`gimp_drawable_transform_2d` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_2d()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_2d_default ()

    gint32
    gimp_drawable_transform_2d_default (gint32 drawable_ID,
                                        gdouble source_x,
                                        gdouble source_y,
                                        gdouble scale_x,
                                        gdouble scale_y,
                                        gdouble angle,
                                        gdouble dest_x,
                                        gdouble dest_y,
                                        gboolean interpolate,
                                        GimpTransformResize clip_result);

`gimp_drawable_transform_2d_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_2d()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_matrix ()

    gint32
    gimp_drawable_transform_matrix (gint32 drawable_ID,
                                    gdouble coeff_0_0,
                                    gdouble coeff_0_1,
                                    gdouble coeff_0_2,
                                    gdouble coeff_1_0,
                                    gdouble coeff_1_1,
                                    gdouble coeff_1_2,
                                    gdouble coeff_2_0,
                                    gdouble coeff_2_1,
                                    gdouble coeff_2_2,
                                    GimpTransformDirection transform_direction,
                                    GimpInterpolationType interpolation,
                                    gboolean supersample,
                                    gint recursion_level,
                                    GimpTransformResize clip_result);

`gimp_drawable_transform_matrix` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_matrix()` instead.

Since: GIMP 2.2

### gimp_drawable_transform_matrix_default ()

    gint32
    gimp_drawable_transform_matrix_default
                                   (gint32 drawable_ID,
                                    gdouble coeff_0_0,
                                    gdouble coeff_0_1,
                                    gdouble coeff_0_2,
                                    gdouble coeff_1_0,
                                    gdouble coeff_1_1,
                                    gdouble coeff_1_2,
                                    gdouble coeff_2_0,
                                    gdouble coeff_2_1,
                                    gdouble coeff_2_2,
                                    gboolean interpolate,
                                    GimpTransformResize clip_result);

`gimp_drawable_transform_matrix_default` is deprecated and should not be used in newly-written code.

Use `gimp_item_transform_matrix()` instead.

Since: GIMP 2.2

## Types and Values