Package: pango
Function pango-layout-cursor-pos
Lambda Listpango-layout-cursor-pos (layout index) ArgumentsReturn Value strong-pos -- a pango-rectangle instance with the strong cursor position (may be NULL) weak-pos -- a pango-rectangle instance the weak cursor position (may be NULL) Details
Given an index within a layout, determines the positions that of the strong
and weak cursors if the insertion point is at that index.
The position of each cursor is stored as a zero-width rectangle. The strong
cursor location is the location where characters of the directionality equal
to the base direction of the layout are inserted. The weak cursor location is
the location where characters of the directionality opposite to the base
direction of the layout are inserted. | See also |
2021-1-15