Skip to main content

hit_test

Function hit_test 

Source
pub fn hit_test(
    fragment: &Fragment,
    spans: &SpanMap,
    tree: &Tree,
    point: Point,
) -> Cursor
Expand description

Reverse hit test from a point to the model cursor position.