summaryrefslogtreecommitdiff
path: root/src/px.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/px.h')
-rw-r--r--src/px.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/px.h b/src/px.h
index 713f245..9eb9610 100644
--- a/src/px.h
+++ b/src/px.h
@@ -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, \