Evas filters: Add image for the Syntax example
authorJean-Philippe Andre <jp.andre@samsung.com>
Thu, 13 Feb 2014 06:28:46 +0000 (15:28 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 13 Feb 2014 08:37:33 +0000 (17:37 +0900)
And change it a bit so the glow is nicer :)

doc/previews/Makefile.am
src/lib/evas/filters/evas_filter_parser.c

index e838f1f5909b0dac24f1a1661375a504b791833c..fbfdd297dc2c554c14c4e4d4a5d5c3dfab89625c 100644 (file)
@@ -27,7 +27,8 @@ noinst_PROGRAMS = preview_text_filter
 DATADIR = ${top_srcdir}/doc/previews/img
 HTMLDIR = ${top_srcdir}/doc/html
 
-PREVIEWS = blend blur bump curve grow mask transform
+PREVIEWS = blend blur bump curve grow mask transform \
+       example_1
 
 previews-data:
        $(MKDIR_P) $(DATADIR)
index 2724fe183e0c5a487d57b4bd4ad072fae214c38e..0a5ac7c109b06741ab40735062c23b0748a133f8 100644 (file)
@@ -69,8 +69,8 @@
 
   @code
     buffer : fat (alpha);
-    grow (5, dst = fat);
-    blur (8, src = fat, color = darkblue);
+    grow (8, dst = fat);
+    blur (12, src = fat, color = darkblue);
     blur (4, color = cyan);
     blend ();
   @endcode
   This example will display a cyan and dark blue glow surrounding the
   main text (its color depends on the object's theme).
 
+  <center>
+  @image html filter_example_1.png
+  </center>
+
   The syntax is pretty simple and follows a small set of rules:
   <ul>
     <li>All whitespaces are discarded</li>