interference/src/draw.c

10 lines
203 B
C

#include <gint/display.h>
void
draw_rectangle(int x, int y, int w, int h, int c)
{
/* draw a rectangle at a given position (x, y) with a given size (w, h)
*/
drect(x, y, x + w - 1, y + h - 1, c);
}