This is why we cannot have nice things. This is why we test our changes before committing.

Pray for angus johnson who is support too many languages, and needs to find a text editor that removes trailing whitespace.
This commit is contained in:
Dick Hollenbeck 2014-01-03 18:46:06 -06:00
parent dbb72d161e
commit 84cf722541
1 changed files with 205 additions and 196 deletions

View File

@ -4255,6 +4255,15 @@ void ReversePaths(Paths& p)
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
void SimplifyPolygon(const Path &in_poly, Paths &out_polys, PolyFillType fillType)
{
Clipper c;
c.StrictlySimple(true);
c.AddPath(in_poly, ptSubject, true);
c.Execute(ctUnion, out_polys, fillType, fillType);
}
//------------------------------------------------------------------------------
void SimplifyPolygons(const Paths &in_polys, Paths &out_polys, PolyFillType fillType) void SimplifyPolygons(const Paths &in_polys, Paths &out_polys, PolyFillType fillType)
{ {
Clipper c; Clipper c;