diff options
Diffstat (limited to 'src/px.h')
-rw-r--r-- | src/px.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -88,6 +88,9 @@ void pxRect(int x0, int y0, int x1, int y1, PxCol col); /* Draw filled rectangle. */ void pxRectfill(int x0, int y0, int x1, int y1, PxCol col); +/* Draw line. */ +void pxLine(int x0, int y0, int x1, int y1, PxCol col); + /* Draw sprite. */ #define pxSpr(...) _pxSpr(&(const PxSprArgs){ \ .x=0, .y=0, .ix=0, .iy=0, .w=-1, .h=-1, .flip_x=false, .flip_x=false, \ |