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
This commit is contained in:
Matthias Melcher 2005-07-20 12:13:11 +00:00
parent 580ecb0048
commit bb2394055d

View File

@ -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__)