ltk

Function caret_offsets_with_font

Source
pub fn caret_offsets_with_font(
    text: &str,
    size: f32,
    font: &Arc<FontFace>,
) -> Vec<f32>
Expand description

caret_offsets with font leading the resolver, as crate::Canvas::draw_text_with_font draws it.