From bb2394055d9085df72e885e14c659c686bf7fae2 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 20 Jul 2005 12:13:11 +0000 Subject: [PATCH] Made fl_pie look the same in __APPLE_QD__ as in X11. This makes fl_pie draw one pixel larger than fl_arc, which is not very logical, but compatible ;-). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_arci.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fl_arci.cxx b/src/fl_arci.cxx index ca4159235..f4c56904f 100644 --- a/src/fl_arci.cxx +++ b/src/fl_arci.cxx @@ -86,7 +86,7 @@ void fl_pie(int x,int y,int w,int h,double a1,double a2) { SelectObject(fl_gc, fl_brush()); Pie(fl_gc, x, y, x+w, y+h, xa, ya, xb, yb); #elif defined(__APPLE_QD__) - Rect r; r.left=x; r.right=x+w; r.top=y; r.bottom=y+h; + Rect r; r.left=x; r.right=x+w+1; r.top=y; r.bottom=y+h+1; a1 = a2-a1; a2 = 450-a2; PaintArc(&r, (short int)a2, (short int)a1); #elif defined(__APPLE_QUARTZ__)