pub fn clear<FC: FillColor<P>>(&mut self, fill_color: &FC) {
        let image = self.image.borrow_mut();
        let (w, h) = image.dimensions();
        let inverted_matrix = self.matrix.inverse();
        for y in 0..h {
            for x in 0..w {
                let p = inverted_matrix.apply(Point(x as f64, y as f64));
                image.put_pixel(x, y, fill_color.fill_color(p.0, p.1));
            }
        }
    }
/// Clear buffer entirely with specified [`FillColor`]
Clear buffer entirely with specified [`FillColor`]
Clear buffer entirely with specified [ ` FillColor ` ]
pub fn clear<FC: FillColor<P>>(&mut self, fill_color: &FC) {
        let image = self.image.borrow_mut();
        let (w, h) = image.dimensions();
        let inverted_matrix = self.matrix.inverse();
        for y in 0..h {
            for x in 0..w {
                let p = inverted_matrix.apply(Point(x as f64, y as f64));
                image.put_pixel(x, y, fill_color.fill_color(p.0, p.1));
            }
        }
    }
pub fn clear < FC : FillColor < P > > ( & mut self , fill_color : & FC ) { let image = self . image . borrow_mut ( ) ; let ( w , h ) = image . dimensions ( ) ; let inverted_matrix = self . matrix . inverse ( ) ; for y in 0 .. h { for x in 0 .. w { let p = inverted_matrix . apply ( Point ( x as f64 , y as f64 ) ) ; image . put_pixel ( x , y , fill_color . fill_color ( p . 0 , p . 1 ) ) ; } } }
Clear buffer entirely with specified [`FillColor`]
Clear buffer entirely with specified [ ` FillColor ` ]
&mut self
fill_color
&FC