Layout


Object Hierarchy:

Object hierarchy for Layout

Description:

public class Layout : Object

The Layout structure represents an entire paragraph of text.

It is initialized with a Context, 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 Layout, which are illustrated in parameters . It is possible, as well, to ignore the 2-D setup, and simply treat the results of a Layout as a list of lines.

Adjustable parameters for a PangoLayout:

The Layout structure is opaque, and has no user-visible fields.


Namespace: Pango
Package: pango

Content:

Creation methods:

Methods:

Inherited Members: