PgVertical

Members

Static functions

gravityGetForMatrix
PangoGravity gravityGetForMatrix(PgMatrix matrix)

Finds the gravity that best matches the rotation component in a cairo.Matrix

gravityGetForScript
PangoGravity gravityGetForScript(PangoScript script, PangoGravity baseGravity, PangoGravityHint hint)

Based on the script, base gravity, and hint, returns actual gravity to use in laying out a single PangoItem

gravityGetForScriptAndWidth
PangoGravity gravityGetForScriptAndWidth(PangoScript script, bool wide, PangoGravity baseGravity, PangoGravityHint hint)

Based on the script, East Asian width, base gravity, and hint, returns actual gravity to use in laying out a single character or PangoItem

gravityToRotation
double gravityToRotation(PangoGravity gravity)

Converts a PangoGravity value to its natural rotation in radians. gravity should not be PANGO_GRAVITY_AUTO.