Mercurial > dwindows
diff dwtest.c @ 1261:61d0c5f84644
Initial attempt at adding dw_draw_arc() support on all platforms.
This code doesn't yet work... will probably require a bunch of fixes...
but I wanted to get the code committed while doing research on it.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 25 Oct 2011 10:51:59 +0000 |
parents | 2d2b945ee0bf |
children | 83b0ed8c8377 |
line wrap: on
line diff
--- a/dwtest.c Tue Oct 25 06:21:59 2011 +0000 +++ b/dwtest.c Tue Oct 25 10:51:59 2011 +0000 @@ -368,6 +368,8 @@ dw_draw_text(window, pixmap, 10, 10, "This should be aligned with the edges."); dw_color_foreground_set(DW_CLR_BLUE); dw_draw_polygon(window, pixmap, TRUE, 7, x, y); + dw_color_foreground_set(DW_CLR_CYAN); + dw_draw_arc(window, pixmap, 0, width - 40, height - 40, width - 40, height - 20, width - 20, height - 40); if(image) { if(image_stretch)