aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/gfx/filter.txt
blob: d2c0c3cc6898325e9cd65f93bc47594d9b420ac2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
~~Title: Efl.Gfx.Filter~~
====== Efl.Gfx.Filter (interface) ======

===== Description =====

%%Graphical filters can be applied to any object implementing this interface.%%

%%Filters are programmable effects that run whenever the object is rendered on its canvas. The program language is Lua and a complete reference can be found under "EFL Graphics Filters".%%

%%This was a beta feature since 1.15.%%

//Since 1.18//

{{page>:develop:api-include:efl:gfx:filter:description&nouser&nolink&nodate}}

===== Inheritance =====


++++ Inheritance graph |

<graphviz>
digraph hierarchy {
    bgcolor = "transparent"
    size = "6"
    rankdir = "TB"

    node [shape = "box"]
    edge [color = "gray35"]

    efl_gfx_filter [fillcolor = "dodgerblue4", label = "Efl.Gfx.Filter", color = "cornflowerblue", fontcolor = "white", style = "filled"]

}
</graphviz>

++++

++++ Full hierarchy |



++++
===== Members =====

**[[:develop:api:efl:gfx:filter:property:filter_data|filter_data]]** //**(get, set)**//\\
> %%Extra data used by the filter program.%%
<code c>
void efl_gfx_filter_data_get(const Eo *obj, const char *name, const char **value, Eina_Bool *execute);
void efl_gfx_filter_data_set(Eo *obj, const char *name, const char *value, Eina_Bool execute);
</code>
\\
**[[:develop:api:efl:gfx:filter:property:filter_padding|filter_padding]]** //**(get)**//\\
> %%Required padding to apply this filter without cropping.%%
<code c>
void efl_gfx_filter_padding_get(const Eo *obj, int *l, int *r, int *t, int *b);
</code>
\\
**[[:develop:api:efl:gfx:filter:property:filter_program|filter_program]]** //**(get, set)**//
<code c>
void efl_gfx_filter_program_get(const Eo *obj, const char **code, const char **name);
void efl_gfx_filter_program_set(Eo *obj, const char *code, const char *name);
</code>
\\
**[[:develop:api:efl:gfx:filter:property:filter_source|filter_source]]** //**(get, set)**//\\
> %%Bind an object to use as a mask or texture in a filter program.%%
<code c>
Efl_Gfx *efl_gfx_filter_source_get(const Eo *obj, const char *name);
void efl_gfx_filter_source_set(Eo *obj, const char *name, Efl_Gfx *source);
</code>
\\
**[[:develop:api:efl:gfx:filter:property:filter_state|filter_state]]** //**(get, set)**//\\
> %%Set the current state of the filter.%%
<code c>
void efl_gfx_filter_state_get(const Eo *obj, const char **cur_state, double *cur_val, const char **next_state, double *next_val, double *pos);
void efl_gfx_filter_state_set(Eo *obj, const char *cur_state, double cur_val, const char *next_state, double next_val, double pos);
</code>
\\

===== Events =====