summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-13 17:26:33 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-13 17:37:33 +0900
commit511049e20da614bd14be2f57f8aa87315b97d69d (patch)
treea2d1276087f9642ea587293d85df9fe67e4178f8 /src/examples
parent9f1ae254db87e15797ea658d9e1f3cb6d9b11671 (diff)
Evas filters: Improve doc automatization
Include example filter codes from src/examples in Doxygen. Use these examples for the generation as well.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/filters/filter_blend.txt1
-rw-r--r--src/examples/evas/filters/filter_blur.txt2
-rw-r--r--src/examples/evas/filters/filter_bump.txt3
-rw-r--r--src/examples/evas/filters/filter_curve.txt4
-rw-r--r--src/examples/evas/filters/filter_example_1.txt5
-rw-r--r--src/examples/evas/filters/filter_grow.txt4
-rw-r--r--src/examples/evas/filters/filter_mask.txt5
-rw-r--r--src/examples/evas/filters/filter_transform.txt4
8 files changed, 28 insertions, 0 deletions
diff --git a/src/examples/evas/filters/filter_blend.txt b/src/examples/evas/filters/filter_blend.txt
new file mode 100644
index 0000000000..251c8c3150
--- /dev/null
+++ b/src/examples/evas/filters/filter_blend.txt
@@ -0,0 +1 @@
blend (color = #3399FF); \ No newline at end of file
diff --git a/src/examples/evas/filters/filter_blur.txt b/src/examples/evas/filters/filter_blur.txt
new file mode 100644
index 0000000000..54b1953d6d
--- /dev/null
+++ b/src/examples/evas/filters/filter_blur.txt
@@ -0,0 +1,2 @@
1blur (10, color = black, oy = 5, ox = 5);
2blend ();
diff --git a/src/examples/evas/filters/filter_bump.txt b/src/examples/evas/filters/filter_bump.txt
new file mode 100644
index 0000000000..8110254c29
--- /dev/null
+++ b/src/examples/evas/filters/filter_bump.txt
@@ -0,0 +1,3 @@
1buffer : a (alpha);
2blur (5, dst = a);
3bump (map = a, compensate = yes, color = cyan, specular = 10.0);
diff --git a/src/examples/evas/filters/filter_curve.txt b/src/examples/evas/filters/filter_curve.txt
new file mode 100644
index 0000000000..e2e84f700b
--- /dev/null
+++ b/src/examples/evas/filters/filter_curve.txt
@@ -0,0 +1,4 @@
1buffer : a (alpha);
2blur (4, dst = a);
3curve (0:0 - 20:0 - 60:255 - 160:255 - 200:0 - 255:0, src = a, dst = a);
4blend(src = a, color = black); \ No newline at end of file
diff --git a/src/examples/evas/filters/filter_example_1.txt b/src/examples/evas/filters/filter_example_1.txt
new file mode 100644
index 0000000000..ed87d7efcb
--- /dev/null
+++ b/src/examples/evas/filters/filter_example_1.txt
@@ -0,0 +1,5 @@
1buffer : fat (alpha);
2grow (8, dst = fat);
3blur (12, src = fat, color = darkblue);
4blur (4, color = cyan);
5blend (); \ No newline at end of file
diff --git a/src/examples/evas/filters/filter_grow.txt b/src/examples/evas/filters/filter_grow.txt
new file mode 100644
index 0000000000..2d57f4281a
--- /dev/null
+++ b/src/examples/evas/filters/filter_grow.txt
@@ -0,0 +1,4 @@
1buffer : fat (alpha);
2grow (4, dst = fat);
3blend (src = fat, color = black);
4blend (color = white); \ No newline at end of file
diff --git a/src/examples/evas/filters/filter_mask.txt b/src/examples/evas/filters/filter_mask.txt
new file mode 100644
index 0000000000..a43c23b695
--- /dev/null
+++ b/src/examples/evas/filters/filter_mask.txt
@@ -0,0 +1,5 @@
1buffer: a (alpha);
2blur(5, dst = a);
3curve(points = 0:255 - 128:255 - 255:0, src = a, dst = a);
4blend(color = black);
5mask(mask = a, color = cyan); \ No newline at end of file
diff --git a/src/examples/evas/filters/filter_transform.txt b/src/examples/evas/filters/filter_transform.txt
new file mode 100644
index 0000000000..322af27bbb
--- /dev/null
+++ b/src/examples/evas/filters/filter_transform.txt
@@ -0,0 +1,4 @@
1buffer : t (alpha);
2transform (oy = 20, dst = t);
3blend (src = t, color = silver);
4blend (color = white); \ No newline at end of file