Struct
PangoLayoutIter
Description [src]
struct PangoLayoutIter {
/* No available fields */
}
A PangoLayoutIter
can be used to iterate over the visual
extents of a PangoLayout
.
To obtain a PangoLayoutIter
, use pango_layout_get_iter()
.
The PangoLayoutIter
structure is opaque, and has no user-visible fields.
Instance methods
pango_layout_iter_at_last_line
Determines whether iter
is on the last line of the layout.
pango_layout_iter_free
Frees an iterator that’s no longer in use.
pango_layout_iter_get_baseline
Gets the Y position of the current line’s baseline, in layout coordinates.
pango_layout_iter_get_char_extents
Gets the extents of the current character, in layout coordinates.
pango_layout_iter_get_cluster_extents
Gets the extents of the current cluster, in layout coordinates.
pango_layout_iter_get_index
Gets the current byte index.
pango_layout_iter_get_layout
Gets the layout associated with a PangoLayoutIter
.
Available since: 1.20
pango_layout_iter_get_layout_extents
Obtains the extents of the PangoLayout
being iterated over.
pango_layout_iter_get_line
Gets the current line.
pango_layout_iter_get_line_extents
Obtains the extents of the current line.
pango_layout_iter_get_line_readonly
Gets the current line for read-only access.
Available since: 1.16
pango_layout_iter_get_line_yrange
Divides the vertical space in the PangoLayout
being iterated over
between the lines in the layout, and returns the space belonging to
the current line.
pango_layout_iter_get_run
Gets the current run.
pango_layout_iter_get_run_baseline
Gets the Y position of the current run’s baseline, in layout coordinates.
Available since: 1.50
pango_layout_iter_get_run_extents
Gets the extents of the current run in layout coordinates.
pango_layout_iter_next_char
Moves iter
forward to the next character in visual order.
pango_layout_iter_next_cluster
Moves iter
forward to the next cluster in visual order.
pango_layout_iter_next_line
Moves iter
forward to the start of the next line.
pango_layout_iter_next_run
Moves iter
forward to the next run in visual order.