Package: pango

Function pango-layout-alignment

Lambda List

pango-layout-alignment (layout)

Syntax

(pango-layout-alignment layout) => alignment
(setf (pango-layout-alignment layout) alignment)

Arguments

layout -- a pango-layout object
alignment -- a pango-alignment value

Details

Accessor of the alignement of the layout.

The function pango-layout-alignment gets the alignment for the layout: how partial lines are positioned within the horizontal space available. The function (setf pango-layout-alignment) sets the alignment.
 

See also

2021-1-15