Package: pango
Function pango:layout-index-to-pos
Lambda Listpango:layout-index-to-pos (layout index) SyntaxArgumentsDetails
Converts from an index within a Pango layout to the onscreen position
corresponding to the grapheme at that index, which is represented as
the coordinates of a rectangle. Note that x is always the leading edge of the grapheme and x + width the trailing edge of the grapheme. If the directionality of the grapheme is right-to-left, then witdh will be negative. | See also |
2025-2-15