Better smoothing for inflating/deflating polygons.

When the miter limit is exceeded uses round instead of square
corners.
This commit is contained in:
Jeff Young 2019-07-14 00:02:20 +01:00
parent 928d6c5dff
commit 5091f08f71
1 changed files with 1 additions and 1 deletions

View File

@ -5370,7 +5370,7 @@ void ClipperOffset::OffsetPoint( int j, int& k, JoinType jointype )
if( r >= m_miterLim )
DoMiter( j, k, r );
else
DoSquare( j, k );
DoRound( j, k );
break;
}