student project

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Draw2D.h Source File

Draw2D.h

00001      
00002 extern void draw_Line(int x1, int y1, int x2, int y2, uint16_t fg_color, uint16_t bg_color);
00003 
00004 extern void draw_Circle(int xc, int yc, int r, uint16_t fg_color, uint16_t bg_color);
00005 
00006 extern void draw_Rectangle(int x0, int y0, int x1, int y1, uint16_t fg_color, uint16_t bg_color);
00007 
00008 extern void fill_Rectangle(int x0, int y0, int x1, int y1, uint16_t fg_color, uint16_t bg_color);
00009 
00010 extern void draw_Triangle(int x0, int y0, int x1, int y1, int x2, int y2, uint16_t fg_color, uint16_t bg_color);
00011 
00012