[Bug 1153] Pen width, style SNAFU
Wine Bugs
wine-bugs at winehq.com
Sat Jun 28 09:47:16 CDT 2003
http://bugs.winehq.com/show_bug.cgi?id=1153
------- Additional Comments From winebug at 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 at 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 at afn.org 2002-11-25 20:11 -------
Uwe's patches appear to fix my test application. Thanks all.
------- Additional Comments From wilson at afn.org 2002-11-25 20:13 -------
Uwe asked that I close this bug, not merely mark it "Fixed".
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list