[gegl/xml: 12/12] add two sample of xml v2 files



commit 1a67399d1fbbb6ed016537f2ab2f04ed30a0c259
Author: Michael Muré <batolettre gmail com>
Date:   Sun Apr 21 10:38:34 2013 +0200

    add two sample of xml v2 files

 docs/xml/meta.xml    | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 docs/xml/regular.xml | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)
---
diff --git a/docs/xml/meta.xml b/docs/xml/meta.xml
new file mode 100644
index 0000000..fef0ab7
--- /dev/null
+++ b/docs/xml/meta.xml
@@ -0,0 +1,52 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl id='graph'>
+
+  <node id='gegl.png' op='gegl:load'>
+    <param name='path'>tests/compositions/data/gegl.png</param>
+  </node>
+
+  <node id='car-stack.png' op='gegl:load'>
+    <param name='path'>tests/compositions/data/car-stack.png</param>
+  </node>
+
+  <node id='gb1' op='gegl:gaussian-blur'>
+    <edge from='output' of='gegl.png' to='input' />
+    <param name='std-dev-x'>5.0</param>
+    <param name='std-dev-y'>5.0</param>
+  </node>
+
+  <node id='add1' op='gegl:add'>
+    <edge from='output' of='gb1' to='input' />
+    <param name='value'>0.5</param>
+  </node>
+
+  <node id='tr1' op='gegl:translate'>
+    <edge from='output' of='add1' to='input' />
+    <param name='x'>5.0</param>
+    <param name='y'>-2.0</param>
+  </node>
+
+  <node id='dst-over1' op='gegl:dst-over'>
+    <edge from='output' of='tr1' to='input' />
+    <edge from='output' of='car-stack.png' to='aux' />
+  </node>
+
+  <gegl id='meta'>
+    <node id='tr2' op='gegl:translate'>
+      <edge from='input' of='meta' to='input' />
+      <param name='x'>5.0</param>
+      <param name='y'>-2.0</param>
+    </node>
+
+    <node id='gb2' op='gegl:gaussian-blur'>
+      <edge from='output' of='tr2' to='input' />
+      <param name='std-dev-x'>5.0</param>
+      <param name='std-dev-y'>5.0</param>
+    </node>
+
+    <edge from='output' of='dst-over1' to='input' />
+    <edge from='output' of='gb2' to='output' />
+  </gegl>
+
+  <edge from='output' of='meta' to='output' />
+</gegl>
diff --git a/docs/xml/regular.xml b/docs/xml/regular.xml
new file mode 100644
index 0000000..9231ee8
--- /dev/null
+++ b/docs/xml/regular.xml
@@ -0,0 +1,43 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gegl id='graph'>
+
+  <node id='gegl.png' op='gegl:png-load'>
+    <param name='path'>tests/compositions/data/gegl.png</param>
+  </node>
+
+  <node id='gb1' op='gegl:gaussian-blur'>
+    <edge from='output' of='gegl.png' to='input' />
+    <param name='std-dev-x'>5.0</param>
+    <param name='std-dev-y'>5.0</param>
+  </node>
+
+  <node id='add1' op='gegl:add'>
+    <edge from='output' of='gb1' to='input' />
+    <param name='value'>0.5</param>
+  </node>
+
+  <node id='tr1' op='gegl:translate'>
+    <edge from='output' of='add1' to='input' />
+    <param name='x'>5.0</param>
+    <param name='y'>-2.0</param>
+  </node>
+
+  <node id='dst-over1' op='gegl:dst-over'>
+    <edge from='output' of='tr1' to='input' />
+    <edge from='input' of='graph' to='aux' />
+  </node>
+
+  <node id='tr2' op='gegl:translate'>
+    <edge from='output' of='dst-over1' to='input' />
+    <param name='x'>5.0</param>
+    <param name='y'>-2.0</param>
+  </node>
+
+  <node id='gb2' op='gegl:gaussian-blur'>
+    <edge from='output' of='tr2' to='input' />
+    <param name='std-dev-x'>5.0</param>
+    <param name='std-dev-y'>5.0</param>
+  </node>
+
+  <edge from='output' of='gb2' to='output' />
+</gegl>


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