diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-07-20 12:13:11 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-07-20 12:13:11 +0000 |
| commit | bb2394055d9085df72e885e14c659c686bf7fae2 (patch) | |
| tree | 81f69441e32fb7b201c3554e750898064e5bb144 /src | |
| parent | 580ecb0048b266711b6046593c0a46136903de3e (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_arci.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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__) |
