Better smoothing for inflating/deflating polygons.
When the miter limit is exceeded uses round instead of square corners.
This commit is contained in:
parent
928d6c5dff
commit
5091f08f71
|
@ -5370,7 +5370,7 @@ void ClipperOffset::OffsetPoint( int j, int& k, JoinType jointype )
|
||||||
if( r >= m_miterLim )
|
if( r >= m_miterLim )
|
||||||
DoMiter( j, k, r );
|
DoMiter( j, k, r );
|
||||||
else
|
else
|
||||||
DoSquare( j, k );
|
DoRound( j, k );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue