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 pango:gravity-hint value with the gravity hint

Details

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

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

See also

#2024-2-23