Nuvoton
/
NuMaker-mbed-I2C1_LCD_movingcircle
NuMaker-PFM-NUC472: I2C1 LCD draw a moving circle
draw2D.h@1:219b99b987f0, 2017-07-11 (annotated)
- Committer:
- ccli8
- Date:
- Tue Jul 11 13:41:06 2017 +0800
- Revision:
- 1:219b99b987f0
- Parent:
- 0:72afeb131817
Update mbed-os to mbed-os-5.5.2
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 |