[gegl] dropshadow: change edge mode



commit b53551b305fb9c7dd9a63d023195034c1aff4f64
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Apr 18 22:55:46 2017 +0200

    dropshadow: change edge mode
    
    Being transparent instead of black/extend for dropshadow makes <1.0 radius work
    better.

 operations/common/dropshadow.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/dropshadow.c b/operations/common/dropshadow.c
index 01d69bd..9fd8385 100644
--- a/operations/common/dropshadow.c
+++ b/operations/common/dropshadow.c
@@ -72,7 +72,9 @@ attach (GeglOperation *operation)
   translate = gegl_node_new_child (gegl, "operation", "gegl:translate", NULL);
   opacity   = gegl_node_new_child (gegl, "operation", "gegl:opacity", NULL);
   blur      = gegl_node_new_child (gegl, "operation", "gegl:gaussian-blur", 
-                                         "clip-extent", FALSE, NULL);
+                                         "clip-extent", FALSE, 
+                                         "abyss-policy", 0,
+                                         NULL);
   darken    = gegl_node_new_child (gegl, "operation", "gegl:src-in", NULL);
   color     = gegl_node_new_child (gegl, "operation", "gegl:color",
                                    "value", black_color,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]