Fix a bunch of errors involving implied line widths in plotters.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20818
This commit is contained in:
Jeff Young
2025-05-01 16:37:08 +01:00
parent 5374bffb8e
commit 1f07c28999
10 changed files with 88 additions and 109 deletions
+2 -3
View File
@@ -542,10 +542,9 @@ void DXF_PLOTTER::PlotPoly( const std::vector<VECTOR2I>& aCornerList, FILL_T aFi
return;
}
// if the polygon outline has thickness, and is not filled
// (i.e. is a polyline) plot outlines with thick segments
if( aWidth > 0 && aFill == FILL_T::NO_FILL )
else if( aFill == FILL_T::NO_FILL )
{
MoveTo( aCornerList[0] );
@@ -734,7 +733,7 @@ void DXF_PLOTTER::FlashPadOval( const VECTOR2I& aPos, const VECTOR2I& aSize,
orient += ANGLE_90;
}
sketchOval( aPos, size, orient, -1 );
sketchOval( aPos, size, orient, USE_DEFAULT_LINE_WIDTH );
}