using Clipper2Lib;
using System.Drawing;
private void button5_Click(object sender, EventArgs e)
{
List<PointD> points11 = new List<PointD>() { new PointD(10.0 + 200, 10.0 + 200), new PointD(100.0 + 200, 10.0 + 200), new PointD(100.0 + 200, 100.0 + 200), new PointD(50.0 + 200, 150.0 + 200), new PointD(10.0 + 200, 100.0 + 200) };
//PointD pp1 = new PointD(200, 200);
//PathD path1 = Clipper.Ellipse(pp1, 100, 100, 36);
PathD path1 = new PathD(points11);
publcs.p1 = new PathsD();
publcs.p1.Add(path1);
PointD pp2 = new PointD(150, 150);
PathD path2 = Clipper.Ellipse(pp2, 120);
publcs.p2 = new PathsD();
publcs.p2.Add(path2);
publcs.p4 = Clipper.Difference(publcs.p1, publcs.p2, FillRule.NonZero);
aaa = true;
Refresh();
}