pub fn render_insertion_cursor(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    x: f64,
    y: f64,
    layout: &Layout,
    index: i32,
    direction: Direction
)