Package: pango
Function pango-layout-index-to-line-x
Lambda Listpango-layout-index-to-line-x (layout index trailing) ArgumentsReturn Value line -- an integer with the resulting line index, (which will between 0 and (pango-layout-line-count layout) - 1, or nil x-pos -- an integer with the resulting position within line (+pango-scale+ units per device unit), or nil Details Converts from byte index within the layout to line and x position.
x position is measured from the left edge of the line. | See also |
2021-1-18