aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/bfc/draw/drawpoly.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Wasabi/bfc/draw/drawpoly.h')
-rw-r--r--Src/Wasabi/bfc/draw/drawpoly.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Src/Wasabi/bfc/draw/drawpoly.h b/Src/Wasabi/bfc/draw/drawpoly.h
new file mode 100644
index 00000000..c8bea56d
--- /dev/null
+++ b/Src/Wasabi/bfc/draw/drawpoly.h
@@ -0,0 +1,16 @@
+#ifndef _DRAWPOLY_H
+#define _DRAWPOLY_H
+
+#include <bfc/wasabi_std.h>
+
+class Draw {
+public:
+ static void beginPolygon(ARGB32 *bits, int w, int h, ARGB32 color);
+ static void addPoint(int x, int y);
+ static void endPolygon();
+ static void drawPointList(ARGB32 *bits, int w, int h, const wchar_t *pointlist);
+};
+
+// x,y;x,y;x,y;x,y=R,G,B|x,y;x,y;x,y;=R,G,B
+
+#endif