[][src]Function olc_pixel_game_engine::draw_rect

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

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