Gsk.Transform.invert

### Method

# Gsk Transforminvert

#### Declaration [src]

    GskTransform*
    gsk_transform_invert (
      GskTransform* self
    )

#### Description [src]

Inverts the given transform.

If `self` is not invertible, `NULL` is returned. Note that inverting `NULL` also returns `NULL`, which is the correct inverse of `NULL`. If you need to differentiate between those cases, you should check `self` is not `NULL` before calling this function.

This function consumes `self`. Use `gsk_transform_ref()` first if you want to keep it around.

#### Parameters

`self`

  Type: `GskTransform`

  Transform to invert.

  The argument can be `NULL`.
  The instance takes ownership of the data, and is responsible for freeing it.

#### Return value

Type: `GskTransform`

The inverted transform.

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