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
text | the text for the run |
analysis | the analysis information return from funcitemize |
attrs | pango.types.LogAttr array for text |
index | the byte index within text |
trailing | whether we should compute the result for the beginning (false) or end (true) of the character. |
xPos | location to store result |