Polygon and line clipping and offsetting library (C++, C#, Delphi)
I use clipper library. In the figure, red and black are clips and and green are polygons. The code is …