Skip to content

Commit 4508288

Browse files
committed
add more comments
1 parent a516973 commit 4508288

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ImageSharp.Drawing/Shapes/Rasterization/PolygonScanner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ private void SkipEdgesBeforeMinY()
153153

154154
if (!hasMore0 && !hasMore1)
155155
{
156+
// The entire polygon is outside the scan region, we skipped all edges,
157+
// scanning will not find any intersections.
156158
break;
157159
}
158160

0 commit comments

Comments
 (0)