DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2703
Version: 1.3-current
Lowered priority to "3 - Moderate".
Richard, thanks for the investigation and the hint to fix the issue.
I uploaded 3 images of Windows and Linux unittests (before and after the
patch) for others to compare.
Please see attached file fl_pie_linux.patch for a proposed fix.
AFAICT Richard's suggested fix is worth implementing. In fact, we had some
"red dots" in the previous Linux unittests that disappeared with the patch.
Linux and Windows now look more similar than before.
Are there any serious objections?
There may be a small drawing overhead involved, but I don't think that
this is something we should care about, since this is one step forward to
more platform compatibility.
Link: http://www.fltk.org/str.php?L2703
Version: 1.3-current
Index: src/fl_arci.cxx
===================================================================
--- src/fl_arci.cxx (revision 9006)
+++ src/fl_arci.cxx (working copy)
@@ -77,6 +77,7 @@
if (w <= 0 || h <= 0) return;
#if defined(USE_X11)
+ XDrawArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1,
int(a1*64),int((a2-a1)*64));
XFillArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1,
int(a1*64),int((a2-a1)*64));
#elif defined(WIN32)
if (a1 == a2) return;
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs