pub fn gen_canvas_mapping() -> Canvas {
        let mut canvas = Canvas::new();
        let color = "#bfbfbf";
        canvas
            .set_face_color("None")
            .set_edge_color(color)
            .set_line_width(2.0)
            .draw_circle(0.0, 0.0, RMIN);
        canvas.draw_circle(0.0, 0.0, RMAX);
        canvas.set_edge_color(color).set_line_width(2.0);
        canvas.draw_polyline(&[[0.0, 0.0], [RMAX * f64::cos(AMIN), RMAX * f64::sin(AMIN)]], false);
        canvas.draw_polyline(&[[0.0, 0.0], [RMAX * f64::cos(AMAX), RMAX * f64::sin(AMAX)]], false);
        canvas
    }
/// Generates the Canvas for the mapping used in tests
Generates the Canvas for the mapping used in tests
Generates the Canvas for the mapping used in tests
pub fn gen_canvas_mapping() -> Canvas {
        let mut canvas = Canvas::new();
        let color = "#bfbfbf";
        canvas
            .set_face_color("None")
            .set_edge_color(color)
            .set_line_width(2.0)
            .draw_circle(0.0, 0.0, RMIN);
        canvas.draw_circle(0.0, 0.0, RMAX);
        canvas.set_edge_color(color).set_line_width(2.0);
        canvas.draw_polyline(&[[0.0, 0.0], [RMAX * f64::cos(AMIN), RMAX * f64::sin(AMIN)]], false);
        canvas.draw_polyline(&[[0.0, 0.0], [RMAX * f64::cos(AMAX), RMAX * f64::sin(AMAX)]], false);
        canvas
    }
pub fn gen_canvas_mapping ( ) -> Canvas { let mut canvas = Canvas :: new ( ) ; let color = " " ; canvas . set_face_color ( " " ) . set_edge_color ( color ) . set_line_width ( 2.0 ) . draw_circle ( 0.0 , 0.0 , RMIN ) ; canvas . draw_circle ( 0.0 , 0.0 , RMAX ) ; canvas . set_edge_color ( color ) . set_line_width ( 2.0 ) ; canvas . draw_polyline ( & [ [ 0.0 , 0.0 ] , [ RMAX * f64 :: cos ( AMIN ) , RMAX * f64 :: sin ( AMIN ) ] ] , false ) ; canvas . draw_polyline ( & [ [ 0.0 , 0.0 ] , [ RMAX * f64 :: cos ( AMAX ) , RMAX * f64 :: sin ( AMAX ) ] ] , false ) ; canvas }
Generates the Canvas for the mapping used in tests
Generates the Canvas for the mapping used in tests