gimpitemtransform: GIMP Library Reference Manual

## gimpitemtransform gimpitemtransform |

## Functions

gint32 | gimp_item_transform_flip_simple ()
gint32 | gimp_item_transform_flip ()
gint32 | gimp_item_transform_perspective ()
gint32 | gimp_item_transform_rotate_simple ()
gint32 | gimp_item_transform_rotate ()
gint32 | gimp_item_transform_scale ()
gint32 | gimp_item_transform_shear ()
gint32 | gimp_item_transform_2d ()
gint32 | gimp_item_transform_matrix ()

## Description

## Functions

### gimp_item_transform_flip_simple ()

    gint32
    gimp_item_transform_flip_simple (gint32 item_ID,
                                     GimpOrientationType flip_type,
                                     gboolean auto_center,
                                     gdouble axis);

Since: GIMP 2.2

### gimp_item_transform_flip ()

    gint32
    gimp_item_transform_flip (gint32 item_ID,
                              gdouble x0,
                              gdouble y0,
                              gdouble x1,
                              gdouble y1);

Since: GIMP 2.8

### gimp_item_transform_perspective ()

    gint32
    gimp_item_transform_perspective (gint32 item_ID,
                                     gdouble x0,
                                     gdouble y0,
                                     gdouble x1,
                                     gdouble y1,
                                     gdouble x2,
                                     gdouble y2,
                                     gdouble x3,
                                     gdouble y3);

Since: GIMP 2.8

### gimp_item_transform_rotate_simple ()

    gint32
    gimp_item_transform_rotate_simple (gint32 item_ID,
                                       GimpRotationType rotate_type,
                                       gboolean auto_center,
                                       gdouble center_x,
                                       gdouble center_y);

Since: GIMP 2.8

### gimp_item_transform_rotate ()

    gint32
    gimp_item_transform_rotate (gint32 item_ID,
                                gdouble angle,
                                gboolean auto_center,
                                gdouble center_x,
                                gdouble center_y);

Since: GIMP 2.8

### gimp_item_transform_scale ()

    gint32
    gimp_item_transform_scale (gint32 item_ID,
                               gdouble x0,
                               gdouble y0,
                               gdouble x1,
                               gdouble y1);

Since: GIMP 2.8

### gimp_item_transform_shear ()

    gint32
    gimp_item_transform_shear (gint32 item_ID,
                               GimpOrientationType shear_type,
                               gdouble magnitude);

Since: GIMP 2.8

### gimp_item_transform_2d ()

    gint32
    gimp_item_transform_2d (gint32 item_ID,
                            gdouble source_x,
                            gdouble source_y,
                            gdouble scale_x,
                            gdouble scale_y,
                            gdouble angle,
                            gdouble dest_x,
                            gdouble dest_y);

Since: GIMP 2.8

### gimp_item_transform_matrix ()

    gint32
    gimp_item_transform_matrix (gint32 item_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);

Since: GIMP 2.8

## Types and Values