CdkPixbuf.Pixbuf.flip

### Method

# CdkPixbuf Pixbufflip

since: 2.6

#### Declaration [src]

    CdkPixbuf*
    cdk_pixbuf_flip (
      const CdkPixbuf* src,
      gboolean horizontal
    )

#### Description [src]

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

Available since: 2.6

#### Parameters

`horizontal`

  Type: `gboolean`

  `TRUE` to flip horizontally, `FALSE` to flip vertically.

#### Return value

Type: `CdkPixbuf`

The new pixbuf.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.