Method
GdkPixbuf.Pixbuf.rotate_simple
Declaration [src]
GdkPixbuf*
gdk_pixbuf_rotate_simple (
const GdkPixbuf* src,
GdkPixbufRotation angle
)
Description [src]
Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf.
If angle
is 0, this function will return a copy of src
.
Available since: | 2.6 |
Parameters
angle |
GdkPixbufRotation |
the angle to rotate by |
Return value
Returns: GdkPixbuf |
|
the new pixbuf |
|
The caller of the function takes ownership of the data, and is responsible for freeing it | |
Can be NULL |