Resetting polygon inflate/deflate defaults
These are used in too many places throughout pcbnew to change all polygons. If we need different rounding, we'll want to implement them on a per-call basis.
This commit is contained in:
parent
f2db7ecbe4
commit
ae0bdb96e5
|
@ -885,10 +885,10 @@ class SHAPE_POLY_SET : public SHAPE
|
|||
* ROUND_ALL_CORNERS to round regardless of angles
|
||||
*/
|
||||
void Inflate( int aAmount, int aCircleSegmentsCount,
|
||||
CORNER_STRATEGY aCornerStrategy = CHOP_ACUTE_CORNERS );
|
||||
CORNER_STRATEGY aCornerStrategy = ROUND_ALL_CORNERS );
|
||||
|
||||
void Deflate( int aAmount, int aCircleSegmentsCount,
|
||||
CORNER_STRATEGY aCornerStrategy = CHOP_ACUTE_CORNERS )
|
||||
CORNER_STRATEGY aCornerStrategy = ROUND_ALL_CORNERS )
|
||||
{
|
||||
Inflate( -aAmount, aCircleSegmentsCount, aCornerStrategy );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue