Method
Pango.LayoutLine.index_to_x
Declaration [src]
void
pango_layout_line_index_to_x (
PangoLayoutLine* line,
int index_,
gboolean trailing,
int* x_pos
)
Parameters
index_ |
int |
byte offset of a grapheme within the layout |
|
trailing |
gboolean |
an integer indicating the edge of the grapheme to retrieve the position of. If > 0, the trailing edge of the grapheme, if 0, the leading of the grapheme |
|
x_pos |
int* |
location to store the x_offset (in Pango units) |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it |