Draws a text caret on cr at the specified index of layout.
a cairo_t
X origin
Y origin
the PangoLayout of the text
the index in the PangoLayout
the PangoDirection of the text Since 3.4
See Implementation
Draws a text caret on cr at the specified index of layout.