Function tiny_skia::path_geometry::chop_quad_at_x_extrema

source ยท
pub fn chop_quad_at_x_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.