2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Efl graphics gradient radial interface</summary>
14 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
15 [Efl.Gfx.IGradientRadialConcrete.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public interface IGradientRadial :
19 Efl.Eo.IWrapper, IDisposable
21 /// <summary>Gets the center of this radial gradient.</summary>
22 /// <param name="x">X co-ordinate of center point</param>
23 /// <param name="y">Y co-ordinate of center point</param>
24 void GetCenter(out double x, out double y);
25 /// <summary>Sets the center of this radial gradient.</summary>
26 /// <param name="x">X co-ordinate of center point</param>
27 /// <param name="y">Y co-ordinate of center point</param>
28 void SetCenter(double x, double y);
29 /// <summary>Gets the center radius of this radial gradient.</summary>
30 /// <returns>Center radius</returns>
32 /// <summary>Sets the center radius of this radial gradient.</summary>
33 /// <param name="r">Center radius</param>
34 void SetRadius(double r);
35 /// <summary>Gets the focal point of this radial gradient.</summary>
36 /// <param name="x">X co-ordinate of focal point</param>
37 /// <param name="y">Y co-ordinate of focal point</param>
38 void GetFocal(out double x, out double y);
39 /// <summary>Sets the focal point of this radial gradient.</summary>
40 /// <param name="x">X co-ordinate of focal point</param>
41 /// <param name="y">Y co-ordinate of focal point</param>
42 void SetFocal(double x, double y);
43 /// <summary>Gets the center of this radial gradient.</summary>
44 /// <value>X co-ordinate of center point</value>
45 (double, double) Center {
49 /// <summary>Gets the center radius of this radial gradient.</summary>
50 /// <value>Center radius</value>
55 /// <summary>Gets the focal point of this radial gradient.</summary>
56 /// <value>X co-ordinate of focal point</value>
57 (double, double) Focal {
62 /// <summary>Efl graphics gradient radial interface</summary>
63 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
64 sealed public class IGradientRadialConcrete :
69 /// <summary>Pointer to the native class description.</summary>
70 public override System.IntPtr NativeClass
74 if (((object)this).GetType() == typeof(IGradientRadialConcrete))
76 return GetEflClassStatic();
80 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
85 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
86 /// Do not call this constructor directly.</summary>
87 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
88 private IGradientRadialConcrete(ConstructingHandle ch) : base(ch)
92 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
93 efl_gfx_gradient_radial_interface_get();
94 /// <summary>Initializes a new instance of the <see cref="IGradientRadial"/> class.
95 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
96 /// <param name="wh">The native pointer to be wrapped.</param>
97 private IGradientRadialConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
101 /// <summary>Gets the center of this radial gradient.</summary>
102 /// <param name="x">X co-ordinate of center point</param>
103 /// <param name="y">Y co-ordinate of center point</param>
104 public void GetCenter(out double x, out double y) {
105 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
106 Eina.Error.RaiseIfUnhandledException();
108 /// <summary>Sets the center of this radial gradient.</summary>
109 /// <param name="x">X co-ordinate of center point</param>
110 /// <param name="y">Y co-ordinate of center point</param>
111 public void SetCenter(double x, double y) {
112 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_center_set_ptr.Value.Delegate(this.NativeHandle,x, y);
113 Eina.Error.RaiseIfUnhandledException();
115 /// <summary>Gets the center radius of this radial gradient.</summary>
116 /// <returns>Center radius</returns>
117 public double GetRadius() {
118 var _ret_var = Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_get_ptr.Value.Delegate(this.NativeHandle);
119 Eina.Error.RaiseIfUnhandledException();
122 /// <summary>Sets the center radius of this radial gradient.</summary>
123 /// <param name="r">Center radius</param>
124 public void SetRadius(double r) {
125 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_radius_set_ptr.Value.Delegate(this.NativeHandle,r);
126 Eina.Error.RaiseIfUnhandledException();
128 /// <summary>Gets the focal point of this radial gradient.</summary>
129 /// <param name="x">X co-ordinate of focal point</param>
130 /// <param name="y">Y co-ordinate of focal point</param>
131 public void GetFocal(out double x, out double y) {
132 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
133 Eina.Error.RaiseIfUnhandledException();
135 /// <summary>Sets the focal point of this radial gradient.</summary>
136 /// <param name="x">X co-ordinate of focal point</param>
137 /// <param name="y">Y co-ordinate of focal point</param>
138 public void SetFocal(double x, double y) {
139 Efl.Gfx.IGradientRadialConcrete.NativeMethods.efl_gfx_gradient_radial_focal_set_ptr.Value.Delegate(this.NativeHandle,x, y);
140 Eina.Error.RaiseIfUnhandledException();
142 /// <summary>Get the list of color stops.</summary>
143 /// <param name="colors">Color stops list</param>
144 /// <param name="length">Length of the list</param>
145 public void GetStop(out Efl.Gfx.GradientStop colors, out uint length) {
146 var _out_colors = new System.IntPtr();
147 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_get_ptr.Value.Delegate(this.NativeHandle,out _out_colors, out length);
148 Eina.Error.RaiseIfUnhandledException();
149 colors = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.GradientStop>(_out_colors);
151 /// <summary>Set the list of color stops for the gradient</summary>
152 /// <param name="colors">Color stops list</param>
153 /// <param name="length">Length of the list</param>
154 public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) {
155 Efl.Gfx.GradientStop.NativeStruct _in_colors = colors;
156 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_set_ptr.Value.Delegate(this.NativeHandle,ref _in_colors, length);
157 Eina.Error.RaiseIfUnhandledException();
160 /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
161 /// <returns>Spread type to be used</returns>
162 public Efl.Gfx.GradientSpread GetSpread() {
163 var _ret_var = Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_get_ptr.Value.Delegate(this.NativeHandle);
164 Eina.Error.RaiseIfUnhandledException();
167 /// <summary>Specifies the spread method that should be used for this gradient.</summary>
168 /// <param name="s">Spread type to be used</param>
169 public void SetSpread(Efl.Gfx.GradientSpread s) {
170 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
171 Eina.Error.RaiseIfUnhandledException();
173 /// <summary>Gets the center of this radial gradient.</summary>
174 /// <value>X co-ordinate of center point</value>
175 public (double, double) Center {
177 double _out_x = default(double);
178 double _out_y = default(double);
179 GetCenter(out _out_x,out _out_y);
180 return (_out_x,_out_y);
182 set { SetCenter( value.Item1, value.Item2); }
184 /// <summary>Gets the center radius of this radial gradient.</summary>
185 /// <value>Center radius</value>
186 public double Radius {
187 get { return GetRadius(); }
188 set { SetRadius(value); }
190 /// <summary>Gets the focal point of this radial gradient.</summary>
191 /// <value>X co-ordinate of focal point</value>
192 public (double, double) Focal {
194 double _out_x = default(double);
195 double _out_y = default(double);
196 GetFocal(out _out_x,out _out_y);
197 return (_out_x,_out_y);
199 set { SetFocal( value.Item1, value.Item2); }
201 /// <summary>Get the list of color stops.</summary>
202 /// <value>Color stops list</value>
203 public (Efl.Gfx.GradientStop, uint) Stop {
205 Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
206 uint _out_length = default(uint);
207 GetStop(out _out_colors,out _out_length);
208 return (_out_colors,_out_length);
210 set { SetStop(ref value.Item1, value.Item2); }
212 /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
213 /// <value>Spread type to be used</value>
214 public Efl.Gfx.GradientSpread Spread {
215 get { return GetSpread(); }
216 set { SetSpread(value); }
218 private static IntPtr GetEflClassStatic()
220 return Efl.Gfx.IGradientRadialConcrete.efl_gfx_gradient_radial_interface_get();
222 /// <summary>Wrapper for native methods and virtual method delegates.
223 /// For internal use by generated code only.</summary>
224 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
226 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
227 /// <summary>Gets the list of Eo operations to override.</summary>
228 /// <returns>The list of Eo operations to be overload.</returns>
229 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
231 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
232 var methods = Efl.Eo.Globals.GetUserMethods(type);
234 if (efl_gfx_gradient_radial_center_get_static_delegate == null)
236 efl_gfx_gradient_radial_center_get_static_delegate = new efl_gfx_gradient_radial_center_get_delegate(center_get);
239 if (methods.FirstOrDefault(m => m.Name == "GetCenter") != null)
241 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) });
244 if (efl_gfx_gradient_radial_center_set_static_delegate == null)
246 efl_gfx_gradient_radial_center_set_static_delegate = new efl_gfx_gradient_radial_center_set_delegate(center_set);
249 if (methods.FirstOrDefault(m => m.Name == "SetCenter") != null)
251 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) });
254 if (efl_gfx_gradient_radial_radius_get_static_delegate == null)
256 efl_gfx_gradient_radial_radius_get_static_delegate = new efl_gfx_gradient_radial_radius_get_delegate(radius_get);
259 if (methods.FirstOrDefault(m => m.Name == "GetRadius") != null)
261 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) });
264 if (efl_gfx_gradient_radial_radius_set_static_delegate == null)
266 efl_gfx_gradient_radial_radius_set_static_delegate = new efl_gfx_gradient_radial_radius_set_delegate(radius_set);
269 if (methods.FirstOrDefault(m => m.Name == "SetRadius") != null)
271 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) });
274 if (efl_gfx_gradient_radial_focal_get_static_delegate == null)
276 efl_gfx_gradient_radial_focal_get_static_delegate = new efl_gfx_gradient_radial_focal_get_delegate(focal_get);
279 if (methods.FirstOrDefault(m => m.Name == "GetFocal") != null)
281 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) });
284 if (efl_gfx_gradient_radial_focal_set_static_delegate == null)
286 efl_gfx_gradient_radial_focal_set_static_delegate = new efl_gfx_gradient_radial_focal_set_delegate(focal_set);
289 if (methods.FirstOrDefault(m => m.Name == "SetFocal") != null)
291 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) });
294 if (efl_gfx_gradient_stop_get_static_delegate == null)
296 efl_gfx_gradient_stop_get_static_delegate = new efl_gfx_gradient_stop_get_delegate(stop_get);
299 if (methods.FirstOrDefault(m => m.Name == "GetStop") != null)
301 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) });
304 if (efl_gfx_gradient_stop_set_static_delegate == null)
306 efl_gfx_gradient_stop_set_static_delegate = new efl_gfx_gradient_stop_set_delegate(stop_set);
309 if (methods.FirstOrDefault(m => m.Name == "SetStop") != null)
311 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) });
314 if (efl_gfx_gradient_spread_get_static_delegate == null)
316 efl_gfx_gradient_spread_get_static_delegate = new efl_gfx_gradient_spread_get_delegate(spread_get);
319 if (methods.FirstOrDefault(m => m.Name == "GetSpread") != null)
321 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) });
324 if (efl_gfx_gradient_spread_set_static_delegate == null)
326 efl_gfx_gradient_spread_set_static_delegate = new efl_gfx_gradient_spread_set_delegate(spread_set);
329 if (methods.FirstOrDefault(m => m.Name == "SetSpread") != null)
331 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) });
336 /// <summary>Returns the Eo class for the native methods of this class.</summary>
337 /// <returns>The native class pointer.</returns>
338 public override IntPtr GetEflClass()
340 return Efl.Gfx.IGradientRadialConcrete.efl_gfx_gradient_radial_interface_get();
343 #pragma warning disable CA1707, CS1591, SA1300, SA1600
346 private delegate void efl_gfx_gradient_radial_center_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
349 public delegate void efl_gfx_gradient_radial_center_get_api_delegate(System.IntPtr obj, out double x, out double y);
351 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");
353 private static void center_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
355 Eina.Log.Debug("function efl_gfx_gradient_radial_center_get was called");
356 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
359 x = default(double); y = default(double);
362 ((IGradientRadial)ws.Target).GetCenter(out x, out y);
366 Eina.Log.Warning($"Callback error: {e.ToString()}");
367 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
374 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);
378 private static efl_gfx_gradient_radial_center_get_delegate efl_gfx_gradient_radial_center_get_static_delegate;
381 private delegate void efl_gfx_gradient_radial_center_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
384 public delegate void efl_gfx_gradient_radial_center_set_api_delegate(System.IntPtr obj, double x, double y);
386 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");
388 private static void center_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
390 Eina.Log.Debug("function efl_gfx_gradient_radial_center_set was called");
391 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
397 ((IGradientRadial)ws.Target).SetCenter(x, y);
401 Eina.Log.Warning($"Callback error: {e.ToString()}");
402 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
409 efl_gfx_gradient_radial_center_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
413 private static efl_gfx_gradient_radial_center_set_delegate efl_gfx_gradient_radial_center_set_static_delegate;
416 private delegate double efl_gfx_gradient_radial_radius_get_delegate(System.IntPtr obj, System.IntPtr pd);
419 public delegate double efl_gfx_gradient_radial_radius_get_api_delegate(System.IntPtr obj);
421 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");
423 private static double radius_get(System.IntPtr obj, System.IntPtr pd)
425 Eina.Log.Debug("function efl_gfx_gradient_radial_radius_get was called");
426 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
429 double _ret_var = default(double);
432 _ret_var = ((IGradientRadial)ws.Target).GetRadius();
436 Eina.Log.Warning($"Callback error: {e.ToString()}");
437 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
445 return efl_gfx_gradient_radial_radius_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
449 private static efl_gfx_gradient_radial_radius_get_delegate efl_gfx_gradient_radial_radius_get_static_delegate;
452 private delegate void efl_gfx_gradient_radial_radius_set_delegate(System.IntPtr obj, System.IntPtr pd, double r);
455 public delegate void efl_gfx_gradient_radial_radius_set_api_delegate(System.IntPtr obj, double r);
457 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");
459 private static void radius_set(System.IntPtr obj, System.IntPtr pd, double r)
461 Eina.Log.Debug("function efl_gfx_gradient_radial_radius_set was called");
462 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
468 ((IGradientRadial)ws.Target).SetRadius(r);
472 Eina.Log.Warning($"Callback error: {e.ToString()}");
473 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
480 efl_gfx_gradient_radial_radius_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r);
484 private static efl_gfx_gradient_radial_radius_set_delegate efl_gfx_gradient_radial_radius_set_static_delegate;
487 private delegate void efl_gfx_gradient_radial_focal_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
490 public delegate void efl_gfx_gradient_radial_focal_get_api_delegate(System.IntPtr obj, out double x, out double y);
492 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");
494 private static void focal_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
496 Eina.Log.Debug("function efl_gfx_gradient_radial_focal_get was called");
497 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
500 x = default(double); y = default(double);
503 ((IGradientRadial)ws.Target).GetFocal(out x, out y);
507 Eina.Log.Warning($"Callback error: {e.ToString()}");
508 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
515 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);
519 private static efl_gfx_gradient_radial_focal_get_delegate efl_gfx_gradient_radial_focal_get_static_delegate;
522 private delegate void efl_gfx_gradient_radial_focal_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
525 public delegate void efl_gfx_gradient_radial_focal_set_api_delegate(System.IntPtr obj, double x, double y);
527 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");
529 private static void focal_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
531 Eina.Log.Debug("function efl_gfx_gradient_radial_focal_set was called");
532 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
538 ((IGradientRadial)ws.Target).SetFocal(x, y);
542 Eina.Log.Warning($"Callback error: {e.ToString()}");
543 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
550 efl_gfx_gradient_radial_focal_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
554 private static efl_gfx_gradient_radial_focal_set_delegate efl_gfx_gradient_radial_focal_set_static_delegate;
557 private delegate void efl_gfx_gradient_stop_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr colors, out uint length);
560 public delegate void efl_gfx_gradient_stop_get_api_delegate(System.IntPtr obj, out System.IntPtr colors, out uint length);
562 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");
564 private static void stop_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr colors, out uint length)
566 Eina.Log.Debug("function efl_gfx_gradient_stop_get was called");
567 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
570 Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
571 length = default(uint);
574 ((IGradientRadial)ws.Target).GetStop(out _out_colors, out length);
578 Eina.Log.Warning($"Callback error: {e.ToString()}");
579 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
582 colors = Eina.PrimitiveConversion.ManagedToPointerAlloc(_out_colors);
587 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);
591 private static efl_gfx_gradient_stop_get_delegate efl_gfx_gradient_stop_get_static_delegate;
594 private delegate void efl_gfx_gradient_stop_set_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length);
597 public delegate void efl_gfx_gradient_stop_set_api_delegate(System.IntPtr obj, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length);
599 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");
601 private static void stop_set(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length)
603 Eina.Log.Debug("function efl_gfx_gradient_stop_set was called");
604 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
607 Efl.Gfx.GradientStop _in_colors = colors;
611 ((IGradientRadial)ws.Target).SetStop(ref _in_colors, length);
615 Eina.Log.Warning($"Callback error: {e.ToString()}");
616 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
624 efl_gfx_gradient_stop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref colors, length);
628 private static efl_gfx_gradient_stop_set_delegate efl_gfx_gradient_stop_set_static_delegate;
631 private delegate Efl.Gfx.GradientSpread efl_gfx_gradient_spread_get_delegate(System.IntPtr obj, System.IntPtr pd);
634 public delegate Efl.Gfx.GradientSpread efl_gfx_gradient_spread_get_api_delegate(System.IntPtr obj);
636 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");
638 private static Efl.Gfx.GradientSpread spread_get(System.IntPtr obj, System.IntPtr pd)
640 Eina.Log.Debug("function efl_gfx_gradient_spread_get was called");
641 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
644 Efl.Gfx.GradientSpread _ret_var = default(Efl.Gfx.GradientSpread);
647 _ret_var = ((IGradientRadial)ws.Target).GetSpread();
651 Eina.Log.Warning($"Callback error: {e.ToString()}");
652 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
660 return efl_gfx_gradient_spread_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
664 private static efl_gfx_gradient_spread_get_delegate efl_gfx_gradient_spread_get_static_delegate;
667 private delegate void efl_gfx_gradient_spread_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s);
670 public delegate void efl_gfx_gradient_spread_set_api_delegate(System.IntPtr obj, Efl.Gfx.GradientSpread s);
672 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");
674 private static void spread_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s)
676 Eina.Log.Debug("function efl_gfx_gradient_spread_set was called");
677 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
683 ((IGradientRadial)ws.Target).SetSpread(s);
687 Eina.Log.Warning($"Callback error: {e.ToString()}");
688 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
695 efl_gfx_gradient_spread_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), s);
699 private static efl_gfx_gradient_spread_set_delegate efl_gfx_gradient_spread_set_static_delegate;
701 #pragma warning restore CA1707, CS1591, SA1300, SA1600
710 #pragma warning disable CS1591
711 public static class Efl_GfxIGradientRadialConcrete_ExtensionMethods {
713 public static Efl.BindableProperty<double> Radius<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradientRadial, T>magic = null) where T : Efl.Gfx.IGradientRadial {
714 return new Efl.BindableProperty<double>("radius", fac);
719 public static Efl.BindableProperty<Efl.Gfx.GradientSpread> Spread<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradientRadial, T>magic = null) where T : Efl.Gfx.IGradientRadial {
720 return new Efl.BindableProperty<Efl.Gfx.GradientSpread>("spread", fac);
724 #pragma warning restore CS1591