get_for_matrix


Description:

public static Gravity get_for_matrix (Matrix? matrix)

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

Parameters:

matrix

a `PangoMatrix`

Returns:

the gravity of matrix, which will never be pango_gravity_auto, or pango_gravity_south if matrix is null