[gegl/meta-json: 14/18] TEMP
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/meta-json: 14/18] TEMP
- Date: Mon, 19 Jan 2015 23:53:04 +0000 (UTC)
commit 32a4a2de4d6d947a80542553898ba8f703c7c51d
Author: Jon Nordby <jononor gmail com>
Date: Mon Jan 19 22:55:55 2015 +0100
TEMP
operations/json/dropshadow2.fbp | 10 ++++++++--
operations/json/dropshadow2.json | 17 ++++++++++++++---
2 files changed, 22 insertions(+), 5 deletions(-)
---
diff --git a/operations/json/dropshadow2.fbp b/operations/json/dropshadow2.fbp
index c83fbf6..5049184 100644
--- a/operations/json/dropshadow2.fbp
+++ b/operations/json/dropshadow2.fbp
@@ -2,7 +2,9 @@ INPORT=translate.X:X
INPORT=translate.Y:Y
INPORT=color.VALUE:COLOR
INPORT=blur.STD_DEV_X:RADIUS
-INPORT=input.OUTPUT:INPUT
+INPORT=opacity.VALUE:OPACITY
+
+INPORT=input.INPUT:INPUT
OUTPORT=over.OUTPUT:OUTPUT
# FIXME: multiple export mapping? INPORT=blur.STD-DEV-Y:RADIUS
@@ -13,4 +15,8 @@ input(gegl/nop) OUTPUT -> INPUT darken(gegl/src_in) OUTPUT -> INPUT blur(gegl/ga
input OUTPUT -> AUX over
color(gegl/color) OUTPUT -> AUX darken
-'rgb(0.0,0.0,0.0)' -> VALUE color
+'rgba(0.0, 0.0, 0.0, 0.0)' -> VALUE color
+'0.5' -> VALUE opacity
+'10' -> STD_DEV_Y blur
+'20' -> Y translate
+'20' -> X translate
diff --git a/operations/json/dropshadow2.json b/operations/json/dropshadow2.json
index e247d02..b7ad9df 100644
--- a/operations/json/dropshadow2.json
+++ b/operations/json/dropshadow2.json
@@ -100,11 +100,18 @@
}
},
{
- "data": "rgb(0.0,0.0,0.0)",
+ "data": "rgba(0.0, 0.0, 0.0, 0.0)",
"tgt": {
"process": "color",
"port": "value"
}
+ },
+ {
+ "data": "0.5",
+ "tgt": {
+ "process": "opacity",
+ "port": "value"
+ }
}
],
"inports": {
@@ -122,11 +129,15 @@
},
"radius": {
"process": "blur",
- "port": "std_dev_x"
+ "port": "std-dev-x"
+ },
+ "opacity": {
+ "process": "opacity",
+ "port": "value"
},
"input": {
"process": "input",
- "port": "output"
+ "port": "input"
}
},
"outports": {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]