Browse Source

rename files

pull/910/head
Anton Firszov 7 years ago
parent
commit
c07bd2fd97
  1. 0
      src/ImageSharp.Drawing/Processing/ColorStop.cs
  2. 0
      src/ImageSharp.Drawing/Processing/EllipticGradientBrush.cs
  3. 0
      src/ImageSharp.Drawing/Processing/GradientBrushBase.cs
  4. 7
      src/ImageSharp.Drawing/Processing/ImageBrush.cs
  5. 1
      src/ImageSharp.Drawing/Processing/LinearGradientBrush.cs
  6. 0
      src/ImageSharp.Drawing/Processing/PatternBrush.cs
  7. 8
      src/ImageSharp.Drawing/Processing/Pen.cs
  8. 0
      src/ImageSharp.Drawing/Processing/RadialGradientBrush.cs
  9. 1
      src/ImageSharp.Drawing/Processing/RecolorBrush.cs
  10. 0
      src/ImageSharp.Drawing/Processing/SolidBrush.cs
  11. 2
      tests/ImageSharp.Tests/Drawing/FillImageBrushTests.cs
  12. 2
      tests/ImageSharp.Tests/Drawing/FillPolygonTests.cs

0
src/ImageSharp.Drawing/Processing/ColorStop{TPixel}.cs → src/ImageSharp.Drawing/Processing/ColorStop.cs

0
src/ImageSharp.Drawing/Processing/EllipticGradientBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/EllipticGradientBrush.cs

0
src/ImageSharp.Drawing/Processing/GradientBrushBase{TPixel}.cs → src/ImageSharp.Drawing/Processing/GradientBrushBase.cs

7
src/ImageSharp.Drawing/Processing/ImageBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/ImageBrush.cs

@ -14,8 +14,7 @@ namespace SixLabors.ImageSharp.Processing
/// <summary>
/// Provides an implementation of an image brush for painting images within areas.
/// </summary>
/// <typeparam name="TPixel">The pixel format.</typeparam>
public class ImageBrush<TPixel> : IBrush
public class ImageBrush : IBrush
{
/// <summary>
/// The image to paint.
@ -23,7 +22,7 @@ namespace SixLabors.ImageSharp.Processing
private readonly Image image;
/// <summary>
/// Initializes a new instance of the <see cref="ImageBrush{TPixel}"/> class.
/// Initializes a new instance of the <see cref="ImageBrush"/> class.
/// </summary>
/// <param name="image">The image.</param>
public ImageBrush(Image image)
@ -74,7 +73,7 @@ namespace SixLabors.ImageSharp.Processing
private readonly int offsetX;
/// <summary>
/// Initializes a new instance of the <see cref="ImageBrushApplicator"/> class.
/// Initializes a new instance of the <see cref="ImageBrushApplicator{TPixel}"/> class.
/// </summary>
/// <param name="target">The target image.</param>
/// <param name="image">The image.</param>

1
src/ImageSharp.Drawing/Processing/LinearGradientBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/LinearGradientBrush.cs

@ -13,7 +13,6 @@ namespace SixLabors.ImageSharp.Processing
/// Supported right now:
/// - a set of colors in relative distances to each other.
/// </summary>
/// <typeparam name="TPixel">The pixel format</typeparam>
public sealed class LinearGradientBrush : GradientBrushBase
{

0
src/ImageSharp.Drawing/Processing/PatternBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/PatternBrush.cs

8
src/ImageSharp.Drawing/Processing/Pen{TPixel}.cs → src/ImageSharp.Drawing/Processing/Pen.cs

@ -22,7 +22,7 @@ namespace SixLabors.ImageSharp.Processing
private readonly float[] pattern;
/// <summary>
/// Initializes a new instance of the <see cref="Pen{TPixel}"/> class.
/// Initializes a new instance of the <see cref="Pen"/> class.
/// </summary>
/// <param name="color">The color.</param>
/// <param name="width">The width.</param>
@ -33,7 +33,7 @@ namespace SixLabors.ImageSharp.Processing
}
/// <summary>
/// Initializes a new instance of the <see cref="Pen{TPixel}"/> class.
/// Initializes a new instance of the <see cref="Pen"/> class.
/// </summary>
/// <param name="brush">The brush.</param>
/// <param name="width">The width.</param>
@ -46,7 +46,7 @@ namespace SixLabors.ImageSharp.Processing
}
/// <summary>
/// Initializes a new instance of the <see cref="Pen{TPixel}"/> class.
/// Initializes a new instance of the <see cref="Pen"/> class.
/// </summary>
/// <param name="color">The color.</param>
/// <param name="width">The width.</param>
@ -56,7 +56,7 @@ namespace SixLabors.ImageSharp.Processing
}
/// <summary>
/// Initializes a new instance of the <see cref="Pen{TPixel}"/> class.
/// Initializes a new instance of the <see cref="Pen"/> class.
/// </summary>
/// <param name="brush">The brush.</param>
/// <param name="width">The width.</param>

0
src/ImageSharp.Drawing/Processing/RadialGradientBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/RadialGradientBrush.cs

1
src/ImageSharp.Drawing/Processing/RecolorBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/RecolorBrush.cs

@ -15,7 +15,6 @@ namespace SixLabors.ImageSharp.Processing
/// <summary>
/// Provides an implementation of a brush that can recolor an image
/// </summary>
/// <typeparam name="TPixel">The pixel format.</typeparam>
public class RecolorBrush : IBrush
{
/// <summary>

0
src/ImageSharp.Drawing/Processing/SolidBrush{TPixel}.cs → src/ImageSharp.Drawing/Processing/SolidBrush.cs

2
tests/ImageSharp.Tests/Drawing/FillImageBrushTests.cs

@ -24,7 +24,7 @@ namespace SixLabors.ImageSharp.Tests.Drawing
{
using (var src = new Image<Rgba32>(5, 5))
{
var brush = new ImageBrush<Rgba32>(src);
var brush = new ImageBrush(src);
using (var dest = new Image<Rgba32>(10, 10))
{
dest.Mutate(c => c.Fill(brush, new Rectangle(0, 0, 10, 10)));

2
tests/ImageSharp.Tests/Drawing/FillPolygonTests.cs

@ -95,7 +95,7 @@ namespace SixLabors.ImageSharp.Tests.Drawing
using (Image<TPixel> brushImage = Image.Load<TPixel>(TestFile.Create(brushImageName).Bytes))
{
var brush = new ImageBrush<TPixel>(brushImage);
var brush = new ImageBrush(brushImage);
provider.RunValidatingProcessorTest(
c => c.FillPolygon(brush, simplePath),

Loading…
Cancel
Save