Method

GskTransformmatrix

Declaration [src]

GskTransform*
gsk_transform_matrix (
  GskTransform* next,
  const graphene_matrix_t* matrix
)

Description [src]

Multiplies next with the given matrix.

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

Parameters

next

Type: GskTransform

The next transform.

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

Type: graphene_matrix_t

The matrix to multiply next with.

The data is owned by the caller of the method.

Return value

Type: GskTransform

The new transform.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.