Package: pango

Function pango-context-gravity-hint

Lambda List

pango-context-gravity-hint (context)

Syntax

(pango-context-gravity-hint context) => hint
(setf (pango-context-gravity-hint context) hint)

Arguments

context -- a pango-context object
hint -- a gravity hint of type pango-gravity-hint

Details

Accessor of the gravity hint for the Pango context.

The function pango-context-gravity-hint retrieves the gravity hint for the context. The function (setf pango-context-gravity-hint) sets the gravity hint.

The gravity hint is used in laying vertical text out, and is only relevant if gravity of the context as returned by the function pango-context-gravity is set :east or :west.
 

See also

2021-1-3