plotters_backend::rasterizer

Function draw_line

Source
pub fn draw_line<DB: DrawingBackend, S: BackendStyle>(
    back: &mut DB,
    from: BackendCoord,
    to: BackendCoord,
    style: &S,
) -> Result<(), DrawingErrorKind<DB::ErrorType>>