diff dwtest.c @ 1266:83b0ed8c8377

Fixed on GTK passing angles to cairo in degrees instead of radians. Also fixed some incorrect values in the test program for the arc.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 25 Oct 2011 12:01:20 +0000
parents 61d0c5f84644
children 9e477efbacca
line wrap: on
line diff
--- a/dwtest.c	Tue Oct 25 11:14:13 2011 +0000
+++ b/dwtest.c	Tue Oct 25 12:01:20 2011 +0000
@@ -369,7 +369,7 @@
     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);
+    dw_draw_arc(window, pixmap, 0, width - 30, height - 30, width - 10, height - 30, width - 30, height - 10);
     if(image)
     {
         if(image_stretch)