plotters 0.3.3

A Rust drawing library focus on data plotting for both WASM and native applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::prelude::*;

#[cfg(feature = "svg_backend")]
#[test]
fn regression_test_issue_267() {
    let p1 = (338, 122);
    let p2 = (365, 122);

    let mut backend = SVGBackend::new("blub.png", (800, 600));

    backend
        .draw_line(p1, p2, &RGBColor(0, 0, 0).stroke_width(0))
        .unwrap();
}