[EflSharp] Update Circle and efl cs files (#896)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_gfx_filter.eo.cs
1 #pragma warning disable CS1591
2 using System;
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Threading;
7 using System.ComponentModel;
8 namespace Efl {
9
10 namespace Gfx {
11
12 /// <summary>Graphical filters can be applied to any object implementing this interface.
13 /// 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 &quot;EFL Graphics Filters&quot;.
14 /// 
15 /// This was a beta feature since 1.15.</summary>
16 [Efl.Gfx.IFilterConcrete.NativeMethods]
17 public interface IFilter : 
18     Efl.Eo.IWrapper, IDisposable
19 {
20     /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
21 /// <param name="code">The Lua program source code.</param>
22 /// <param name="name">An optional name for this filter.</param>
23 void GetFilterProgram(out System.String code, out System.String name);
24     /// <summary>Set a graphical filter program on this object.
25 /// Valid for Text and Image objects at the moment.
26 /// 
27 /// The argument passed to this function is a string containing a valid Lua program based on the filters API as described in the &quot;EFL Graphics Filters&quot; reference page.
28 /// 
29 /// Set to <c>null</c> to disable filtering.</summary>
30 /// <param name="code">The Lua program source code.</param>
31 /// <param name="name">An optional name for this filter.</param>
32 void SetFilterProgram(System.String code, System.String name);
33     /// <summary>Set the current state of the filter.
34 /// This should be used by Edje (EFL&apos;s internal layout engine), but could also be used when implementing animations programmatically.
35 /// 
36 /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
37 /// <param name="cur_state">Current state of the filter</param>
38 /// <param name="cur_val">Current value</param>
39 /// <param name="next_state">Next filter state, optional</param>
40 /// <param name="next_val">Next value, optional</param>
41 /// <param name="pos">Position, optional</param>
42 void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos);
43     /// <summary>Set the current state of the filter.
44 /// This should be used by Edje (EFL&apos;s internal layout engine), but could also be used when implementing animations programmatically.
45 /// 
46 /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
47 /// <param name="cur_state">Current state of the filter</param>
48 /// <param name="cur_val">Current value</param>
49 /// <param name="next_state">Next filter state, optional</param>
50 /// <param name="next_val">Next value, optional</param>
51 /// <param name="pos">Position, optional</param>
52 void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos);
53     /// <summary>Gets the padding required to apply this filter.</summary>
54 /// <param name="l">Padding on the left</param>
55 /// <param name="r">Padding on the right</param>
56 /// <param name="t">Padding on the top</param>
57 /// <param name="b">Padding on the bottom</param>
58 void GetFilterPadding(out int l, out int r, out int t, out int b);
59     /// <summary>Bind an object to use as a mask or texture in a filter program.
60 /// This will create automatically a new RGBA buffer containing the source object&apos;s pixels (as it is rendered).</summary>
61 /// <param name="name">Buffer name as used in the program.</param>
62 /// <returns>Object to use as a source of pixels.</returns>
63 Efl.Gfx.IEntity GetFilterSource(System.String name);
64     /// <summary>Bind an object to use as a mask or texture in a filter program.
65 /// This will create automatically a new RGBA buffer containing the source object&apos;s pixels (as it is rendered).</summary>
66 /// <param name="name">Buffer name as used in the program.</param>
67 /// <param name="source">Object to use as a source of pixels.</param>
68 void SetFilterSource(System.String name, Efl.Gfx.IEntity source);
69     /// <summary>Extra data used by the filter program.
70 /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
71 /// 
72 /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line &apos;name = value&apos;. This can be used to pass in tables.</summary>
73 /// <param name="name">Name of the global variable</param>
74 /// <param name="value">String value to use as data</param>
75 /// <param name="execute">If <c>true</c>, execute &apos;name = value&apos;</param>
76 void GetFilterData(System.String name, out System.String value, out bool execute);
77     /// <summary>Extra data used by the filter program.
78 /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
79 /// 
80 /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line &apos;name = value&apos;. This can be used to pass in tables.</summary>
81 /// <param name="name">Name of the global variable</param>
82 /// <param name="value">String value to use as data</param>
83 /// <param name="execute">If <c>true</c>, execute &apos;name = value&apos;</param>
84 void SetFilterData(System.String name, System.String value, bool execute);
85                                     }
86 /// <summary>Graphical filters can be applied to any object implementing this interface.
87 /// 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 &quot;EFL Graphics Filters&quot;.
88 /// 
89 /// This was a beta feature since 1.15.</summary>
90 sealed public class IFilterConcrete :
91     Efl.Eo.EoWrapper
92     , IFilter
93     
94 {
95     ///<summary>Pointer to the native class description.</summary>
96     public override System.IntPtr NativeClass
97     {
98         get
99         {
100             if (((object)this).GetType() == typeof(IFilterConcrete))
101             {
102                 return GetEflClassStatic();
103             }
104             else
105             {
106                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
107             }
108         }
109     }
110
111     [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
112         efl_gfx_filter_interface_get();
113     /// <summary>Initializes a new instance of the <see cref="IFilter"/> class.
114     /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
115     private IFilterConcrete(System.IntPtr raw) : base(raw)
116     {
117     }
118
119     /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
120     /// <param name="code">The Lua program source code.</param>
121     /// <param name="name">An optional name for this filter.</param>
122     public void GetFilterProgram(out System.String code, out System.String name) {
123                                                          Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate(this.NativeHandle,out code, out name);
124         Eina.Error.RaiseIfUnhandledException();
125                                          }
126     /// <summary>Set a graphical filter program on this object.
127     /// Valid for Text and Image objects at the moment.
128     /// 
129     /// The argument passed to this function is a string containing a valid Lua program based on the filters API as described in the &quot;EFL Graphics Filters&quot; reference page.
130     /// 
131     /// Set to <c>null</c> to disable filtering.</summary>
132     /// <param name="code">The Lua program source code.</param>
133     /// <param name="name">An optional name for this filter.</param>
134     public void SetFilterProgram(System.String code, System.String name) {
135                                                          Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate(this.NativeHandle,code, name);
136         Eina.Error.RaiseIfUnhandledException();
137                                          }
138     /// <summary>Set the current state of the filter.
139     /// This should be used by Edje (EFL&apos;s internal layout engine), but could also be used when implementing animations programmatically.
140     /// 
141     /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
142     /// <param name="cur_state">Current state of the filter</param>
143     /// <param name="cur_val">Current value</param>
144     /// <param name="next_state">Next filter state, optional</param>
145     /// <param name="next_val">Next value, optional</param>
146     /// <param name="pos">Position, optional</param>
147     public void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos) {
148                                                                                                                                  Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate(this.NativeHandle,out cur_state, out cur_val, out next_state, out next_val, out pos);
149         Eina.Error.RaiseIfUnhandledException();
150                                                                                          }
151     /// <summary>Set the current state of the filter.
152     /// This should be used by Edje (EFL&apos;s internal layout engine), but could also be used when implementing animations programmatically.
153     /// 
154     /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
155     /// <param name="cur_state">Current state of the filter</param>
156     /// <param name="cur_val">Current value</param>
157     /// <param name="next_state">Next filter state, optional</param>
158     /// <param name="next_val">Next value, optional</param>
159     /// <param name="pos">Position, optional</param>
160     public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
161                                                                                                                                  Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate(this.NativeHandle,cur_state, cur_val, next_state, next_val, pos);
162         Eina.Error.RaiseIfUnhandledException();
163                                                                                          }
164     /// <summary>Gets the padding required to apply this filter.</summary>
165     /// <param name="l">Padding on the left</param>
166     /// <param name="r">Padding on the right</param>
167     /// <param name="t">Padding on the top</param>
168     /// <param name="b">Padding on the bottom</param>
169     public void GetFilterPadding(out int l, out int r, out int t, out int b) {
170                                                                                                          Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate(this.NativeHandle,out l, out r, out t, out b);
171         Eina.Error.RaiseIfUnhandledException();
172                                                                          }
173     /// <summary>Bind an object to use as a mask or texture in a filter program.
174     /// This will create automatically a new RGBA buffer containing the source object&apos;s pixels (as it is rendered).</summary>
175     /// <param name="name">Buffer name as used in the program.</param>
176     /// <returns>Object to use as a source of pixels.</returns>
177     public Efl.Gfx.IEntity GetFilterSource(System.String name) {
178                                  var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate(this.NativeHandle,name);
179         Eina.Error.RaiseIfUnhandledException();
180                         return _ret_var;
181  }
182     /// <summary>Bind an object to use as a mask or texture in a filter program.
183     /// This will create automatically a new RGBA buffer containing the source object&apos;s pixels (as it is rendered).</summary>
184     /// <param name="name">Buffer name as used in the program.</param>
185     /// <param name="source">Object to use as a source of pixels.</param>
186     public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
187                                                          Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate(this.NativeHandle,name, source);
188         Eina.Error.RaiseIfUnhandledException();
189                                          }
190     /// <summary>Extra data used by the filter program.
191     /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
192     /// 
193     /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line &apos;name = value&apos;. This can be used to pass in tables.</summary>
194     /// <param name="name">Name of the global variable</param>
195     /// <param name="value">String value to use as data</param>
196     /// <param name="execute">If <c>true</c>, execute &apos;name = value&apos;</param>
197     public void GetFilterData(System.String name, out System.String value, out bool execute) {
198                                                                                  Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate(this.NativeHandle,name, out value, out execute);
199         Eina.Error.RaiseIfUnhandledException();
200                                                          }
201     /// <summary>Extra data used by the filter program.
202     /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
203     /// 
204     /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line &apos;name = value&apos;. This can be used to pass in tables.</summary>
205     /// <param name="name">Name of the global variable</param>
206     /// <param name="value">String value to use as data</param>
207     /// <param name="execute">If <c>true</c>, execute &apos;name = value&apos;</param>
208     public void SetFilterData(System.String name, System.String value, bool execute) {
209                                                                                  Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate(this.NativeHandle,name, value, execute);
210         Eina.Error.RaiseIfUnhandledException();
211                                                          }
212     private static IntPtr GetEflClassStatic()
213     {
214         return Efl.Gfx.IFilterConcrete.efl_gfx_filter_interface_get();
215     }
216     /// <summary>Wrapper for native methods and virtual method delegates.
217     /// For internal use by generated code only.</summary>
218     public class NativeMethods  : Efl.Eo.NativeClass
219     {
220         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Efl);
221         /// <summary>Gets the list of Eo operations to override.</summary>
222         /// <returns>The list of Eo operations to be overload.</returns>
223         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
224         {
225             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
226             var methods = Efl.Eo.Globals.GetUserMethods(type);
227
228             if (efl_gfx_filter_program_get_static_delegate == null)
229             {
230                 efl_gfx_filter_program_get_static_delegate = new efl_gfx_filter_program_get_delegate(filter_program_get);
231             }
232
233             if (methods.FirstOrDefault(m => m.Name == "GetFilterProgram") != null)
234             {
235                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_program_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_program_get_static_delegate) });
236             }
237
238             if (efl_gfx_filter_program_set_static_delegate == null)
239             {
240                 efl_gfx_filter_program_set_static_delegate = new efl_gfx_filter_program_set_delegate(filter_program_set);
241             }
242
243             if (methods.FirstOrDefault(m => m.Name == "SetFilterProgram") != null)
244             {
245                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_program_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_program_set_static_delegate) });
246             }
247
248             if (efl_gfx_filter_state_get_static_delegate == null)
249             {
250                 efl_gfx_filter_state_get_static_delegate = new efl_gfx_filter_state_get_delegate(filter_state_get);
251             }
252
253             if (methods.FirstOrDefault(m => m.Name == "GetFilterState") != null)
254             {
255                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_state_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_state_get_static_delegate) });
256             }
257
258             if (efl_gfx_filter_state_set_static_delegate == null)
259             {
260                 efl_gfx_filter_state_set_static_delegate = new efl_gfx_filter_state_set_delegate(filter_state_set);
261             }
262
263             if (methods.FirstOrDefault(m => m.Name == "SetFilterState") != null)
264             {
265                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_state_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_state_set_static_delegate) });
266             }
267
268             if (efl_gfx_filter_padding_get_static_delegate == null)
269             {
270                 efl_gfx_filter_padding_get_static_delegate = new efl_gfx_filter_padding_get_delegate(filter_padding_get);
271             }
272
273             if (methods.FirstOrDefault(m => m.Name == "GetFilterPadding") != null)
274             {
275                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_padding_get_static_delegate) });
276             }
277
278             if (efl_gfx_filter_source_get_static_delegate == null)
279             {
280                 efl_gfx_filter_source_get_static_delegate = new efl_gfx_filter_source_get_delegate(filter_source_get);
281             }
282
283             if (methods.FirstOrDefault(m => m.Name == "GetFilterSource") != null)
284             {
285                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_source_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_source_get_static_delegate) });
286             }
287
288             if (efl_gfx_filter_source_set_static_delegate == null)
289             {
290                 efl_gfx_filter_source_set_static_delegate = new efl_gfx_filter_source_set_delegate(filter_source_set);
291             }
292
293             if (methods.FirstOrDefault(m => m.Name == "SetFilterSource") != null)
294             {
295                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_source_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_source_set_static_delegate) });
296             }
297
298             if (efl_gfx_filter_data_get_static_delegate == null)
299             {
300                 efl_gfx_filter_data_get_static_delegate = new efl_gfx_filter_data_get_delegate(filter_data_get);
301             }
302
303             if (methods.FirstOrDefault(m => m.Name == "GetFilterData") != null)
304             {
305                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_get_static_delegate) });
306             }
307
308             if (efl_gfx_filter_data_set_static_delegate == null)
309             {
310                 efl_gfx_filter_data_set_static_delegate = new efl_gfx_filter_data_set_delegate(filter_data_set);
311             }
312
313             if (methods.FirstOrDefault(m => m.Name == "SetFilterData") != null)
314             {
315                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_set_static_delegate) });
316             }
317
318             return descs;
319         }
320         /// <summary>Returns the Eo class for the native methods of this class.</summary>
321         /// <returns>The native class pointer.</returns>
322         public override IntPtr GetEflClass()
323         {
324             return Efl.Gfx.IFilterConcrete.efl_gfx_filter_interface_get();
325         }
326
327         #pragma warning disable CA1707, CS1591, SA1300, SA1600
328
329         
330         private delegate void efl_gfx_filter_program_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String name);
331
332         
333         public delegate void efl_gfx_filter_program_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String name);
334
335         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_program_get_api_delegate> efl_gfx_filter_program_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_program_get_api_delegate>(Module, "efl_gfx_filter_program_get");
336
337         private static void filter_program_get(System.IntPtr obj, System.IntPtr pd, out System.String code, out System.String name)
338         {
339             Eina.Log.Debug("function efl_gfx_filter_program_get was called");
340             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
341             if (ws != null)
342             {
343                         System.String _out_code = default(System.String);
344         System.String _out_name = default(System.String);
345                             
346                 try
347                 {
348                     ((IFilter)ws.Target).GetFilterProgram(out _out_code, out _out_name);
349                 }
350                 catch (Exception e)
351                 {
352                     Eina.Log.Warning($"Callback error: {e.ToString()}");
353                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
354                 }
355
356         code = _out_code;
357         name = _out_name;
358                         
359             }
360             else
361             {
362                 efl_gfx_filter_program_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out code, out name);
363             }
364         }
365
366         private static efl_gfx_filter_program_get_delegate efl_gfx_filter_program_get_static_delegate;
367
368         
369         private delegate void efl_gfx_filter_program_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
370
371         
372         public delegate void efl_gfx_filter_program_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
373
374         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_program_set_api_delegate> efl_gfx_filter_program_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_program_set_api_delegate>(Module, "efl_gfx_filter_program_set");
375
376         private static void filter_program_set(System.IntPtr obj, System.IntPtr pd, System.String code, System.String name)
377         {
378             Eina.Log.Debug("function efl_gfx_filter_program_set was called");
379             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
380             if (ws != null)
381             {
382                                                             
383                 try
384                 {
385                     ((IFilter)ws.Target).SetFilterProgram(code, name);
386                 }
387                 catch (Exception e)
388                 {
389                     Eina.Log.Warning($"Callback error: {e.ToString()}");
390                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
391                 }
392
393                                         
394             }
395             else
396             {
397                 efl_gfx_filter_program_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), code, name);
398             }
399         }
400
401         private static efl_gfx_filter_program_set_delegate efl_gfx_filter_program_set_static_delegate;
402
403         
404         private delegate void efl_gfx_filter_state_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String cur_state,  out double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String next_state,  out double next_val,  out double pos);
405
406         
407         public delegate void efl_gfx_filter_state_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String cur_state,  out double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String next_state,  out double next_val,  out double pos);
408
409         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_state_get_api_delegate> efl_gfx_filter_state_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_state_get_api_delegate>(Module, "efl_gfx_filter_state_get");
410
411         private static void filter_state_get(System.IntPtr obj, System.IntPtr pd, out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos)
412         {
413             Eina.Log.Debug("function efl_gfx_filter_state_get was called");
414             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
415             if (ws != null)
416             {
417                                                 System.String _out_cur_state = default(System.String);
418         cur_val = default(double);        System.String _out_next_state = default(System.String);
419         next_val = default(double);        pos = default(double);                                                    
420                 try
421                 {
422                     ((IFilter)ws.Target).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos);
423                 }
424                 catch (Exception e)
425                 {
426                     Eina.Log.Warning($"Callback error: {e.ToString()}");
427                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
428                 }
429
430         cur_state = _out_cur_state;
431                 next_state = _out_next_state;
432                                                                 
433             }
434             else
435             {
436                 efl_gfx_filter_state_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out cur_state, out cur_val, out next_state, out next_val, out pos);
437             }
438         }
439
440         private static efl_gfx_filter_state_get_delegate efl_gfx_filter_state_get_static_delegate;
441
442         
443         private delegate void efl_gfx_filter_state_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String cur_state,  double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String next_state,  double next_val,  double pos);
444
445         
446         public delegate void efl_gfx_filter_state_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String cur_state,  double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String next_state,  double next_val,  double pos);
447
448         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_state_set_api_delegate> efl_gfx_filter_state_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_state_set_api_delegate>(Module, "efl_gfx_filter_state_set");
449
450         private static void filter_state_set(System.IntPtr obj, System.IntPtr pd, System.String cur_state, double cur_val, System.String next_state, double next_val, double pos)
451         {
452             Eina.Log.Debug("function efl_gfx_filter_state_set was called");
453             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
454             if (ws != null)
455             {
456                                                                                                                                     
457                 try
458                 {
459                     ((IFilter)ws.Target).SetFilterState(cur_state, cur_val, next_state, next_val, pos);
460                 }
461                 catch (Exception e)
462                 {
463                     Eina.Log.Warning($"Callback error: {e.ToString()}");
464                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
465                 }
466
467                                                                                         
468             }
469             else
470             {
471                 efl_gfx_filter_state_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur_state, cur_val, next_state, next_val, pos);
472             }
473         }
474
475         private static efl_gfx_filter_state_set_delegate efl_gfx_filter_state_set_static_delegate;
476
477         
478         private delegate void efl_gfx_filter_padding_get_delegate(System.IntPtr obj, System.IntPtr pd,  out int l,  out int r,  out int t,  out int b);
479
480         
481         public delegate void efl_gfx_filter_padding_get_api_delegate(System.IntPtr obj,  out int l,  out int r,  out int t,  out int b);
482
483         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_padding_get_api_delegate> efl_gfx_filter_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_padding_get_api_delegate>(Module, "efl_gfx_filter_padding_get");
484
485         private static void filter_padding_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
486         {
487             Eina.Log.Debug("function efl_gfx_filter_padding_get was called");
488             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
489             if (ws != null)
490             {
491                                         l = default(int);        r = default(int);        t = default(int);        b = default(int);                                            
492                 try
493                 {
494                     ((IFilter)ws.Target).GetFilterPadding(out l, out r, out t, out b);
495                 }
496                 catch (Exception e)
497                 {
498                     Eina.Log.Warning($"Callback error: {e.ToString()}");
499                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
500                 }
501
502                                                                         
503             }
504             else
505             {
506                 efl_gfx_filter_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out l, out r, out t, out b);
507             }
508         }
509
510         private static efl_gfx_filter_padding_get_delegate efl_gfx_filter_padding_get_static_delegate;
511
512         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
513         private delegate Efl.Gfx.IEntity efl_gfx_filter_source_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
514
515         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
516         public delegate Efl.Gfx.IEntity efl_gfx_filter_source_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
517
518         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_source_get_api_delegate> efl_gfx_filter_source_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_source_get_api_delegate>(Module, "efl_gfx_filter_source_get");
519
520         private static Efl.Gfx.IEntity filter_source_get(System.IntPtr obj, System.IntPtr pd, System.String name)
521         {
522             Eina.Log.Debug("function efl_gfx_filter_source_get was called");
523             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
524             if (ws != null)
525             {
526                                     Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
527                 try
528                 {
529                     _ret_var = ((IFilter)ws.Target).GetFilterSource(name);
530                 }
531                 catch (Exception e)
532                 {
533                     Eina.Log.Warning($"Callback error: {e.ToString()}");
534                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
535                 }
536
537                         return _ret_var;
538
539             }
540             else
541             {
542                 return efl_gfx_filter_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
543             }
544         }
545
546         private static efl_gfx_filter_source_get_delegate efl_gfx_filter_source_get_static_delegate;
547
548         
549         private delegate void efl_gfx_filter_source_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
550
551         
552         public delegate void efl_gfx_filter_source_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
553
554         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_source_set_api_delegate> efl_gfx_filter_source_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_source_set_api_delegate>(Module, "efl_gfx_filter_source_set");
555
556         private static void filter_source_set(System.IntPtr obj, System.IntPtr pd, System.String name, Efl.Gfx.IEntity source)
557         {
558             Eina.Log.Debug("function efl_gfx_filter_source_set was called");
559             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
560             if (ws != null)
561             {
562                                                             
563                 try
564                 {
565                     ((IFilter)ws.Target).SetFilterSource(name, source);
566                 }
567                 catch (Exception e)
568                 {
569                     Eina.Log.Warning($"Callback error: {e.ToString()}");
570                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
571                 }
572
573                                         
574             }
575             else
576             {
577                 efl_gfx_filter_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, source);
578             }
579         }
580
581         private static efl_gfx_filter_source_set_delegate efl_gfx_filter_source_set_static_delegate;
582
583         
584         private delegate void efl_gfx_filter_data_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String value, [MarshalAs(UnmanagedType.U1)] out bool execute);
585
586         
587         public delegate void efl_gfx_filter_data_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String value, [MarshalAs(UnmanagedType.U1)] out bool execute);
588
589         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_data_get_api_delegate> efl_gfx_filter_data_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_data_get_api_delegate>(Module, "efl_gfx_filter_data_get");
590
591         private static void filter_data_get(System.IntPtr obj, System.IntPtr pd, System.String name, out System.String value, out bool execute)
592         {
593             Eina.Log.Debug("function efl_gfx_filter_data_get was called");
594             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
595             if (ws != null)
596             {
597                                         System.String _out_value = default(System.String);
598         execute = default(bool);                                    
599                 try
600                 {
601                     ((IFilter)ws.Target).GetFilterData(name, out _out_value, out execute);
602                 }
603                 catch (Exception e)
604                 {
605                     Eina.Log.Warning($"Callback error: {e.ToString()}");
606                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
607                 }
608
609                 value = _out_value;
610                                         
611             }
612             else
613             {
614                 efl_gfx_filter_data_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, out value, out execute);
615             }
616         }
617
618         private static efl_gfx_filter_data_get_delegate efl_gfx_filter_data_get_static_delegate;
619
620         
621         private delegate void efl_gfx_filter_data_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value, [MarshalAs(UnmanagedType.U1)] bool execute);
622
623         
624         public delegate void efl_gfx_filter_data_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value, [MarshalAs(UnmanagedType.U1)] bool execute);
625
626         public static Efl.Eo.FunctionWrapper<efl_gfx_filter_data_set_api_delegate> efl_gfx_filter_data_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_data_set_api_delegate>(Module, "efl_gfx_filter_data_set");
627
628         private static void filter_data_set(System.IntPtr obj, System.IntPtr pd, System.String name, System.String value, bool execute)
629         {
630             Eina.Log.Debug("function efl_gfx_filter_data_set was called");
631             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
632             if (ws != null)
633             {
634                                                                                     
635                 try
636                 {
637                     ((IFilter)ws.Target).SetFilterData(name, value, execute);
638                 }
639                 catch (Exception e)
640                 {
641                     Eina.Log.Warning($"Callback error: {e.ToString()}");
642                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
643                 }
644
645                                                         
646             }
647             else
648             {
649                 efl_gfx_filter_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, value, execute);
650             }
651         }
652
653         private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;
654
655         #pragma warning restore CA1707, CS1591, SA1300, SA1600
656
657 }
658 }
659 }
660
661 }
662