From 62272a32831f4d67df876a74e6351e076863a4aa Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 26 Dec 2019 11:17:12 +0100 Subject: [PATCH] Moved delegate types --- src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs | 1 - src/ImageSharp/Processing/{Delegates => }/PixelShader.cs | 2 +- .../Processing/{Delegates => }/PositionAwarePixelShader.cs | 2 +- .../Processing/Processors/PixelShading/PixelShaderProcessor.cs | 1 - .../Processors/PixelShading/PixelShaderProcessor{TPixel}.cs | 1 - .../PixelShading/PositionAwarePixelShaderProcessor.cs | 1 - .../PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs | 1 - 7 files changed, 2 insertions(+), 7 deletions(-) rename src/ImageSharp/Processing/{Delegates => }/PixelShader.cs (91%) rename src/ImageSharp/Processing/{Delegates => }/PositionAwarePixelShader.cs (94%) diff --git a/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs b/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs index 51d37caad4..36529eb70c 100644 --- a/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs +++ b/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs @@ -1,7 +1,6 @@ // Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. -using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.ImageSharp.Processing.Processors.PixelShading; using SixLabors.Primitives; diff --git a/src/ImageSharp/Processing/Delegates/PixelShader.cs b/src/ImageSharp/Processing/PixelShader.cs similarity index 91% rename from src/ImageSharp/Processing/Delegates/PixelShader.cs rename to src/ImageSharp/Processing/PixelShader.cs index 72895f14b0..0245931fb5 100644 --- a/src/ImageSharp/Processing/Delegates/PixelShader.cs +++ b/src/ImageSharp/Processing/PixelShader.cs @@ -4,7 +4,7 @@ using System; using System.Numerics; -namespace SixLabors.ImageSharp.Processing.Delegates +namespace SixLabors.ImageSharp.Processing { /// /// A representing a user defined pixel shader. diff --git a/src/ImageSharp/Processing/Delegates/PositionAwarePixelShader.cs b/src/ImageSharp/Processing/PositionAwarePixelShader.cs similarity index 94% rename from src/ImageSharp/Processing/Delegates/PositionAwarePixelShader.cs rename to src/ImageSharp/Processing/PositionAwarePixelShader.cs index 8455b9b058..63e9246b41 100644 --- a/src/ImageSharp/Processing/Delegates/PositionAwarePixelShader.cs +++ b/src/ImageSharp/Processing/PositionAwarePixelShader.cs @@ -4,7 +4,7 @@ using System; using System.Numerics; -namespace SixLabors.ImageSharp.Processing.Delegates +namespace SixLabors.ImageSharp.Processing { /// /// A representing a user defined pixel shader. diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs b/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs index 30ba4222ea..c0b333a691 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs +++ b/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor.cs @@ -2,7 +2,6 @@ // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.PixelFormats; -using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.Primitives; namespace SixLabors.ImageSharp.Processing.Processors.PixelShading diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs index 70728a4ecb..f3f8f25983 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/PixelShading/PixelShaderProcessor{TPixel}.cs @@ -5,7 +5,6 @@ using System; using System.Numerics; using SixLabors.ImageSharp.PixelFormats; -using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.ImageSharp.Processing.Processors.PixelShading.Abstract; using SixLabors.Primitives; diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs b/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs index a1fdc60821..c06d460486 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs +++ b/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor.cs @@ -2,7 +2,6 @@ // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.PixelFormats; -using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.Primitives; namespace SixLabors.ImageSharp.Processing.Processors.PixelShading diff --git a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs index 7c5eff5979..bca3286eb2 100644 --- a/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/PixelShading/PositionAwarePixelShaderProcessor{TPixel}.cs @@ -5,7 +5,6 @@ using System; using System.Numerics; using SixLabors.ImageSharp.PixelFormats; -using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.ImageSharp.Processing.Processors.PixelShading.Abstract; using SixLabors.Primitives;