Windows doesnt allow dashed and dotted lines > 1.

oldstable
Caolan McNamara 1999-03-10 13:58:35 +00:00 committed by Alexandre Julliard
parent 9484481c84
commit f0370548c7
1 changed files with 3 additions and 1 deletions

View File

@ -219,7 +219,9 @@ BOOL X11DRV_SetupGCForPen( DC * dc )
}
val.background = physDev->backgroundPixel;
val.fill_style = FillSolid;
if ((physDev->pen.style!=PS_SOLID) && (physDev->pen.style!=PS_INSIDEFRAME))
if ((physDev->pen.width <= 1) &&
(physDev->pen.style != PS_SOLID) &&
(physDev->pen.style != PS_INSIDEFRAME))
{
TSXSetDashes( display, physDev->gc, 0, physDev->pen.dashes,
physDev->pen.dash_len );