pub fn render(&self) -> BezPath {
        let mut result = BezPath::new();
        result.move_to(self.pts[0]);
        for i in 0..self.pts.len() - 1 {
            let (hb, seg) = self.get_hyperbezier(i);
            let p = self.pts[i];
            let d = seg.d;
            let a = Affine::new([d.x, d.y, -d.y, d.x, p.x, p.y]);
            let curve = hb.render(64);
            for el in curve.elements().iter().skip(1) {
                result.push(a * *el);
            }
        }
        result
    }
/// Render the spline to a bezier path.
///
/// This should probably take an accuracy parameter as well, but
/// at the moment there are accuracy problems, particularly at
/// high tension.
Render the spline to a bezier path.
This should probably take an accuracy parameter as well, but
at the moment there are accuracy problems, particularly at
high tension.
Render the spline to a bezier path . This should probably take an accuracy parameter as well but at the moment there are accuracy problems particularly at high tension .
pub fn render(&self) -> BezPath {
        let mut result = BezPath::new();
        result.move_to(self.pts[0]);
        for i in 0..self.pts.len() - 1 {
            let (hb, seg) = self.get_hyperbezier(i);
            let p = self.pts[i];
            let d = seg.d;
            let a = Affine::new([d.x, d.y, -d.y, d.x, p.x, p.y]);
            let curve = hb.render(64);
            for el in curve.elements().iter().skip(1) {
                result.push(a * *el);
            }
        }
        result
    }
pub fn render ( & self ) -> BezPath { let mut result = BezPath :: new ( ) ; result . move_to ( self . pts [ 0 ] ) ; for i in 0 .. self . pts . len ( ) - 1 { let ( hb , seg ) = self . get_hyperbezier ( i ) ; let p = self . pts [ i ] ; let d = seg . d ; let a = Affine :: new ( [ d . x , d . y , - d . y , d . x , p . x , p . y ] ) ; let curve = hb . render ( 64 ) ; for el in curve . elements ( ) . iter ( ) . skip ( 1 ) { result . push ( a * * el ) ; } } result }
Render the spline to a bezier path.
Render the spline to a bezier path .
&self
&self