Gsk.Transform.parse
Description: Reference for Gsk.Transform.parse

### Function

# Gsk Transformparse

#### Declaration [src]

    gboolean
    gsk_transform_parse (
      const char* string,
      GskTransform** out_transform
    )

#### Description [src]

Parses the given `string` into a transform and puts it in `out_transform`.

Strings printed via `gsk_transform_to_string()` can be read in again successfully using this function.

If `string` does not describe a valid transform, `FALSE` is returned and `NULL` is put in `out_transform`.

#### Parameters

`string` | `const char*`
| The string to parse.
| The data is owned by the caller of the function.
| The string is a NUL terminated UTF-8 string.
`out_transform` | `GskTransform`
| The location to put the transform in.
| The argument will be set by the function.
| The called function takes ownership of the data, and is responsible for freeing it.

#### Return value

Returns: | `gboolean`
| `TRUE` if `string` described a valid transform.