Pixbuf.rotateSimple

Rotates a pixbuf by a multiple of 90 degrees, and returns the result in a new pixbuf.

If angle is 0, a copy of src is returned, avoiding any rotation.

class Pixbuf
rotateSimple

Parameters

angle GdkPixbufRotation

the angle to rotate by

Return Value

Type: Pixbuf

the new gdk.Pixbuf, or NULL if not enough memory could be allocated for it.

Meta