Nuvoton
/
NuMaker-mbed-I2C1_LCD_movingcircle
NuMaker-PFM-NUC472: I2C1 LCD draw a moving circle
Embed:
(wiki syntax)
Show/hide line numbers
draw2D.h
00001 00002 class Draw2D { 00003 public: 00004 void drawLine(int x1, int y1, int x2, int y2, int fgColor, int bgColor); 00005 void drawCircle(int xc, int yc, int r, int fgColor, int bgColor); 00006 void drawRectangle(int x0, int y0, int x1, int y1, int fgColor, int bgColor); 00007 void drawTriangle(int x0, int y0, int x1, int y1, int x2, int y2, int fgColor, int bgColor); 00008 }; 00009
Generated on Wed Jul 20 2022 17:53:20 by 1.7.2