Better drawing precision for LIB_SHAPE arcs.

This commit is contained in:
Alex Shvartzkop 2023-09-05 14:06:41 +03:00
parent a84c01b1ed
commit a3df8f8a97
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ void SCH_PAINTER::draw( const LIB_SHAPE* aShape, int aLayer, bool aDimmed )
EDA_ANGLE angle = angle1.Normalize180() + angle2.Normalize180();
m_gal->DrawArc( center, shape->GetRadius(), startAngle, angle );
m_gal->DrawArc( center, ( start - center ).EuclideanNorm(), startAngle, angle );
}
break;