CdkPixbuf.Pixbuf.rotate_simple

### Method

# CdkPixbuf Pixbufrotate_simple

since: 2.6

#### Declaration [src]

    CdkPixbuf*
    cdk_pixbuf_rotate_simple (
      const CdkPixbuf* src,
      CdkPixbufRotation 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`

  Type: `CdkPixbufRotation`

  The angle to rotate by.

#### 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`.