1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| gdk_pixbuf_rotate_simple ()
GdkPixbuf* gdk_pixbuf_rotate_simple (const GdkPixbuf *src,
GdkPixbufRotation angle);
Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf.
src :
a GdkPixbuf
angle :
the angle to rotate by
Returns :
the new GdkPixbuf, or NULL if not enough memory could be allocated for it.
Since 2.6
gdk_pixbuf_flip ()
GdkPixbuf* gdk_pixbuf_flip (const GdkPixbuf *src,
gboolean horizontal);
Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf.
src :
a GdkPixbuf
horizontal :
TRUE to flip horizontally, FALSE to flip vertically
Returns :
the new GdkPixbuf, or NULL if not enough memory could be allocated for it.
Since 2.6 |