Implement explicit polygon construction for most pad shapes

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8650
This commit is contained in:
david-beinder
2021-07-13 14:51:58 +00:00
committed by jean-pierre charras
parent 395602b12a
commit 8b3ccab0a3
10 changed files with 214 additions and 218 deletions
+1 -1
View File
@@ -754,7 +754,7 @@ void DXF_PLOTTER::FlashPadRoundRect( const wxPoint& aPadPos, const wxSize& aSize
{
SHAPE_POLY_SET outline;
TransformRoundChamferedRectToPolygon( outline, aPadPos, aSize, aOrient, aCornerRadius,
0.0, 0, GetPlotterArcHighDef(), ERROR_INSIDE );
0.0, 0, 0, GetPlotterArcHighDef(), ERROR_INSIDE );
// TransformRoundRectToPolygon creates only one convex polygon
SHAPE_LINE_CHAIN& poly = outline.Outline( 0 );