GlyphString.indexToXFull

void indexToXFull(string text, pango.analysis.Analysis analysis, pango.types.LogAttr attrs, int index, bool trailing, out int xPos)

Converts from character position to x position.

This variant of pango.glyph_string.GlyphString.indexToX additionally accepts a pango.types.LogAttr array. The grapheme boundary information in it can be used to disambiguate positioning inside some complex clusters.

Parameters

textthe text for the run
analysisthe analysis information return from funcitemize
attrspango.types.LogAttr array for text
indexthe byte index within text
trailingwhether we should compute the result for the beginning (false) or end (true) of the character.
xPoslocation to store result