Name
pcontext:SetBaseGravity -- set base gravity
Synopsis
pcontext:SetBaseGravity(gravity)
Function
Sets the base gravity for the context. The gravity parameter can be set to one of the following constants:

#PANGO_GRAVITY_SOUTH
Glyphs stand upright (default).
#PANGO_GRAVITY_EAST
Glyphs are rotated 90 degrees counter-clockwise.
#PANGO_GRAVITY_NORTH
Glyphs are upside-down.
#PANGO_GRAVITY_WEST
Glyphs are rotated 90 degrees clockwise.
#PANGO_GRAVITY_AUTO
The base gravity is used in laying vertical text out.

Inputs
gravity
the new base gravity (see above)

Show TOC