We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4feb7b7 commit aca4e24Copy full SHA for aca4e24
1 file changed
src/ImageSharp.Drawing/Shapes/PolygonClipper/Clipper.cs
@@ -68,11 +68,11 @@ public IPath[] GenerateClippedShapes()
68
69
for (int i = 0; i < openPaths.Count; i++)
70
{
71
- var points = new PointF[closedPaths[i].Count];
+ var points = new PointF[openPaths[i].Count];
72
73
- for (int j = 0; j < closedPaths[i].Count; j++)
+ for (int j = 0; j < openPaths[i].Count; j++)
74
75
- Point64 p = closedPaths[i][j];
+ Point64 p = openPaths[i][j];
76
77
// to make the floating point polygons compatable with clipper we had
78
// to scale them up to make them ints but still retain some level of precision
0 commit comments