Function

Pango.Gravity.get_for_matrix

Declaration [src]

PangoGravity
pango_gravity_get_for_matrix (
  const PangoMatrix* matrix
)

Description [src]

Finds the gravity that best matches the rotation component in a PangoMatrix.

Available since:1.16

Parameters

matrix PangoMatrix
 

a PangoMatrix

 Can be NULL
 The data is owned by the caller of the function

Return value

Returns: PangoGravity

the gravity of matrix, which will never be PANGO_GRAVITY_AUTO, or PANGO_GRAVITY_SOUTH if matrix is NULL