[Bug 1153] New: - Pen width, style SNAFU
wine-bugs at winehq.com
wine-bugs at winehq.com
Sun Nov 17 12:37:41 CST 2002
http://bugs.winehq.com/show_bug.cgi?id=1153
Summary: Pen width, style SNAFU
Product: Wine
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-x11driver
AssignedTo: wine-bugs at winehq.com
ReportedBy: wilson at afn.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.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1153>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
More information about the wine-bugs
mailing list