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
AUTO: 4

Gravity is resolved from the context matrix

EAST: 1

Glyphs are rotated 90 degrees counter-clockwise.

NORTH: 2

Glyphs are upside-down.

SOUTH: 0

Glyphs stand upright (default)

WEST: 3

Glyphs are rotated 90 degrees clockwise.

Variables

$gtype