diff mac/dw.m @ 1279:ee9a233f1b42

Fixed DW_DRAW_FULL for arcs on Mac. Rectangle was being created incorrectly.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 30 Oct 2011 23:58:19 +0000
parents 107e38a29eeb
children d10969835d2d
line wrap: on
line diff
--- a/mac/dw.m	Sun Oct 30 12:33:07 2011 +0000
+++ b/mac/dw.m	Sun Oct 30 23:58:19 2011 +0000
@@ -5271,7 +5271,7 @@
     /* Special case of a full circle/oval */
     if(flags & DW_DRAW_FULL)
     {
-        [aPath appendBezierPathWithOvalInRect:NSMakeRect(x1, y1, x2, y2)];
+        [aPath appendBezierPathWithOvalInRect:NSMakeRect(x1, y1, x2 - x1, y2 - y1)];
     }
     else
     {