aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/previews/Makefile.am7
-rw-r--r--doc/previews/filter_blend.sh6
-rw-r--r--doc/previews/filter_blur.sh5
-rw-r--r--doc/previews/filter_bump.sh5
-rw-r--r--doc/previews/filter_curve.sh6
-rw-r--r--doc/previews/filter_example_1.sh7
-rw-r--r--doc/previews/filter_grow.sh6
-rw-r--r--doc/previews/filter_mask.sh7
-rw-r--r--doc/previews/filter_transform.sh6
9 files changed, 7 insertions, 48 deletions
diff --git a/doc/previews/Makefile.am b/doc/previews/Makefile.am
index fbfdd297dc..dd25cc1677 100644
--- a/doc/previews/Makefile.am
+++ b/doc/previews/Makefile.am
@@ -35,7 +35,12 @@ previews-data:
$(MKDIR_P) $(HTMLDIR)
@for a in $(PREVIEWS) ; do \
echo " GEN filter_$${a}.png" ; \
- source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \
+ FONT="Sans" ; \
+ SIZE=24 ; \
+ FILTER=`cat ${top_srcdir}/src/examples/evas/filters/filter_$${a}.txt` ; \
+ if [ -e ${top_srcdir}/doc/previews/filter_$${a}.sh ] ; then \
+ source ${top_srcdir}/doc/previews/filter_$${a}.sh ; \
+ fi ; \
$(top_srcdir)/doc/previews/preview_text_filter "$${TEXT}" "$${FILTER}" "$(DATADIR)/filter_$${a}.png" "$${FONT}" "$${SIZE}" ; \
cp "$(DATADIR)/filter_$${a}.png" "$(HTMLDIR)/" ; \
done
diff --git a/doc/previews/filter_blend.sh b/doc/previews/filter_blend.sh
index eee04461be..0d13cea28c 100644
--- a/doc/previews/filter_blend.sh
+++ b/doc/previews/filter_blend.sh
@@ -1,5 +1 @@
-TEXT="Blend"
-FONT="Sans:style=bold"
-SIZE=32
-FILTER="blend (color = #3399FF);"
-
+TEXT="Blend Example"
diff --git a/doc/previews/filter_blur.sh b/doc/previews/filter_blur.sh
index a844419e39..59de6f4a48 100644
--- a/doc/previews/filter_blur.sh
+++ b/doc/previews/filter_blur.sh
@@ -1,8 +1,3 @@
TEXT="Blur"
FONT="Sans:style=bold"
SIZE=32
-FILTER="
-blur (10, color = black, oy = 5, ox = 5);
-blend ();
-"
-
diff --git a/doc/previews/filter_bump.sh b/doc/previews/filter_bump.sh
index 7fa8787e74..76862f19bd 100644
--- a/doc/previews/filter_bump.sh
+++ b/doc/previews/filter_bump.sh
@@ -1,8 +1,3 @@
TEXT="Bump"
FONT="Sans:style=bold"
SIZE=64
-FILTER="
-buffer : a (alpha);
-blur (5, dst = a);
-bump (map = a, compensate = yes, color = cyan, specular = 10.0);
-"
diff --git a/doc/previews/filter_curve.sh b/doc/previews/filter_curve.sh
index 96e3f11049..852e165c04 100644
--- a/doc/previews/filter_curve.sh
+++ b/doc/previews/filter_curve.sh
@@ -1,9 +1,3 @@
TEXT="Curve"
FONT="Sans:style=bold"
SIZE=64
-FILTER="
-buffer : a (alpha);
-blur (4, dst = a);
-curve (0:0 - 20:0 - 60:255 - 160:255 - 200:0 - 255:0, src = a, dst = a);
-blend(src = a, color = black);
-"
diff --git a/doc/previews/filter_example_1.sh b/doc/previews/filter_example_1.sh
index 0098a6b2a8..dfe587cea7 100644
--- a/doc/previews/filter_example_1.sh
+++ b/doc/previews/filter_example_1.sh
@@ -1,10 +1,3 @@
TEXT="Evas Filters"
FONT="Sans"
SIZE=50
-FILTER="
-buffer : fat (alpha);
-grow (8, dst = fat);
-blur (12, src = fat, color = darkblue);
-blur (4, color = cyan);
-blend ();
-"
diff --git a/doc/previews/filter_grow.sh b/doc/previews/filter_grow.sh
index b675ab13ea..7a0b832944 100644
--- a/doc/previews/filter_grow.sh
+++ b/doc/previews/filter_grow.sh
@@ -1,9 +1,3 @@
TEXT="Grow - Contour"
FONT="Sans:style=bold"
SIZE=32
-FILTER="
-buffer : fat (alpha);
-grow (4, dst = fat);
-blend (src = fat, color = black);
-blend (color = white);
-"
diff --git a/doc/previews/filter_mask.sh b/doc/previews/filter_mask.sh
index ab22e5539c..706903eb67 100644
--- a/doc/previews/filter_mask.sh
+++ b/doc/previews/filter_mask.sh
@@ -1,10 +1,3 @@
TEXT="Mask"
FONT="Sans:style=bold"
SIZE=64
-FILTER="
-buffer: a (alpha);
-blur(5, dst = a);
-curve(points = 0:255 - 128:255 - 255:0, src = a, dst = a);
-blend(color = black);
-mask(mask = a, color = cyan);
-"
diff --git a/doc/previews/filter_transform.sh b/doc/previews/filter_transform.sh
index 6acd8459c5..7d9f3c47a1 100644
--- a/doc/previews/filter_transform.sh
+++ b/doc/previews/filter_transform.sh
@@ -1,9 +1,3 @@
TEXT="Transform - Mirror effect"
FONT="Sans"
SIZE=50
-FILTER="
-buffer : t (alpha);
-transform (oy = 20, dst = t);
-blend (src = t, color = silver);
-blend (color = white);
-"