pangoLayoutIndexToLineX {RGtk2} | R Documentation |
Converts from byte index.
within the layout
to line and X position.
(X position is measured from the left edge of the line)
pangoLayoutIndexToLineX(object, index., trailing)
|
[PangoLayout ] a PangoLayout |
|
[integer] the byte index of a grapheme within the layout. |
|
[logical] 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. |
A list containing the following elements:
|
[integer] location to store resulting line index. (which will between 0 and pango_layout_get_line_count(layout) - 1) |
|
[integer] location to store resulting position within line
(PANGO_SCALE units per device unit) |
Derived by RGtkGen from GTK+ documentation