Browse Source

style 👮

pull/71/head
Scott Williams 9 years ago
parent
commit
83f1f796ce
  1. 2
      src/ImageSharp.Drawing/Paths/InternalPath.cs
  2. 1
      src/ImageSharp.Drawing/Processors/FillShapeProcessor.cs
  3. 2
      src/ImageSharp.Drawing/Shapes/BezierPolygon.cs
  4. 2
      src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs
  5. 2
      src/ImageSharp.Drawing/Shapes/IShape.cs
  6. 2
      src/ImageSharp.Drawing/Shapes/LinearPolygon.cs
  7. 4
      src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs

2
src/ImageSharp.Drawing/Paths/InternalPath.cs

@ -257,7 +257,7 @@ namespace ImageSharp.Drawing.Paths
/// <param name="line1End">The line1 end.</param>
/// <param name="line2Start">The line2 start.</param>
/// <param name="line2End">The line2 end.</param>
/// <returns></returns>
/// <returns>Returns true it the bounding box of the 2 lines intersect</returns>
private static bool BoundingBoxesIntersect(Vector2 line1Start, Vector2 line1End, Vector2 line2Start, Vector2 line2End)
{
Vector2 topLeft1 = Vector2.Min(line1Start, line1End);

1
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

2
src/ImageSharp.Drawing/Shapes/BezierPolygon.cs

@ -52,7 +52,7 @@ namespace ImageSharp.Drawing.Shapes
public float Distance(Vector2 point) => this.innerPolygon.Distance(point);
/// <summary>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// populate a buffer for all points on the polygon that the line intersects.
/// </summary>
/// <param name="start">The start point of the line.</param>

2
src/ImageSharp.Drawing/Shapes/ComplexPolygon.cs

@ -113,7 +113,7 @@ namespace ImageSharp.Drawing.Shapes
}
/// <summary>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// populate a buffer for all points on all the polygons, that make up this complex shape,
/// that the line intersects.
/// </summary>

2
src/ImageSharp.Drawing/Shapes/IShape.cs

@ -40,7 +40,7 @@ namespace ImageSharp.Drawing.Shapes
float Distance(Vector2 point);
/// <summary>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// populate a buffer for all points on the polygon that the line intersects.
/// </summary>
/// <param name="start">The start point of the line.</param>

2
src/ImageSharp.Drawing/Shapes/LinearPolygon.cs

@ -58,7 +58,7 @@ namespace ImageSharp.Drawing.Shapes
public float Distance(Vector2 point) => this.innerPolygon.Distance(point);
/// <summary>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// populate a buffer for all points on the polygon that the line intersects.
/// </summary>
/// <param name="start">The start point of the line.</param>

4
src/ImageSharp.Drawing/Shapes/RectangularPolygon.cs

@ -150,8 +150,8 @@ namespace ImageSharp.Drawing.Shapes
}
/// <summary>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// populate a buffer for all points on the edges of the <see cref="RectangularPolygon"/>
/// Based on a line described by <paramref name="start"/> and <paramref name="end"/>
/// populate a buffer for all points on the edges of the <see cref="RectangularPolygon"/>
/// that the line intersects.
/// </summary>
/// <param name="start">The start point of the line.</param>

Loading…
Cancel
Save