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
286 stars 39 forks source link

Remove compiler conditions #288

Closed JimBobSquarePants closed 1 year ago

JimBobSquarePants commented 1 year ago

Prerequisites

Description

Removes all outdated #if...#else conditions from the code.

codecov[bot] commented 1 year ago

Codecov Report

Merging #288 (b3078c1) into main (b23aa22) will increase coverage by 0%. The diff coverage is 83%.

@@         Coverage Diff          @@
##           main   #288    +/-   ##
====================================
  Coverage    80%    80%            
====================================
  Files        99     97     -2     
  Lines      5055   4875   -180     
  Branches    919    880    -39     
====================================
- Hits       4050   3925   -125     
+ Misses      807    753    -54     
+ Partials    198    197     -1     
Flag Coverage Δ
unittests 80% <83%> (+<1%) :arrow_up:

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

Files Changed Coverage Δ
src/ImageSharp.Drawing/Shapes/Path.cs 75% <ø> (ø)
...mageSharp.Drawing/Shapes/PolygonClipper/Clipper.cs 97% <ø> (ø)
...arp.Drawing/Shapes/PolygonClipper/ClipperOffset.cs 100% <ø> (ø)
....Drawing/Shapes/PolygonClipper/PolygonOffsetter.cs 72% <0%> (-1%) :arrow_down:
...c/ImageSharp.Drawing/Utilities/NumericUtilities.cs 100% <ø> (ø)
...arp.Drawing/Shapes/Rasterization/ActiveEdgeList.cs 98% <100%> (ø)
...arp.Drawing/Shapes/Rasterization/PolygonScanner.cs 96% <100%> (ø)

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