tiny_skia::path_geometry

Function chop_quad_at_y_extrema

Source
pub fn chop_quad_at_y_extrema(src: &[Point; 3], dst: &mut [Point; 5]) -> usize
Expand description

Returns 0 for 1 quad, and 1 for two quads, either way the answer is stored in dst[].

Guarantees that the 1/2 quads will be monotonic.