SixLabors / ImageSharp.Drawing

:pen: Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.
https://sixlabors.com/products/imagesharp-drawing/
Other
285 stars 38 forks source link

Clipper upstream fixes #282

Closed JimBobSquarePants closed 1 year ago

JimBobSquarePants commented 1 year ago

Prerequisites

Description

Updates the polygon clipping code to include all relevant upstream fixes. Also includes some minor cleanup.

codecov[bot] commented 1 year ago

Codecov Report

Merging #282 (85ec501) into main (072ecd7) will increase coverage by 1%. The diff coverage is 42%.

@@         Coverage Diff         @@
##           main   #282   +/-   ##
===================================
+ Coverage    79%    80%   +1%     
===================================
  Files        97     97           
  Lines      5088   5020   -68     
  Branches    947    919   -28     
===================================
+ Hits       4021   4025    +4     
+ Misses      868    796   -72     
  Partials    199    199           
Flag Coverage Δ
unittests 80% <42%> (+1%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...ImageSharp.Drawing/Processing/PathGradientBrush.cs 82% <ø> (-1%) :arrow_down:
...mageSharp.Drawing/Shapes/PolygonClipper/BoundsF.cs 0% <0%> (ø)
...harp.Drawing/Shapes/PolygonClipper/ClipperUtils.cs 39% <37%> (-3%) :arrow_down:
...rp.Drawing/Shapes/PolygonClipper/PolygonClipper.cs 68% <75%> (+3%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more