Package: pango

Function pango:font-description-gravity

Lambda List

pango:font-description-gravity (desc)

Syntax

(pango:font-description-gravity desc) => gravity
(setf (pango:font-description-gravity desc) gravity)

Arguments

desc -- a pango:font-description instance
gravity -- a pango:gravity value for the gravity for the font description

Details

The pango:font-description-gravity function gets the gravity field of a font description. The (setf pango:font-description-gravity) function sets the gravity field. The gravity field specifies how the glyphs should be rotated. If gravity is :auto, this actually unsets the gravity mask on the font description.

This function is seldom useful to the user. Gravity should normally be set on a pango:context object.
 

See also

2024-3-3