joseph chen
/
myiot
student project
Diff: include/Draw2D.h
- Revision:
- 0:94c1a94c5a47
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/Draw2D.h Sun May 08 02:49:10 2016 +0000 @@ -0,0 +1,12 @@ + +extern void draw_Line(int x1, int y1, int x2, int y2, uint16_t fg_color, uint16_t bg_color); + +extern void draw_Circle(int xc, int yc, int r, uint16_t fg_color, uint16_t bg_color); + +extern void draw_Rectangle(int x0, int y0, int x1, int y1, uint16_t fg_color, uint16_t bg_color); + +extern void fill_Rectangle(int x0, int y0, int x1, int y1, uint16_t fg_color, uint16_t bg_color); + +extern void draw_Triangle(int x0, int y0, int x1, int y1, int x2, int y2, uint16_t fg_color, uint16_t bg_color); + +