Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.48 KB | None | 0 0
  1.     gimp_context_push ();
  2.     gimp_context_set_interpolation (GIMP_INTERPOLATION_NONE);
  3.     gimp_context_set_transform_resize (GIMP_TRANSFORM_RESIZE_ADJUST);
  4.  
  5.     drawable->drawable_id =
  6.         gimp_item_transform_rotate(drawable->drawable_id,
  7.                                                angle,
  8.                                                TRUE,    // auto_center
  9.                                                -1, -1  // center_x, center_y
  10.             );
  11.     gimp_context_pop ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement