Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gimp_context_push ();
- gimp_context_set_interpolation (GIMP_INTERPOLATION_NONE);
- gimp_context_set_transform_resize (GIMP_TRANSFORM_RESIZE_ADJUST);
- drawable->drawable_id =
- gimp_item_transform_rotate(drawable->drawable_id,
- angle,
- TRUE, // auto_center
- -1, -1 // center_x, center_y
- );
- gimp_context_pop ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement