From 92e2eac3ff8eb457d30238cbd9fc747aa68b23c9 Mon Sep 17 00:00:00 2001 From: "richard.lion.heart.gl" Date: Mon, 20 Sep 2010 07:12:22 +0000 Subject: [PATCH] git-svn-id: https://rt-thread.googlecode.com/svn/trunk@918 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/rtgui/include/rtgui/dc.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/rtgui/include/rtgui/dc.h b/components/rtgui/include/rtgui/dc.h index c1b1857d15..f9276b6764 100644 --- a/components/rtgui/include/rtgui/dc.h +++ b/components/rtgui/include/rtgui/dc.h @@ -79,7 +79,12 @@ void rtgui_dc_destory(struct rtgui_dc* dc); void rtgui_dc_draw_line (struct rtgui_dc* dc, int x1, int y1, int x2, int y2); void rtgui_dc_draw_rect (struct rtgui_dc* dc, struct rtgui_rect* rect); -void rtgui_dc_draw_round_rect(struct rtgui_dc* dc, struct rtgui_rect* rect); +void rtgui_dc_fill_rect_forecolor(struct rtgui_dc* dc, struct rtgui_rect* rect); +void rtgui_dc_draw_round_rect(struct rtgui_dc* dc, struct rtgui_rect* rect, int r); +void rtgui_dc_fill_round_rect(struct rtgui_dc* dc, struct rtgui_rect* rect, int r); +void rtgui_dc_draw_annulus(struct rtgui_dc *dc, rt_int16_t x, rt_int16_t y, rt_int16_t r1, rt_int16_t r2, rt_int16_t start, rt_int16_t end); +void rtgui_dc_draw_sector(struct rtgui_dc *dc, rt_int16_t x, rt_int16_t y, rt_int16_t r, rt_int16_t start, rt_int16_t end); +void rtgui_dc_fill_sector(struct rtgui_dc *dc, rt_int16_t x, rt_int16_t y, rt_int16_t r, rt_int16_t start, rt_int16_t end); void rtgui_dc_draw_text (struct rtgui_dc* dc, const char* text, struct rtgui_rect* rect);