Browse Source

Mac fixes

pull/1945/head
James Jackson-South 4 years ago
parent
commit
f2f719985d
  1. 4
      src/ImageSharp/Processing/Processors/Transforms/Linear/AffineTransformProcessor{TPixel}.cs
  2. 4
      src/ImageSharp/Processing/Processors/Transforms/Linear/ProjectiveTransformProcessor{TPixel}.cs

4
src/ImageSharp/Processing/Processors/Transforms/Linear/AffineTransformProcessor{TPixel}.cs

@ -266,9 +266,9 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms
float yRadius = this.yRadius;
float xRadius = this.xRadius;
int minY = this.bounds.Y;
int maxY = this.bounds.Right - 1;
int maxY = this.bounds.Bottom - 1;
int minX = this.bounds.X;
int maxX = this.bounds.Bottom - 1;
int maxX = this.bounds.Right - 1;
for (int y = rows.Min; y < rows.Max; y++)
{

4
src/ImageSharp/Processing/Processors/Transforms/Linear/ProjectiveTransformProcessor{TPixel}.cs

@ -265,9 +265,9 @@ namespace SixLabors.ImageSharp.Processing.Processors.Transforms
float yRadius = this.yRadius;
float xRadius = this.xRadius;
int minY = this.bounds.Y;
int maxY = this.bounds.Right - 1;
int maxY = this.bounds.Bottom - 1;
int minX = this.bounds.X;
int maxX = this.bounds.Bottom - 1;
int maxX = this.bounds.Right - 1;
for (int y = rows.Min; y < rows.Max; y++)
{

Loading…
Cancel
Save