[][src]Function nannou::ui::prelude::text::cursor::xys_per_line

Important traits for XysPerLine<'a, I>
pub fn xys_per_line<I>(
    lines_with_rects: I,
    font: &'a Font<'static>,
    text: &'a str,
    font_size: u32
) -> XysPerLine<'a, I>

Every possible cursor position within each line of text yielded by the given iterator.

Yields (xs, y_range), where y_range is the Range occupied by the line across the y axis and xs is every possible cursor position along the x axis