From 8742a3ccff7f739d7df16ab72376ad9b009df751 Mon Sep 17 00:00:00 2001 From: Vicente Penades Date: Sat, 29 Apr 2017 00:24:59 +0200 Subject: [PATCH] Added missing function --- src/ImageSharp/PixelFormats/PixelTransformModeExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ImageSharp/PixelFormats/PixelTransformModeExtensions.cs b/src/ImageSharp/PixelFormats/PixelTransformModeExtensions.cs index 50cda6382..4ecddfded 100644 --- a/src/ImageSharp/PixelFormats/PixelTransformModeExtensions.cs +++ b/src/ImageSharp/PixelFormats/PixelTransformModeExtensions.cs @@ -43,6 +43,7 @@ namespace ImageSharp case PixelTransformMode.Normal: return PorterDuffFunctions.NormalBlendFunction; case PixelTransformMode.Multiply: return PorterDuffFunctions.MultiplyFunction; case PixelTransformMode.Add: return PorterDuffFunctions.AddFunction; + case PixelTransformMode.Substract: return PorterDuffFunctions.SubstractFunction; case PixelTransformMode.Screen: return PorterDuffFunctions.ScreenFunction; case PixelTransformMode.Darken: return PorterDuffFunctions.DarkenFunction; case PixelTransformMode.Lighten: return PorterDuffFunctions.LightenFunction;