From bdd69f89cd8d3c7a6f3058f63100d24de6df25c8 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Fri, 20 Dec 2019 14:16:34 +0100 Subject: [PATCH] Minor code refactoring --- src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs | 1 + .../{ => PixelShading}/DelegatePixelShaderProcessor.cs | 2 +- .../{ => PixelShading}/DelegatePixelShaderProcessor{TPixel}.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename src/ImageSharp/Processing/Processors/{ => PixelShading}/DelegatePixelShaderProcessor.cs (95%) rename src/ImageSharp/Processing/Processors/{ => PixelShading}/DelegatePixelShaderProcessor{TPixel}.cs (97%) diff --git a/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs b/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs index 96783ba6e..bad705a4d 100644 --- a/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs +++ b/src/ImageSharp/Processing/Extensions/PixelShaderExtensions.cs @@ -3,6 +3,7 @@ using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.ImageSharp.Processing.Processors; +using SixLabors.ImageSharp.Processing.Processors.PixelShading; using SixLabors.Primitives; namespace SixLabors.ImageSharp.Processing diff --git a/src/ImageSharp/Processing/Processors/DelegatePixelShaderProcessor.cs b/src/ImageSharp/Processing/Processors/PixelShading/DelegatePixelShaderProcessor.cs similarity index 95% rename from src/ImageSharp/Processing/Processors/DelegatePixelShaderProcessor.cs rename to src/ImageSharp/Processing/Processors/PixelShading/DelegatePixelShaderProcessor.cs index 13ac957ec..b09385ff3 100644 --- a/src/ImageSharp/Processing/Processors/DelegatePixelShaderProcessor.cs +++ b/src/ImageSharp/Processing/Processors/PixelShading/DelegatePixelShaderProcessor.cs @@ -5,7 +5,7 @@ using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors +namespace SixLabors.ImageSharp.Processing.Processors.PixelShading { /// /// Applies a user defined pixel shader effect through a given delegate. diff --git a/src/ImageSharp/Processing/Processors/DelegatePixelShaderProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/PixelShading/DelegatePixelShaderProcessor{TPixel}.cs similarity index 97% rename from src/ImageSharp/Processing/Processors/DelegatePixelShaderProcessor{TPixel}.cs rename to src/ImageSharp/Processing/Processors/PixelShading/DelegatePixelShaderProcessor{TPixel}.cs index e6119f2c8..c773e8b80 100644 --- a/src/ImageSharp/Processing/Processors/DelegatePixelShaderProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/PixelShading/DelegatePixelShaderProcessor{TPixel}.cs @@ -10,7 +10,7 @@ using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing.Delegates; using SixLabors.Primitives; -namespace SixLabors.ImageSharp.Processing.Processors +namespace SixLabors.ImageSharp.Processing.Processors.PixelShading { /// /// Performs simple binary threshold filtering against an image.