comparison dwtest.c @ 1270:24f1dc19601d

Implemented DW_DRAW_FULL on Windows and implemented DW_DRAW_FILL for ellipses. Fixed not passing DW_DRAW_FULL in the test program.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 30 Oct 2011 01:41:14 +0000
parents 9e477efbacca
children 70efdb4e0ce9
comparison
equal deleted inserted replaced
1269:9e477efbacca 1270:24f1dc19601d
374 /* Top right corner */ 374 /* Top right corner */
375 dw_draw_arc(window, pixmap, 0, width - 30, 30, width - 30, 10, width - 10, 30); 375 dw_draw_arc(window, pixmap, 0, width - 30, 30, width - 30, 10, width - 10, 30);
376 /* Bottom left corner */ 376 /* Bottom left corner */
377 dw_draw_arc(window, pixmap, 0, 30, height - 30, 30, height - 10, 10, height - 30); 377 dw_draw_arc(window, pixmap, 0, 30, height - 30, 30, height - 10, 10, height - 30);
378 /* Full circle in the left top area */ 378 /* Full circle in the left top area */
379 dw_draw_arc(window, pixmap, 0, 100, 100, 80, 80, 120, 120); 379 dw_draw_arc(window, pixmap, DW_DRAW_FULL, 100, 100, 80, 80, 120, 120);
380 if(image) 380 if(image)
381 { 381 {
382 if(image_stretch) 382 if(image_stretch)
383 dw_pixmap_stretch_bitblt(window, pixmap, 10, 10, width - 20, height - 20, 0, image, 0, 0, (int)DW_PIXMAP_WIDTH(image), (int)DW_PIXMAP_HEIGHT(image)); 383 dw_pixmap_stretch_bitblt(window, pixmap, 10, 10, width - 20, height - 20, 0, image, 0, 0, (int)DW_PIXMAP_WIDTH(image), (int)DW_PIXMAP_HEIGHT(image));
384 else 384 else