Pixbuf.flip

Flips a pixbuf horizontally or vertically and returns the result in a new pixbuf.

class Pixbuf
flip
()

Parameters

horizontal bool

TRUE to flip horizontally, FALSE to flip vertically

Return Value

Type: Pixbuf

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

Meta