From a9a8ded37fbd52e21ed8f99f38257992b8aacb69 Mon Sep 17 00:00:00 2001 From: Vicente Penades Date: Mon, 2 Jul 2018 16:43:17 +0200 Subject: [PATCH] removed trailing spaces, regions & cleared code --- .../PixelFormats/PixelBlenders/PorterDuffFunctions.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs b/src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs index 200b185fad..1a4fd15d3d 100644 --- a/src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs +++ b/src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs @@ -20,8 +20,6 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders /// internal static partial class PorterDuffFunctions { - #region color blenders - /// /// Source over backdrop /// @@ -150,10 +148,6 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders return backdrop <= 0.5f ? (2 * backdrop * source) : 1 - ((2 * (1 - source)) * (1 - backdrop)); } - #endregion - - #region alpha composers - /// /// General composition function for all modes, with a general solution for alpha channel /// @@ -252,8 +246,5 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders { return Vector4.Lerp(backdrop, Vector4.Zero, source.W); } - - #endregion - } } \ No newline at end of file