Function rin::graphics::bezier[][src]

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