Enumeration (GI Enum)

Pango-1.0PangoGravitySince 1.16

Pango.Gravity represents the orientation of glyphs in a segment of text.

This is useful when rendering vertical text layouts. In those situations, the layout is rotated using a non-identity Pango.Matrix, and then glyph orientation is controlled using Pango.Gravity.

Not every value in this enumeration makes sense for every usage of Pango.Gravity; for example, Pango.Gravity.AUTO only can be passed to Pango.Context.set_base_gravity and can only be returned by Pango.Context.get_base_gravity.

See also: Pango.GravityHint

1.16

Index

Enumeration Members

Enumeration Members

AUTO: number

Gravity is resolved from the context matrix

EAST: number

Glyphs are rotated 90 degrees counter-clockwise.

NORTH: number

Glyphs are upside-down.

SOUTH: number

Glyphs stand upright (default)

WEST: number

Glyphs are rotated 90 degrees clockwise.