plotters_backend::rasterizer

Function draw_rect

Source
pub fn draw_rect<B: DrawingBackend, S: BackendStyle>(
    b: &mut B,
    upper_left: BackendCoord,
    bottom_right: BackendCoord,
    style: &S,
    fill: bool,
) -> Result<(), DrawingErrorKind<B::ErrorType>>