More int casts to rounding conversions

This commit is contained in:
Lorenzo Marcantonio
2013-05-04 13:57:09 +02:00
parent b2a76062c7
commit cb49ca5ae2
29 changed files with 145 additions and 153 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ void PLOTTER::segmentAsOval( const wxPoint& start, const wxPoint& end, int width
else
orient = -ArcTangente( size.y, size.x );
size.x = KiROUND( hypot( size.x, size.y ) ) + width;
size.x = KiROUND( EuclideanNorm( size ) ) + width;
size.y = width;
FlashPadOval( center, size, orient, tracemode );