Package: pango

Function pango:layout-indent

Lambda List

pango:layout-indent (layout)

Syntax

(pango:layout-indent layout) => indent
(setf (pango:layout-indent layout) indent)

Arguments

layout -- a pango:layout object
indent -- an integer for the amount by which to indent

Details

The pango:layout-indent function gets the paragraph indent width in Pango units. The (setf pango:layout-indent) function sets the width in Pango units to indent each paragraph. A negative value of indent will produce a hanging indentation. That is, the first line will have the full width, and subsequent lines will be indented by the absolute value of indent.

The indent setting is ignored if the Pango layout alignment is set to the :center value.
 

See also

#2025-2-15