Evas filters: Add image for the Syntax example

And change it a bit so the glow is nicer :)
This commit is contained in:
Jean-Philippe Andre 2014-02-13 15:28:46 +09:00
parent 872ab8aa4d
commit 9f1ae254db
2 changed files with 8 additions and 3 deletions

View 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)

View 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
@ -78,6 +78,10 @@
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>