drawpoly.h 366 B

12345678910111213141516
  1. #ifndef _DRAWPOLY_H
  2. #define _DRAWPOLY_H
  3. #include <bfc/wasabi_std.h>
  4. class Draw {
  5. public:
  6. static void beginPolygon(ARGB32 *bits, int w, int h, ARGB32 color);
  7. static void addPoint(int x, int y);
  8. static void endPolygon();
  9. static void drawPointList(ARGB32 *bits, int w, int h, const wchar_t *pointlist);
  10. };
  11. // x,y;x,y;x,y;x,y=R,G,B|x,y;x,y;x,y;=R,G,B
  12. #endif