fn rect(&mut self, x1: f32, y1: f32, x2: f32, y2: f32) {
        for d in draw_rect(x1, y1, x2, y2) {
            self.draw(d);
        }
    }
///
/// Draws a rectangle between particular coordinates
///
Draws a rectangle between particular coordinates
Draws a rectangle between particular coordinates
fn rect(&mut self, x1: f32, y1: f32, x2: f32, y2: f32) {
        for d in draw_rect(x1, y1, x2, y2) {
            self.draw(d);
        }
    }
fn rect ( & mut self , x1 : f32 , y1 : f32 , x2 : f32 , y2 : f32 ) { for d in draw_rect ( x1 , y1 , x2 , y2 ) { self . draw ( d ) ; } }
Draws a rectangle between particular coordinates
Draws a rectangle between particular coordinates
&mut self
x1
f32
y1
f32
x2
f32
y2
f32