direction
is positive,
then the new strong cursor position will be one position
to the right of the old cursor position. If direction
is negative,
then the new strong cursor position will be one position
to the left of the old cursor position.pangoLayoutMoveCursorVisually(object, strong, old.index, old.trailing, direction)
object
PangoLayout
] a PangoLayout
.strong
old.index
old.trailing
old.index
, if > 0, the cursor
was at the leading edge.direction
new.index
G_MAXINT
indicates that
the cursor has been moved off the end of the layout.new.trailing
new.index
to get the position where the cursor should
be displayed. This allows distinguishing the position at
the beginning of one line from the position at the end
of the preceding line. new.index
is always on the line
where the cursor should be displayed.pangoLayoutMoveCursorVisually
may move the
cursor over multiple characters when multiple characters combine
to form a single grapheme.