From 90f1370bbf7c3a6a21cfb41b637758178da9d553 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 8 Apr 2015 14:15:20 -0400 Subject: Add circle drawing/filling to xlcd Change-Id: I5d28ade42145d9d82babcf62c0db7948927cafec --- apps/plugins/lib/xlcd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugins/lib/xlcd.h') diff --git a/apps/plugins/lib/xlcd.h b/apps/plugins/lib/xlcd.h index b6d0867e01..abd5cff62b 100644 --- a/apps/plugins/lib/xlcd.h +++ b/apps/plugins/lib/xlcd.h @@ -31,6 +31,11 @@ void xlcd_filltriangle(int x1, int y1, int x2, int y2, int x3, int y3); void xlcd_filltriangle_screen(struct screen* display, int x1, int y1, int x2, int y2, int x3, int y3); +void xlcd_fillcircle(int cx, int cy, int radius); +void xlcd_fillcircle_screen(struct screen* display, int cx, int cy, int radius); +void xlcd_drawcircle(int cx, int cy, int radius); +void xlcd_drawcircle_screen(struct screen* display, int cx, int cy, int radius); + #if LCD_DEPTH >= 8 void xlcd_gray_bitmap_part(const unsigned char *src, int src_x, int src_y, int stride, int x, int y, int width, int height); -- cgit v1.2.3