Browse Source

Fixing stylecop warnings on whitespace and usings.

pull/43/head
Olivia 10 years ago
parent
commit
dcb6d1fa52
  1. 1
      src/ImageSharp/Colors/PackedPixel/IPackedPixel.cs
  2. 4
      src/ImageSharp/Drawing/Brushes/Brushes`2.cs
  3. 2
      src/ImageSharp/Drawing/Brushes/PatternBrush`2.cs
  4. 1
      src/ImageSharp/Drawing/Draw.cs
  5. 2
      src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs

1
src/ImageSharp/Colors/PackedPixel/IPackedPixel.cs

@ -6,6 +6,7 @@
namespace ImageSharp namespace ImageSharp
{ {
using System; using System;
/// <summary> /// <summary>
/// An interface that represents a packed pixel type. /// An interface that represents a packed pixel type.
/// </summary> /// </summary>

4
src/ImageSharp/Drawing/Brushes/Brushes`2.cs

@ -3,10 +3,10 @@
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// </copyright> // </copyright>
using System;
namespace ImageSharp.Drawing.Brushes namespace ImageSharp.Drawing.Brushes
{ {
using System;
/// <summary> /// <summary>
/// A collection of methods for creating generic brushes. /// A collection of methods for creating generic brushes.
/// </summary> /// </summary>

2
src/ImageSharp/Drawing/Brushes/PatternBrush`2.cs

@ -5,10 +5,10 @@
namespace ImageSharp.Drawing.Brushes namespace ImageSharp.Drawing.Brushes
{ {
using System;
using System.Numerics; using System.Numerics;
using Processors; using Processors;
using System;
/// <summary> /// <summary>
/// Provides an implementation of a pattern brush for painting patterns. /// Provides an implementation of a pattern brush for painting patterns.

1
src/ImageSharp/Drawing/Draw.cs

@ -220,6 +220,7 @@ namespace ImageSharp
{ {
return source.DrawPolygon(pen, new Polygon(new LinearLineSegment(points)), options); return source.DrawPolygon(pen, new Polygon(new LinearLineSegment(points)), options);
} }
/// <summary> /// <summary>
/// Draws the provided Points as a closed Linear Polygon with the provided Pen. /// Draws the provided Points as a closed Linear Polygon with the provided Pen.
/// </summary> /// </summary>

2
src/ImageSharp/Drawing/Processors/DrawPathProcessor.cs

@ -134,7 +134,7 @@ namespace ImageSharp.Drawing.Processors
currentPoint.X = offsetX; currentPoint.X = offsetX;
currentPoint.Y = offsetY; currentPoint.Y = offsetY;
var dist = Closest(currentPoint); var dist = this.Closest(currentPoint);
var color = applicator.GetColor(dist); var color = applicator.GetColor(dist);

Loading…
Cancel
Save