1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Efl graphics gradient radial interface</summary>
13 [Efl.Gfx.IGradientRadialConcrete.NativeMethods]
14 public interface IGradientRadial :
16 Efl.Eo.IWrapper, IDisposable
18 /// <summary>Gets the center of this radial gradient.</summary>
19 /// <param name="x">X co-ordinate of center point</param>
20 /// <param name="y">Y co-ordinate of center point</param>
21 void GetCenter(out double x, out double y);
22 /// <summary>Sets the center of this radial gradient.</summary>
23 /// <param name="x">X co-ordinate of center point</param>
24 /// <param name="y">Y co-ordinate of center point</param>
25 void SetCenter(double x, double y);
26 /// <summary>Gets the center radius of this radial gradient.</summary>
27 /// <returns>Center radius</returns>
29 /// <summary>Sets the center radius of this radial gradient.</summary>
30 /// <param name="r">Center radius</param>
31 void SetRadius(double r);
32 /// <summary>Gets the focal point of this radial gradient.</summary>
33 /// <param name="x">X co-ordinate of focal point</param>
34 /// <param name="y">Y co-ordinate of focal point</param>
35 void GetFocal(out double x, out double y);
36 /// <summary>Sets the focal point of this radial gradient.</summary>
37 /// <param name="x">X co-ordinate of focal point</param>
38 /// <param name="y">Y co-ordinate of focal point</param>
39 void SetFocal(double x, double y);
40 /// <summary>Gets the center radius of this radial gradient.</summary>
41 /// <value>Center radius</value>
47 /// <summary>Efl graphics gradient radial interface</summary>
48 sealed public class IGradientRadialConcrete :
53 ///<summary>Pointer to the native class description.</summary>
54 public override System.IntPtr NativeClass
58 if (((object)this).GetType() == typeof(IGradientRadialConcrete))
60 return GetEflClassStatic();
64 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
69 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
70 efl_gfx_gradient_radial_interface_get();
71 /// <summary>Initializes a new instance of the <see cref="IGradientRadial"/> class.
72 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
73 private IGradientRadialConcrete(System.IntPtr raw) : base(raw)
77 /// <summary>Gets the center of this radial gradient.</summary>
78 /// <param name="x">X co-ordinate of center point</param>
79 /// <param name="y">Y co-ordinate of center point</param>
80 public void GetCenter(out double x, out double y) {
81 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
82 Eina.Error.RaiseIfUnhandledException();
84 /// <summary>Sets the center of this radial gradient.</summary>
85 /// <param name="x">X co-ordinate of center point</param>
86 /// <param name="y">Y co-ordinate of center point</param>
87 public void SetCenter(double x, double y) {
88 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_set_ptr.Value.Delegate(this.NativeHandle,x, y);
89 Eina.Error.RaiseIfUnhandledException();
91 /// <summary>Gets the center radius of this radial gradient.</summary>
92 /// <returns>Center radius</returns>
93 public double GetRadius() {
94 var _ret_var = Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_get_ptr.Value.Delegate(this.NativeHandle);
95 Eina.Error.RaiseIfUnhandledException();
98 /// <summary>Sets the center radius of this radial gradient.</summary>
99 /// <param name="r">Center radius</param>
100 public void SetRadius(double r) {
101 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_set_ptr.Value.Delegate(this.NativeHandle,r);
102 Eina.Error.RaiseIfUnhandledException();
104 /// <summary>Gets the focal point of this radial gradient.</summary>
105 /// <param name="x">X co-ordinate of focal point</param>
106 /// <param name="y">Y co-ordinate of focal point</param>
107 public void GetFocal(out double x, out double y) {
108 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
109 Eina.Error.RaiseIfUnhandledException();
111 /// <summary>Sets the focal point of this radial gradient.</summary>
112 /// <param name="x">X co-ordinate of focal point</param>
113 /// <param name="y">Y co-ordinate of focal point</param>
114 public void SetFocal(double x, double y) {
115 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_set_ptr.Value.Delegate(this.NativeHandle,x, y);
116 Eina.Error.RaiseIfUnhandledException();
118 /// <summary>Get the list of color stops.</summary>
119 /// <param name="colors">Color stops list</param>
120 /// <param name="length">Length of the list</param>
121 public void GetStop(out Efl.Gfx.GradientStop colors, out uint length) {
122 var _out_colors = new System.IntPtr();
123 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_get_ptr.Value.Delegate(this.NativeHandle,out _out_colors, out length);
124 Eina.Error.RaiseIfUnhandledException();
125 colors = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.GradientStop>(_out_colors);
127 /// <summary>Set the list of color stops for the gradient</summary>
128 /// <param name="colors">Color stops list</param>
129 /// <param name="length">Length of the list</param>
130 public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) {
131 Efl.Gfx.GradientStop.NativeStruct _in_colors = colors;
132 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_set_ptr.Value.Delegate(this.NativeHandle,ref _in_colors, length);
133 Eina.Error.RaiseIfUnhandledException();
136 /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
137 /// <returns>Spread type to be used</returns>
138 public Efl.Gfx.GradientSpread GetSpread() {
139 var _ret_var = Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_get_ptr.Value.Delegate(this.NativeHandle);
140 Eina.Error.RaiseIfUnhandledException();
143 /// <summary>Specifies the spread method that should be used for this gradient.</summary>
144 /// <param name="s">Spread type to be used</param>
145 public void SetSpread(Efl.Gfx.GradientSpread s) {
146 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
147 Eina.Error.RaiseIfUnhandledException();
149 /// <summary>Gets the center radius of this radial gradient.</summary>
150 /// <value>Center radius</value>
151 public double Radius {
152 get { return GetRadius(); }
153 set { SetRadius(value); }
155 /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
156 /// <value>Spread type to be used</value>
157 public Efl.Gfx.GradientSpread Spread {
158 get { return GetSpread(); }
159 set { SetSpread(value); }
161 private static IntPtr GetEflClassStatic()
163 return Efl.Gfx.IGradientRadialConcrete.efl_gfx_gradient_radial_interface_get();
165 /// <summary>Wrapper for native methods and virtual method delegates.
166 /// For internal use by generated code only.</summary>
167 public class NativeMethods : Efl.Eo.NativeClass
169 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
170 /// <summary>Gets the list of Eo operations to override.</summary>
171 /// <returns>The list of Eo operations to be overload.</returns>
172 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
174 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
175 var methods = Efl.Eo.Globals.GetUserMethods(type);
177 if (efl_gfx_gradient_radial_center_get_static_delegate == null)
179 efl_gfx_gradient_radial_center_get_static_delegate = new efl_gfx_gradient_radial_center_get_delegate(center_get);
182 if (methods.FirstOrDefault(m => m.Name == "GetCenter") != null)
184 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_radial_center_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_radial_center_get_static_delegate) });
187 if (efl_gfx_gradient_radial_center_set_static_delegate == null)
189 efl_gfx_gradient_radial_center_set_static_delegate = new efl_gfx_gradient_radial_center_set_delegate(center_set);
192 if (methods.FirstOrDefault(m => m.Name == "SetCenter") != null)
194 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_radial_center_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_radial_center_set_static_delegate) });
197 if (efl_gfx_gradient_radial_radius_get_static_delegate == null)
199 efl_gfx_gradient_radial_radius_get_static_delegate = new efl_gfx_gradient_radial_radius_get_delegate(radius_get);
202 if (methods.FirstOrDefault(m => m.Name == "GetRadius") != null)
204 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_radial_radius_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_radial_radius_get_static_delegate) });
207 if (efl_gfx_gradient_radial_radius_set_static_delegate == null)
209 efl_gfx_gradient_radial_radius_set_static_delegate = new efl_gfx_gradient_radial_radius_set_delegate(radius_set);
212 if (methods.FirstOrDefault(m => m.Name == "SetRadius") != null)
214 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_radial_radius_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_radial_radius_set_static_delegate) });
217 if (efl_gfx_gradient_radial_focal_get_static_delegate == null)
219 efl_gfx_gradient_radial_focal_get_static_delegate = new efl_gfx_gradient_radial_focal_get_delegate(focal_get);
222 if (methods.FirstOrDefault(m => m.Name == "GetFocal") != null)
224 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_radial_focal_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_radial_focal_get_static_delegate) });
227 if (efl_gfx_gradient_radial_focal_set_static_delegate == null)
229 efl_gfx_gradient_radial_focal_set_static_delegate = new efl_gfx_gradient_radial_focal_set_delegate(focal_set);
232 if (methods.FirstOrDefault(m => m.Name == "SetFocal") != null)
234 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_radial_focal_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_radial_focal_set_static_delegate) });
237 if (efl_gfx_gradient_stop_get_static_delegate == null)
239 efl_gfx_gradient_stop_get_static_delegate = new efl_gfx_gradient_stop_get_delegate(stop_get);
242 if (methods.FirstOrDefault(m => m.Name == "GetStop") != null)
244 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_stop_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_stop_get_static_delegate) });
247 if (efl_gfx_gradient_stop_set_static_delegate == null)
249 efl_gfx_gradient_stop_set_static_delegate = new efl_gfx_gradient_stop_set_delegate(stop_set);
252 if (methods.FirstOrDefault(m => m.Name == "SetStop") != null)
254 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_stop_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_stop_set_static_delegate) });
257 if (efl_gfx_gradient_spread_get_static_delegate == null)
259 efl_gfx_gradient_spread_get_static_delegate = new efl_gfx_gradient_spread_get_delegate(spread_get);
262 if (methods.FirstOrDefault(m => m.Name == "GetSpread") != null)
264 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_spread_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_spread_get_static_delegate) });
267 if (efl_gfx_gradient_spread_set_static_delegate == null)
269 efl_gfx_gradient_spread_set_static_delegate = new efl_gfx_gradient_spread_set_delegate(spread_set);
272 if (methods.FirstOrDefault(m => m.Name == "SetSpread") != null)
274 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_spread_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_spread_set_static_delegate) });
279 /// <summary>Returns the Eo class for the native methods of this class.</summary>
280 /// <returns>The native class pointer.</returns>
281 public override IntPtr GetEflClass()
283 return Efl.Gfx.IGradientRadialConcrete.efl_gfx_gradient_radial_interface_get();
286 #pragma warning disable CA1707, CS1591, SA1300, SA1600
289 private delegate void efl_gfx_gradient_radial_center_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
292 public delegate void efl_gfx_gradient_radial_center_get_api_delegate(System.IntPtr obj, out double x, out double y);
294 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_center_get_api_delegate> efl_gfx_gradient_radial_center_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_center_get_api_delegate>(Module, "efl_gfx_gradient_radial_center_get");
296 private static void center_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
298 Eina.Log.Debug("function efl_gfx_gradient_radial_center_get was called");
299 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
302 x = default(double); y = default(double);
305 ((IGradientRadial)ws.Target).GetCenter(out x, out y);
309 Eina.Log.Warning($"Callback error: {e.ToString()}");
310 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
317 efl_gfx_gradient_radial_center_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
321 private static efl_gfx_gradient_radial_center_get_delegate efl_gfx_gradient_radial_center_get_static_delegate;
324 private delegate void efl_gfx_gradient_radial_center_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
327 public delegate void efl_gfx_gradient_radial_center_set_api_delegate(System.IntPtr obj, double x, double y);
329 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_center_set_api_delegate> efl_gfx_gradient_radial_center_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_center_set_api_delegate>(Module, "efl_gfx_gradient_radial_center_set");
331 private static void center_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
333 Eina.Log.Debug("function efl_gfx_gradient_radial_center_set was called");
334 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
340 ((IGradientRadial)ws.Target).SetCenter(x, y);
344 Eina.Log.Warning($"Callback error: {e.ToString()}");
345 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
352 efl_gfx_gradient_radial_center_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
356 private static efl_gfx_gradient_radial_center_set_delegate efl_gfx_gradient_radial_center_set_static_delegate;
359 private delegate double efl_gfx_gradient_radial_radius_get_delegate(System.IntPtr obj, System.IntPtr pd);
362 public delegate double efl_gfx_gradient_radial_radius_get_api_delegate(System.IntPtr obj);
364 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_radius_get_api_delegate> efl_gfx_gradient_radial_radius_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_radius_get_api_delegate>(Module, "efl_gfx_gradient_radial_radius_get");
366 private static double radius_get(System.IntPtr obj, System.IntPtr pd)
368 Eina.Log.Debug("function efl_gfx_gradient_radial_radius_get was called");
369 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
372 double _ret_var = default(double);
375 _ret_var = ((IGradientRadial)ws.Target).GetRadius();
379 Eina.Log.Warning($"Callback error: {e.ToString()}");
380 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
388 return efl_gfx_gradient_radial_radius_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
392 private static efl_gfx_gradient_radial_radius_get_delegate efl_gfx_gradient_radial_radius_get_static_delegate;
395 private delegate void efl_gfx_gradient_radial_radius_set_delegate(System.IntPtr obj, System.IntPtr pd, double r);
398 public delegate void efl_gfx_gradient_radial_radius_set_api_delegate(System.IntPtr obj, double r);
400 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_radius_set_api_delegate> efl_gfx_gradient_radial_radius_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_radius_set_api_delegate>(Module, "efl_gfx_gradient_radial_radius_set");
402 private static void radius_set(System.IntPtr obj, System.IntPtr pd, double r)
404 Eina.Log.Debug("function efl_gfx_gradient_radial_radius_set was called");
405 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
411 ((IGradientRadial)ws.Target).SetRadius(r);
415 Eina.Log.Warning($"Callback error: {e.ToString()}");
416 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
423 efl_gfx_gradient_radial_radius_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r);
427 private static efl_gfx_gradient_radial_radius_set_delegate efl_gfx_gradient_radial_radius_set_static_delegate;
430 private delegate void efl_gfx_gradient_radial_focal_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
433 public delegate void efl_gfx_gradient_radial_focal_get_api_delegate(System.IntPtr obj, out double x, out double y);
435 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_focal_get_api_delegate> efl_gfx_gradient_radial_focal_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_focal_get_api_delegate>(Module, "efl_gfx_gradient_radial_focal_get");
437 private static void focal_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
439 Eina.Log.Debug("function efl_gfx_gradient_radial_focal_get was called");
440 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
443 x = default(double); y = default(double);
446 ((IGradientRadial)ws.Target).GetFocal(out x, out y);
450 Eina.Log.Warning($"Callback error: {e.ToString()}");
451 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
458 efl_gfx_gradient_radial_focal_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
462 private static efl_gfx_gradient_radial_focal_get_delegate efl_gfx_gradient_radial_focal_get_static_delegate;
465 private delegate void efl_gfx_gradient_radial_focal_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
468 public delegate void efl_gfx_gradient_radial_focal_set_api_delegate(System.IntPtr obj, double x, double y);
470 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_focal_set_api_delegate> efl_gfx_gradient_radial_focal_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_radial_focal_set_api_delegate>(Module, "efl_gfx_gradient_radial_focal_set");
472 private static void focal_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
474 Eina.Log.Debug("function efl_gfx_gradient_radial_focal_set was called");
475 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
481 ((IGradientRadial)ws.Target).SetFocal(x, y);
485 Eina.Log.Warning($"Callback error: {e.ToString()}");
486 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
493 efl_gfx_gradient_radial_focal_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
497 private static efl_gfx_gradient_radial_focal_set_delegate efl_gfx_gradient_radial_focal_set_static_delegate;
500 private delegate void efl_gfx_gradient_stop_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr colors, out uint length);
503 public delegate void efl_gfx_gradient_stop_get_api_delegate(System.IntPtr obj, out System.IntPtr colors, out uint length);
505 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_get_api_delegate> efl_gfx_gradient_stop_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_get_api_delegate>(Module, "efl_gfx_gradient_stop_get");
507 private static void stop_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr colors, out uint length)
509 Eina.Log.Debug("function efl_gfx_gradient_stop_get was called");
510 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
513 Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
514 length = default(uint);
517 ((IGradientRadial)ws.Target).GetStop(out _out_colors, out length);
521 Eina.Log.Warning($"Callback error: {e.ToString()}");
522 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
525 colors = Eina.PrimitiveConversion.ManagedToPointerAlloc(_out_colors);
530 efl_gfx_gradient_stop_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out colors, out length);
534 private static efl_gfx_gradient_stop_get_delegate efl_gfx_gradient_stop_get_static_delegate;
537 private delegate void efl_gfx_gradient_stop_set_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length);
540 public delegate void efl_gfx_gradient_stop_set_api_delegate(System.IntPtr obj, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length);
542 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_set_api_delegate> efl_gfx_gradient_stop_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_set_api_delegate>(Module, "efl_gfx_gradient_stop_set");
544 private static void stop_set(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length)
546 Eina.Log.Debug("function efl_gfx_gradient_stop_set was called");
547 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
550 Efl.Gfx.GradientStop _in_colors = colors;
554 ((IGradientRadial)ws.Target).SetStop(ref _in_colors, length);
558 Eina.Log.Warning($"Callback error: {e.ToString()}");
559 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
567 efl_gfx_gradient_stop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref colors, length);
571 private static efl_gfx_gradient_stop_set_delegate efl_gfx_gradient_stop_set_static_delegate;
574 private delegate Efl.Gfx.GradientSpread efl_gfx_gradient_spread_get_delegate(System.IntPtr obj, System.IntPtr pd);
577 public delegate Efl.Gfx.GradientSpread efl_gfx_gradient_spread_get_api_delegate(System.IntPtr obj);
579 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_get_api_delegate> efl_gfx_gradient_spread_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_get_api_delegate>(Module, "efl_gfx_gradient_spread_get");
581 private static Efl.Gfx.GradientSpread spread_get(System.IntPtr obj, System.IntPtr pd)
583 Eina.Log.Debug("function efl_gfx_gradient_spread_get was called");
584 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
587 Efl.Gfx.GradientSpread _ret_var = default(Efl.Gfx.GradientSpread);
590 _ret_var = ((IGradientRadial)ws.Target).GetSpread();
594 Eina.Log.Warning($"Callback error: {e.ToString()}");
595 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
603 return efl_gfx_gradient_spread_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
607 private static efl_gfx_gradient_spread_get_delegate efl_gfx_gradient_spread_get_static_delegate;
610 private delegate void efl_gfx_gradient_spread_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s);
613 public delegate void efl_gfx_gradient_spread_set_api_delegate(System.IntPtr obj, Efl.Gfx.GradientSpread s);
615 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_set_api_delegate> efl_gfx_gradient_spread_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_set_api_delegate>(Module, "efl_gfx_gradient_spread_set");
617 private static void spread_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s)
619 Eina.Log.Debug("function efl_gfx_gradient_spread_set was called");
620 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
626 ((IGradientRadial)ws.Target).SetSpread(s);
630 Eina.Log.Warning($"Callback error: {e.ToString()}");
631 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
638 efl_gfx_gradient_spread_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), s);
642 private static efl_gfx_gradient_spread_set_delegate efl_gfx_gradient_spread_set_static_delegate;
644 #pragma warning restore CA1707, CS1591, SA1300, SA1600