From 83f1f796ceccd8740337e023c03a8bad8de01ebb Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Thu, 5 Jan 2017 11:21:15 +0000 Subject: [PATCH] style :cop: --- src/ImageSharp.Drawing/Paths/InternalPath.cs | 2 +- src/ImageSharp.Drawing/Processors/FillShapeProcessor.cs | 1 - src/ImageSharp.Drawing/Shapes/BezierPolygon.cs | 2 +- src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs | 2 +- src/ImageSharp.Drawing/Shapes/IShape.cs | 2 +- src/ImageSharp.Drawing/Shapes/LinearPolygon.cs | 2 +- src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs | 4 ++-- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/ImageSharp.Drawing/Paths/InternalPath.cs b/src/ImageSharp.Drawing/Paths/InternalPath.cs index 7bb9134e7..36a0704cb 100644 --- a/src/ImageSharp.Drawing/Paths/InternalPath.cs +++ b/src/ImageSharp.Drawing/Paths/InternalPath.cs @@ -257,7 +257,7 @@ namespace ImageSharp.Drawing.Paths /// The line1 end. /// The line2 start. /// The line2 end. - /// + /// Returns true it the bounding box of the 2 lines intersect private static bool BoundingBoxesIntersect(Vector2 line1Start, Vector2 line1End, Vector2 line2Start, Vector2 line2End) { Vector2 topLeft1 = Vector2.Min(line1Start, line1End); diff --git a/src/ImageSharp.Drawing/Processors/FillShapeProcessor.cs b/src/ImageSharp.Drawing/Processors/FillShapeProcessor.cs index d7469b752..36f89f8ec 100644 --- a/src/ImageSharp.Drawing/Processors/FillShapeProcessor.cs +++ b/src/ImageSharp.Drawing/Processors/FillShapeProcessor.cs @@ -211,7 +211,6 @@ namespace ImageSharp.Drawing.Processors } }); - if (this.options.Antialias) { // we only need to do the X can for antialiasing purposes diff --git a/src/ImageSharp.Drawing/Shapes/BezierPolygon.cs b/src/ImageSharp.Drawing/Shapes/BezierPolygon.cs index 33b84e2d9..b69ded207 100644 --- a/src/ImageSharp.Drawing/Shapes/BezierPolygon.cs +++ b/src/ImageSharp.Drawing/Shapes/BezierPolygon.cs @@ -52,7 +52,7 @@ namespace ImageSharp.Drawing.Shapes public float Distance(Vector2 point) => this.innerPolygon.Distance(point); /// - /// Based on a line described by and + /// Based on a line described by and /// populate a buffer for all points on the polygon that the line intersects. /// /// The start point of the line. diff --git a/src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs b/src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs index 2e528c76a..fd709719c 100644 --- a/src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs +++ b/src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs @@ -113,7 +113,7 @@ namespace ImageSharp.Drawing.Shapes } /// - /// Based on a line described by and + /// Based on a line described by and /// populate a buffer for all points on all the polygons, that make up this complex shape, /// that the line intersects. /// diff --git a/src/ImageSharp.Drawing/Shapes/IShape.cs b/src/ImageSharp.Drawing/Shapes/IShape.cs index 603eab420..242e3bd8e 100644 --- a/src/ImageSharp.Drawing/Shapes/IShape.cs +++ b/src/ImageSharp.Drawing/Shapes/IShape.cs @@ -40,7 +40,7 @@ namespace ImageSharp.Drawing.Shapes float Distance(Vector2 point); /// - /// Based on a line described by and + /// Based on a line described by and /// populate a buffer for all points on the polygon that the line intersects. /// /// The start point of the line. diff --git a/src/ImageSharp.Drawing/Shapes/LinearPolygon.cs b/src/ImageSharp.Drawing/Shapes/LinearPolygon.cs index fb851f30a..30a30c20f 100644 --- a/src/ImageSharp.Drawing/Shapes/LinearPolygon.cs +++ b/src/ImageSharp.Drawing/Shapes/LinearPolygon.cs @@ -58,7 +58,7 @@ namespace ImageSharp.Drawing.Shapes public float Distance(Vector2 point) => this.innerPolygon.Distance(point); /// - /// Based on a line described by and + /// Based on a line described by and /// populate a buffer for all points on the polygon that the line intersects. /// /// The start point of the line. diff --git a/src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs b/src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs index 6be73dda8..5002bee40 100644 --- a/src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs +++ b/src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs @@ -150,8 +150,8 @@ namespace ImageSharp.Drawing.Shapes } /// - /// Based on a line described by and - /// populate a buffer for all points on the edges of the + /// Based on a line described by and + /// populate a buffer for all points on the edges of the /// that the line intersects. /// /// The start point of the line.