gimp-transform-utils

gimp-transform-utils

Synopsis

void                gimp_transform_get_rotate_center    (gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gboolean auto_center,
                                                         gdouble *center_x,
                                                         gdouble *center_y);
void                gimp_transform_get_flip_axis        (gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         GimpOrientationType flip_type,
                                                         gboolean auto_center,
                                                         gdouble *axis);
void                gimp_transform_matrix_flip          (GimpMatrix3 *matrix,
                                                         GimpOrientationType flip_type,
                                                         gdouble axis);
void                gimp_transform_matrix_flip_free     (GimpMatrix3 *matrix,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2);
void                gimp_transform_matrix_rotate        (GimpMatrix3 *matrix,
                                                         GimpRotationType rotate_type,
                                                         gdouble center_x,
                                                         gdouble center_y);
void                gimp_transform_matrix_rotate_center (GimpMatrix3 *matrix,
                                                         gdouble center_x,
                                                         gdouble center_y,
                                                         gdouble angle);
void                gimp_transform_matrix_rotate_rect   (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gdouble angle);
void                gimp_transform_matrix_scale         (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gdouble t_x,
                                                         gdouble t_y,
                                                         gdouble t_width,
                                                         gdouble t_height);
void                gimp_transform_matrix_shear         (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         GimpOrientationType orientation,
                                                         gdouble amount);
void                gimp_transform_matrix_perspective   (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gdouble t_x1,
                                                         gdouble t_y1,
                                                         gdouble t_x2,
                                                         gdouble t_y2,
                                                         gdouble t_x3,
                                                         gdouble t_y3,
                                                         gdouble t_x4,
                                                         gdouble t_y4);
gboolean            gimp_transform_polygon_is_convex    (gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2,
                                                         gdouble x3,
                                                         gdouble y3,
                                                         gdouble x4,
                                                         gdouble y4);

Description

Details

gimp_transform_get_rotate_center ()

void                gimp_transform_get_rotate_center    (gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gboolean auto_center,
                                                         gdouble *center_x,
                                                         gdouble *center_y);


gimp_transform_get_flip_axis ()

void                gimp_transform_get_flip_axis        (gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         GimpOrientationType flip_type,
                                                         gboolean auto_center,
                                                         gdouble *axis);


gimp_transform_matrix_flip ()

void                gimp_transform_matrix_flip          (GimpMatrix3 *matrix,
                                                         GimpOrientationType flip_type,
                                                         gdouble axis);


gimp_transform_matrix_flip_free ()

void                gimp_transform_matrix_flip_free     (GimpMatrix3 *matrix,
                                                         gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2);


gimp_transform_matrix_rotate ()

void                gimp_transform_matrix_rotate        (GimpMatrix3 *matrix,
                                                         GimpRotationType rotate_type,
                                                         gdouble center_x,
                                                         gdouble center_y);


gimp_transform_matrix_rotate_center ()

void                gimp_transform_matrix_rotate_center (GimpMatrix3 *matrix,
                                                         gdouble center_x,
                                                         gdouble center_y,
                                                         gdouble angle);


gimp_transform_matrix_rotate_rect ()

void                gimp_transform_matrix_rotate_rect   (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gdouble angle);


gimp_transform_matrix_scale ()

void                gimp_transform_matrix_scale         (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gdouble t_x,
                                                         gdouble t_y,
                                                         gdouble t_width,
                                                         gdouble t_height);


gimp_transform_matrix_shear ()

void                gimp_transform_matrix_shear         (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         GimpOrientationType orientation,
                                                         gdouble amount);


gimp_transform_matrix_perspective ()

void                gimp_transform_matrix_perspective   (GimpMatrix3 *matrix,
                                                         gint x,
                                                         gint y,
                                                         gint width,
                                                         gint height,
                                                         gdouble t_x1,
                                                         gdouble t_y1,
                                                         gdouble t_x2,
                                                         gdouble t_y2,
                                                         gdouble t_x3,
                                                         gdouble t_y3,
                                                         gdouble t_x4,
                                                         gdouble t_y4);


gimp_transform_polygon_is_convex ()

gboolean            gimp_transform_polygon_is_convex    (gdouble x1,
                                                         gdouble y1,
                                                         gdouble x2,
                                                         gdouble y2,
                                                         gdouble x3,
                                                         gdouble y3,
                                                         gdouble x4,
                                                         gdouble y4);