Function rin_core::graphics::quad_bezier[][src]

pub fn quad_bezier<Point, F>(
    from: Point,
    cp1: Point,
    to: Point,
    resolution: u32,
    f: F
) where
    Point: FloatPnt + Copy,
    F: FnMut(Point),
    <Point as NumPnt>::Field: RealField,
    <Point as NumPnt>::Field: NumCast,
    <Point as NumPnt>::Coordinates: Neg,
    <<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates