diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | src/fl_arci.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7 - Documentation fixes (STR #648, STR #692, STR #730, STR #744, STR #745, STR #942) + - Made pie drawing size for WIN32 and OS X the same as X11 (STR #905) - Fixed OS X issue with OpenGL windows inside of Tabs (STR #602) - Fluid Code Editor would occasionally not draw the last character in the buffer (STR #798) diff --git a/src/fl_arci.cxx b/src/fl_arci.cxx index f4c56904f..39116b1e2 100644 --- a/src/fl_arci.cxx +++ b/src/fl_arci.cxx @@ -84,7 +84,7 @@ void fl_pie(int x,int y,int w,int h,double a1,double a2) { int xb = x+w/2+int(w*cos(a2/180.0*M_PI)); int yb = y+h/2-int(h*sin(a2/180.0*M_PI)); SelectObject(fl_gc, fl_brush()); - Pie(fl_gc, x, y, x+w, y+h, xa, ya, xb, yb); + Pie(fl_gc, x, y, x+w+1, y+h+1, xa, ya, xb, yb); #elif defined(__APPLE_QD__) Rect r; r.left=x; r.right=x+w+1; r.top=y; r.bottom=y+h+1; a1 = a2-a1; a2 = 450-a2; |
