summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_filter.eo
blob: 7f6bdcb096e47f6c68c9357c8abd276c39fd17b9 (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
mixin Evas.Filter (Efl.Gfx.Filter)
{
   // Evas internal implementation
   legacy_prefix: null;
   methods {
      @property changed {
         set {
            [[Marks this filter as changed.]]
         }
         values {
            val: bool;
         }
      }
      @property invalid {
         set {
            [[Marks this filter as invalid.]]
         }
         values {
            val: bool;
         }
      }
      constructor {
         [[Initialize the Evas.Filter mixin.

           Should be called in a parent's class constructor.
         ]]
      }
      destructor {
         [[Release all data held by this Evas.Filter.

           This may include image buffers allocated by the Evas engine.
           This should be called at the beginning of a parent's class destructor.
         ]]
      }
      input_render {
         [[Called by Evas.Filter when the parent class must render the input.
         ;
         ]]
         params {
            filter: void*; [[Evas_Filter_Context]]
            drawctx: void*;
            l: int;
            r: int;
            t: int;
            b: int;
            do_async: bool;
         }
      }
      dirty {
         [[Called when the filter changes must trigger a redraw of the object.

           Virtual, to be implemented in the parent class.
         ]]
      }
   }
   implements {
      Efl.Gfx.Filter.program.set;
      Efl.Gfx.Filter.program.get;
      Efl.Gfx.Filter.state.set;
      Efl.Gfx.Filter.padding.get;
      Efl.Gfx.Filter.source_set;
      Efl.Gfx.Filter.source_get;
      @virtual .input_render;
      @virtual .dirty;
   }
}