[][src]Function olc_pixel_game_engine::fill_rect

pub fn fill_rect(x: i32, y: i32, w: i32, h: i32, p: Pixel)

Fills a rectangle at (x, y) to (x+w, y+h).