Browse Source

removed trailing spaces, regions & cleared code

af/merge-core
Vicente Penades 8 years ago
parent
commit
be10cd10f2
  1. 9
      src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs

9
src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs

@ -20,8 +20,6 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
/// </remarks> /// </remarks>
internal static partial class PorterDuffFunctions internal static partial class PorterDuffFunctions
{ {
#region color blenders
/// <summary> /// <summary>
/// Source over backdrop /// Source over backdrop
/// </summary> /// </summary>
@ -150,10 +148,6 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
return backdrop <= 0.5f ? (2 * backdrop * source) : 1 - ((2 * (1 - source)) * (1 - backdrop)); return backdrop <= 0.5f ? (2 * backdrop * source) : 1 - ((2 * (1 - source)) * (1 - backdrop));
} }
#endregion
#region alpha composers
/// <summary> /// <summary>
/// General composition function for all modes, with a general solution for alpha channel /// General composition function for all modes, with a general solution for alpha channel
/// </summary> /// </summary>
@ -252,8 +246,5 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
{ {
return Vector4.Lerp(backdrop, Vector4.Zero, source.W); return Vector4.Lerp(backdrop, Vector4.Zero, source.W);
} }
#endregion
} }
} }
Loading…
Cancel
Save