Safety for negative pen widths.

This commit is contained in:
Jeff Young
2023-09-14 13:39:35 +01:00
parent 8cf291e423
commit c7e865e4a2
5 changed files with 16 additions and 5 deletions
+1 -2
View File
@@ -594,8 +594,7 @@ void PLOTTER::ThickArc( const VECTOR2D& centre, const EDA_ANGLE& aStartAngle,
}
void PLOTTER::ThickArc( const EDA_SHAPE& aArcShape,
OUTLINE_MODE aTraceMode, void* aData )
void PLOTTER::ThickArc( const EDA_SHAPE& aArcShape, OUTLINE_MODE aTraceMode, void* aData )
{
VECTOR2D center = aArcShape.getCenter();
VECTOR2D mid = aArcShape.GetArcMid();