PangoGravity 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 [structPango.Matrix], and then
glyph orientation is controlled using PangoGravity.
Not every value in this enumeration makes sense for every usage of
PangoGravity; for example, %PANGO_GRAVITY_AUTO only can be passed to
[methodPango.Context.set_base_gravity] and can only be returned by
[methodPango.Context.get_base_gravity].
PangoGravity
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 [struct
Pango
.Matrix], and then glyph orientation is controlled usingPangoGravity
.Not every value in this enumeration makes sense for every usage of
PangoGravity
; for example, %PANGO_GRAVITY_AUTO only can be passed to [methodPango
.Context.set_base_gravity] and can only be returned by [methodPango
.Context.get_base_gravity].See also: [enum
Pango
.GravityHint]