Function

Gsk.Transform.parse

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

 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string
out_transform GskTransform
 

The location to put the transform in

 Direction: out
 Ownership of the data is transferred to the callee

Return value

Returns: gboolean

TRUE if string described a valid transform.