Package: pango

Class pango-layout

Superclasses

g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

The pango-layout class represents an entire paragraph of text. It is initialized with a pango-context object, UTF-8 string and set of attributes for that string. Once that is done, the set of formatted lines can be extracted from the object, the layout can be rendered, and conversion between logical character positions within the layout's text, and the physical position of the resulting glyphs can be made.

There are also a number of parameters to adjust the formatting of a pango-layout object. It is possible, as well, to ignore the 2-D setup, and simply treat the results of a pango-layout object as a list of lines.
Figure. Adjustable parameters (on the left) and font metrics (on the right) for a Pango layout

The pango-layout class is opaque, and has no user visible fields.
 

Inherited Slot Access Functions

See also

2021-1-18