Commit 1c3e81bf authored by Krzysztof Kotlenga's avatar Krzysztof Kotlenga Committed by Alexandre Julliard

winex11: Make pens of width = 1 scalable.

parent 6435a5dd
...@@ -71,7 +71,7 @@ HPEN X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen ) ...@@ -71,7 +71,7 @@ HPEN X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen )
physDev->pen.linejoin = logpen.lopnStyle & PS_JOIN_MASK; physDev->pen.linejoin = logpen.lopnStyle & PS_JOIN_MASK;
physDev->pen.width = logpen.lopnWidth.x; physDev->pen.width = logpen.lopnWidth.x;
if ((logpen.lopnStyle & PS_GEOMETRIC) || (physDev->pen.width > 1)) if ((logpen.lopnStyle & PS_GEOMETRIC) || (physDev->pen.width >= 1))
{ {
physDev->pen.width = X11DRV_XWStoDS( physDev, physDev->pen.width ); physDev->pen.width = X11DRV_XWStoDS( physDev, physDev->pen.width );
if (physDev->pen.width < 0) physDev->pen.width = -physDev->pen.width; if (physDev->pen.width < 0) physDev->pen.width = -physDev->pen.width;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment