Commit 84cf7225 authored by Dick Hollenbeck's avatar Dick Hollenbeck

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.
parent dbb72d16
...@@ -4255,6 +4255,15 @@ void ReversePaths(Paths& p) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment