forked from enlightenment/efl
The filter code is a copy and paste from the doc. Maybe the code should be in an include file, so we're sure the preview and the documentation code are the same?efl-1.9
parent
a9b82a7928
commit
8665a3d574
9 changed files with 69 additions and 1 deletions
@ -0,0 +1,5 @@ |
||||
TEXT="Blend" |
||||
FONT="Sans:style=bold" |
||||
SIZE=32 |
||||
FILTER="blend (color = #3399FF);" |
||||
|
@ -0,0 +1,8 @@ |
||||
TEXT="Blur" |
||||
FONT="Sans:style=bold" |
||||
SIZE=32 |
||||
FILTER=" |
||||
blur (10, color = black, oy = 5, ox = 5); |
||||
blend (); |
||||
" |
||||
|
@ -0,0 +1,8 @@ |
||||
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); |
||||
" |
@ -0,0 +1,9 @@ |
||||
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); |
||||
" |
@ -0,0 +1,10 @@ |
||||
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 (); |
||||
" |
@ -0,0 +1,9 @@ |
||||
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); |
||||
" |
@ -0,0 +1,10 @@ |
||||
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); |
||||
" |
@ -0,0 +1,9 @@ |
||||
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); |
||||
" |
Loading…
Reference in new issue