Name
pango.GravityForMatrix -- find gravity for matrix
Synopsis
gravity = pango.GravityForMatrix(matrix)
Function
Finds the gravity that best matches the rotation component in a Pango matrix.

This function returns the gravity of matrix, which will never be #PANGO_GRAVITY_AUTO.

See pcontext:SetBaseGravity() for a list of gravity constants.

Inputs
matrix
Pango matrix
Results
gravity
the gravity of matrix

Show TOC