index_to_x_full
Description:
[ Version ( since = "1.50" ) ]
public void index_to_x_full (string text, int length, Analysis analysis, LogAttr? attrs, int index_, bool trailing, out int x_pos)
public void index_to_x_full (string text, int length, Analysis analysis, LogAttr? attrs, int index_, bool trailing, out int x_pos)
Converts from character position to x position.
This variant of [method@Pango.GlyphString.index_to_x] additionally accepts a `PangoLogAttr` array. The grapheme boundary information in it can be used to disambiguate positioning inside some complex clusters.
Parameters:
this |
the glyphs return from [func@shape] |
text |
the text for the run |
length |
the number of bytes (not characters) in |
analysis |
the analysis information return from [func@itemize] |
attrs |
`PangoLogAttr` array for |
index_ |
the byte index within |
trailing |
whether we should compute the result for the beginning (false) or end (true ) of the character. |
x_pos |
location to store result |