NuMaker-PFM-NUC472: I2C1 LCD draw a moving circle

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers draw2D.h Source File

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