http://bugs.winehq.com/show_bug.cgi?id=1153
------- Additional Comments From winebug@flonet.net 2003-28-06 09:47 ------- Bug comments restored from Gmane.org:
CreatePen() seems to subsquently render half as wide as it should be. If PS_ENDCAP_ROUND is requested, Arc() renders with (I think) PS_ENDCAP_SQUARE.
I worked around the former by changing circa line 50 in wine-20021031/graphics/ x1drv/pen.c to remove the factor "* 0.5" in the parameter to GDI_ROUND(). Example source (an FLTK fluid specification) and executable at:
http://www.afn.org/~wilson/foo.fl http://www.afn.org/~wilson/foo.exe
Line at proper width (100 pixels) will be jammed against the window frame; 270-degree arc should have round ends as well. Both look fine on W95 and WXP.
------- Additional Comments From bon@elektron.ikp.physik.tu-darmstadt.de 2002-11-17 13:46 ------- Good spotting!
I also fould in grahics.c X11DRV_DrawArc() the place where the endcap style was unconditional overwritten with the square style.
I sent a patch to wine-patches.
If Akexandre accepts and applies the patch, please close the bug
Bye
------- Additional Comments From wilson@afn.org 2002-11-25 20:11 ------- Uwe's patches appear to fix my test application. Thanks all.
------- Additional Comments From wilson@afn.org 2002-11-25 20:13 ------- Uwe asked that I close this bug, not merely mark it "Fixed".