draw_rect

Function draw_rect 

Source
pub fn draw_rect(
    x: c_int,
    y: c_int,
    width: c_int,
    height: c_int,
    color: LCDColor,
)
Expand description

Draws a width by height rect at x, y.

This function is shorthand for Graphics::draw_rect, using default ZST end-point.

Equivalent to sys::ffi::playdate_graphics::drawRect.