Nuvoton
/
NuMaker-mbed-I2C1_LCD_movingcircle
NuMaker-PFM-NUC472: I2C1 LCD draw a moving circle
draw2D.h@0:72afeb131817, 2016-10-18 (annotated)
- Committer:
- rkuo2000
- Date:
- Tue Oct 18 04:19:33 2016 +0000
- Revision:
- 0:72afeb131817
NuMaker-PFM-NUC472: I2C1 LCD draw a moving circle
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rkuo2000 | 0:72afeb131817 | 1 | |
rkuo2000 | 0:72afeb131817 | 2 | class Draw2D { |
rkuo2000 | 0:72afeb131817 | 3 | public: |
rkuo2000 | 0:72afeb131817 | 4 | void drawLine(int x1, int y1, int x2, int y2, int fgColor, int bgColor); |
rkuo2000 | 0:72afeb131817 | 5 | void drawCircle(int xc, int yc, int r, int fgColor, int bgColor); |
rkuo2000 | 0:72afeb131817 | 6 | void drawRectangle(int x0, int y0, int x1, int y1, int fgColor, int bgColor); |
rkuo2000 | 0:72afeb131817 | 7 | void drawTriangle(int x0, int y0, int x1, int y1, int x2, int y2, int fgColor, int bgColor); |
rkuo2000 | 0:72afeb131817 | 8 | }; |
rkuo2000 | 0:72afeb131817 | 9 |