Package: pango

Function pango-layout-iter-run

Lambda List

pango-layout-iter-run (iter)

Arguments

iter -- a pango-layout-iter instance

Return Value

A pango-glyph-item instance with the current run.

Details

Gets the current run. When iterating by run, at the end of each line, there is a position with a NULL run, so this function can return NULL. The NULL run at the end of each line ensures that all lines have at least one run, even lines consisting of only a newline.

Use the faster function pango-layout-iter-run-readonly if you do not plan to modify the contents of the run (glyphs, glyph widths, etc.).
 

See also

2021-1-16