Package: pango

Function pango-layout-iter-index

Lambda List

pango-layout-iter-index (iter)

Arguments

iter -- a pango-layout-iter instance

Return Value

An integer with the current byte index.

Details

Gets the current byte index. Note that iterating forward by char moves in visual order, not logical order, so indexes may not be sequential. Also, the index may be equal to the length of the text in the layout, if on the NULL run (see the function pango-layout-iter-run).
 

See also

2021-1-16