fn compute_curve_steps(e: &Edge) -> i32 {
    let dx = (e.control_x << 1) - e.x1 - e.x2;
    let dy = (e.control_y << 1) - e.y1 - e.y2;
    let shift = diff_to_shift(dx << 4, dy << 4);
    assert!(shift >= 0);
    return shift;
}
// this metric is taken from skia
this metric is taken from skia
this metric is taken from skia
fn compute_curve_steps(e: &Edge) -> i32 {
    let dx = (e.control_x << 1) - e.x1 - e.x2;
    let dy = (e.control_y << 1) - e.y1 - e.y2;
    let shift = diff_to_shift(dx << 4, dy << 4);
    assert!(shift >= 0);
    return shift;
}
fn compute_curve_steps ( e : & Edge ) -> i32 { let dx = ( e . control_x << 1 ) - e . x1 - e . x2 ; let dy = ( e . control_y << 1 ) - e . y1 - e . y2 ; let shift = diff_to_shift ( dx << 4 , dy << 4 ) ; assert ! ( shift 0 ) ; return shift ; }
this metric is taken from skia
this metric is taken from skia
e
&Edge
e
&Edge