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

           Should be called in a parent's class constructor.
         ]]
      }
      destructor @protected {
         [[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_alpha @protected {
         [[Called by Evas.Filter to determine whether the input is alpha or rgba.]]
         return: bool;
      }
      input_render @protected {
         [[Called by Evas.Filter when the parent class must render the input.
         ;
         ]]
         return: bool; [[Indicates success from the object render function.]]
         params {
            filter: void*; [[Evas_Filter_Context]]
            drawctx: void*;
            l: int;
            r: int;
            t: int;
            b: int;
            do_async: bool;
         }
      }
      dirty @protected {
         [[Called when the filter changes must trigger a redraw of the object.

           Virtual, to be implemented in the parent class.
         ]]
      }
      @property output_buffer @protected {
         get {
            [[Retrieve cached output buffer, if any.

              Does not increment the reference count.
            ]]
         }
         values {
            buffer: void*;
         }
      }
   }
   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;
      Efl.Gfx.Filter.data_set;
      @virtual .input_alpha;
      @virtual .input_render;
      @virtual .dirty;
   }
}