Windows doesnt allow dashed and dotted lines > 1.
This commit is contained in:
parent
9484481c84
commit
f0370548c7
|
@ -219,7 +219,9 @@ BOOL X11DRV_SetupGCForPen( DC * dc )
|
||||||
}
|
}
|
||||||
val.background = physDev->backgroundPixel;
|
val.background = physDev->backgroundPixel;
|
||||||
val.fill_style = FillSolid;
|
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,
|
TSXSetDashes( display, physDev->gc, 0, physDev->pen.dashes,
|
||||||
physDev->pen.dash_len );
|
physDev->pen.dash_len );
|
||||||
|
|
Loading…
Reference in New Issue