tiny_skia::line_clipper

Function sect_with_horizontal

Source
fn sect_with_horizontal(src: &[Point; 2], y: f32) -> f32
Expand description

Returns X coordinate of intersection with horizontal line at Y.