forked from enlightenment/efl
Evas filters: Add image for the Syntax example
And change it a bit so the glow is nicer :)
This commit is contained in:
parent
872ab8aa4d
commit
9f1ae254db
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue