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>The bg (background) widget is used for setting (solid) background decorations for a window (unless it has transparency enabled) or for any container object. It works just like an image, but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
13 [Efl.Ui.Bg.NativeMethods]
14 public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLoadController
16 ///<summary>Pointer to the native class description.</summary>
17 public override System.IntPtr NativeClass
21 if (((object)this).GetType() == typeof(Bg))
23 return GetEflClassStatic();
27 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
32 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
33 efl_ui_bg_class_get();
34 /// <summary>Initializes a new instance of the <see cref="Bg"/> class.</summary>
35 /// <param name="parent">Parent instance.</param>
36 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
37 public Bg(Efl.Object parent
38 , System.String style = null) : base(efl_ui_bg_class_get(), typeof(Bg), parent)
40 if (Efl.Eo.Globals.ParamHelperCheck(style))
42 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
45 FinishInstantiation();
48 /// <summary>Initializes a new instance of the <see cref="Bg"/> class.
49 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
50 /// <param name="raw">The native pointer to be wrapped.</param>
51 protected Bg(System.IntPtr raw) : base(raw)
55 /// <summary>Initializes a new instance of the <see cref="Bg"/> class.
56 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
57 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
58 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
59 /// <param name="parent">The Efl.Object parent of this instance.</param>
60 protected Bg(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
64 /// <summary>Image data has been preloaded.</summary>
65 public event EventHandler ImagePreloadEvt
71 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
73 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
76 EventArgs args = EventArgs.Empty;
79 value?.Invoke(obj, args);
83 Eina.Log.Error(e.ToString());
84 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
89 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
90 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
98 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
99 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
103 ///<summary>Method to raise event ImagePreloadEvt.</summary>
104 public void OnImagePreloadEvt(EventArgs e)
106 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
107 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
108 if (desc == IntPtr.Zero)
110 Eina.Log.Error($"Failed to get native event {key}");
114 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
116 /// <summary>Image was resized (its pixel data).</summary>
117 public event EventHandler ImageResizeEvt
123 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
125 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
128 EventArgs args = EventArgs.Empty;
131 value?.Invoke(obj, args);
135 Eina.Log.Error(e.ToString());
136 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
141 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
142 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
150 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
151 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
155 ///<summary>Method to raise event ImageResizeEvt.</summary>
156 public void OnImageResizeEvt(EventArgs e)
158 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
159 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
160 if (desc == IntPtr.Zero)
162 Eina.Log.Error($"Failed to get native event {key}");
166 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
168 /// <summary>Image data has been unloaded (by some mechanism in EFL that threw out the original image data).</summary>
169 public event EventHandler ImageUnloadEvt
175 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
177 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
180 EventArgs args = EventArgs.Empty;
183 value?.Invoke(obj, args);
187 Eina.Log.Error(e.ToString());
188 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
193 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
194 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
202 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
203 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
207 ///<summary>Method to raise event ImageUnloadEvt.</summary>
208 public void OnImageUnloadEvt(EventArgs e)
210 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
211 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
212 if (desc == IntPtr.Zero)
214 Eina.Log.Error($"Failed to get native event {key}");
218 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
220 /// <summary>Called when he image was loaded</summary>
221 public event EventHandler LoadDoneEvt
227 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
229 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
232 EventArgs args = EventArgs.Empty;
235 value?.Invoke(obj, args);
239 Eina.Log.Error(e.ToString());
240 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
245 string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
246 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
254 string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
255 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
259 ///<summary>Method to raise event LoadDoneEvt.</summary>
260 public void OnLoadDoneEvt(EventArgs e)
262 var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE";
263 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
264 if (desc == IntPtr.Zero)
266 Eina.Log.Error($"Failed to get native event {key}");
270 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
272 /// <summary>Called when an error happened during image loading</summary>
273 public event EventHandler<Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args> LoadErrorEvt
279 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
281 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
284 Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args args = new Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args();
285 args.arg = (Eina.Error)Marshal.PtrToStructure(evt.Info, typeof(Eina.Error));
288 value?.Invoke(obj, args);
292 Eina.Log.Error(e.ToString());
293 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
298 string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
299 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
307 string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
308 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
312 ///<summary>Method to raise event LoadErrorEvt.</summary>
313 public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e)
315 var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR";
316 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
317 if (desc == IntPtr.Zero)
319 Eina.Log.Error($"Failed to get native event {key}");
323 IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc((int)e.arg);
326 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
330 Marshal.FreeHGlobal(info);
333 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
334 /// (Since EFL 1.22)</summary>
335 /// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
336 virtual public Eina.File GetMmap() {
337 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
338 Eina.Error.RaiseIfUnhandledException();
341 /// <summary>Set the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
342 /// If mmap is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
343 /// (Since EFL 1.22)</summary>
344 /// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
345 /// <returns>0 on success, error code otherwise</returns>
346 virtual public Eina.Error SetMmap(Eina.File f) {
347 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
348 Eina.Error.RaiseIfUnhandledException();
351 /// <summary>Retrieve the file path from where an object is to fetch the data.
352 /// You must not modify the strings on the returned pointers.
353 /// (Since EFL 1.22)</summary>
354 /// <returns>The file path.</returns>
355 virtual public System.String GetFile() {
356 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
357 Eina.Error.RaiseIfUnhandledException();
360 /// <summary>Set the file path from where an object will fetch the data.
361 /// If file is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
362 /// (Since EFL 1.22)</summary>
363 /// <param name="file">The file path.</param>
364 /// <returns>0 on success, error code otherwise</returns>
365 virtual public Eina.Error SetFile(System.String file) {
366 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
367 Eina.Error.RaiseIfUnhandledException();
370 /// <summary>Get the previously-set key which corresponds to the target data within a file.
371 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
373 /// You must not modify the strings on the returned pointers.
374 /// (Since EFL 1.22)</summary>
375 /// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
376 virtual public System.String GetKey() {
377 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
378 Eina.Error.RaiseIfUnhandledException();
381 /// <summary>Set the key which corresponds to the target data within a file.
382 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
383 /// (Since EFL 1.22)</summary>
384 /// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
385 virtual public void SetKey(System.String key) {
386 Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
387 Eina.Error.RaiseIfUnhandledException();
389 /// <summary>Get the load state of the object.
390 /// (Since EFL 1.22)</summary>
391 /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
392 virtual public bool GetLoaded() {
393 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
394 Eina.Error.RaiseIfUnhandledException();
397 /// <summary>Perform all necessary operations to open and load file data into the object using the <see cref="Efl.IFile.File"/> (or <see cref="Efl.IFile.Mmap"/>) and <see cref="Efl.IFile.Key"/> properties.
398 /// In the case where <see cref="Efl.IFile.SetFile"/> has been called on an object, this will internally open the file and call <see cref="Efl.IFile.SetMmap"/> on the object using the opened file handle.
400 /// Calling <see cref="Efl.IFile.Load"/> on an object which has already performed file operations based on the currently set properties will have no effect.
401 /// (Since EFL 1.22)</summary>
402 /// <returns>0 on success, error code otherwise</returns>
403 virtual public Eina.Error Load() {
404 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
405 Eina.Error.RaiseIfUnhandledException();
408 /// <summary>Perform all necessary operations to unload file data from the object.
409 /// In the case where <see cref="Efl.IFile.SetMmap"/> has been externally called on an object, the file handle stored in the object will be preserved.
411 /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
412 /// (Since EFL 1.22)</summary>
413 virtual public void Unload() {
414 Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
415 Eina.Error.RaiseIfUnhandledException();
417 /// <summary>Whether to use high-quality image scaling algorithm for this image.
418 /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
420 /// <c>true</c> by default</summary>
421 /// <returns>Whether to use smooth scale or not.</returns>
422 virtual public bool GetSmoothScale() {
423 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
424 Eina.Error.RaiseIfUnhandledException();
427 /// <summary>Whether to use high-quality image scaling algorithm for this image.
428 /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
430 /// <c>true</c> by default</summary>
431 /// <param name="smooth_scale">Whether to use smooth scale or not.</param>
432 virtual public void SetSmoothScale(bool smooth_scale) {
433 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),smooth_scale);
434 Eina.Error.RaiseIfUnhandledException();
436 /// <summary>Control how the image is scaled.</summary>
437 /// <returns>Image scale type</returns>
438 virtual public Efl.Gfx.ImageScaleType GetScaleType() {
439 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
440 Eina.Error.RaiseIfUnhandledException();
443 /// <summary>Control how the image is scaled.</summary>
444 /// <param name="scale_type">Image scale type</param>
445 virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
446 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale_type);
447 Eina.Error.RaiseIfUnhandledException();
449 /// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
450 /// <returns>The image's ratio.</returns>
451 virtual public double GetRatio() {
452 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
453 Eina.Error.RaiseIfUnhandledException();
456 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
457 /// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
459 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
461 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
463 /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
465 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
466 /// <param name="l">The border's left width.</param>
467 /// <param name="r">The border's right width.</param>
468 /// <param name="t">The border's top height.</param>
469 /// <param name="b">The border's bottom height.</param>
470 virtual public void GetBorder(out int l, out int r, out int t, out int b) {
471 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
472 Eina.Error.RaiseIfUnhandledException();
474 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
475 /// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
477 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
479 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
481 /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
483 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
484 /// <param name="l">The border's left width.</param>
485 /// <param name="r">The border's right width.</param>
486 /// <param name="t">The border's top height.</param>
487 /// <param name="b">The border's bottom height.</param>
488 virtual public void SetBorder(int l, int r, int t, int b) {
489 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),l, r, t, b);
490 Eina.Error.RaiseIfUnhandledException();
492 /// <summary>Scaling factor applied to the image borders.
493 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
495 /// Default value is 1.0 (no scaling).</summary>
496 /// <returns>The scale factor.</returns>
497 virtual public double GetBorderScale() {
498 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
499 Eina.Error.RaiseIfUnhandledException();
502 /// <summary>Scaling factor applied to the image borders.
503 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
505 /// Default value is 1.0 (no scaling).</summary>
506 /// <param name="scale">The scale factor.</param>
507 virtual public void SetBorderScale(double scale) {
508 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),scale);
509 Eina.Error.RaiseIfUnhandledException();
511 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
512 /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
514 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
515 /// <returns>Fill mode of the center region.</returns>
516 virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
517 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
518 Eina.Error.RaiseIfUnhandledException();
521 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
522 /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
524 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
525 /// <param name="fill">Fill mode of the center region.</param>
526 virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
527 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill);
528 Eina.Error.RaiseIfUnhandledException();
530 /// <summary>This represents the size of the original image in pixels.
531 /// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
533 /// This is a read-only property, and may return 0x0.</summary>
534 /// <returns>The size in pixels.</returns>
535 virtual public Eina.Size2D GetImageSize() {
536 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
537 Eina.Error.RaiseIfUnhandledException();
540 /// <summary>Get the content hint setting of a given image object of the canvas.
541 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
542 /// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
543 virtual public Efl.Gfx.ImageContentHint GetContentHint() {
544 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
545 Eina.Error.RaiseIfUnhandledException();
548 /// <summary>Set the content hint setting of a given image object of the canvas.
549 /// This function sets the content hint value of the given image of the canvas. For example, if you're on the GL engine and your driver implementation supports it, setting this hint to #EVAS_IMAGE_CONTENT_HINT_DYNAMIC will make it need zero copies at texture upload time, which is an "expensive" operation.</summary>
550 /// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
551 virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
552 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
553 Eina.Error.RaiseIfUnhandledException();
555 /// <summary>Get the scale hint of a given image of the canvas.
556 /// This function returns the scale hint value of the given image object of the canvas.</summary>
557 /// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
558 virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
559 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
560 Eina.Error.RaiseIfUnhandledException();
563 /// <summary>Set the scale hint of a given image of the canvas.
564 /// This function sets the scale hint value of the given image object in the canvas, which will affect how Evas is to cache scaled versions of its original source image.</summary>
565 /// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
566 virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
567 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),hint);
568 Eina.Error.RaiseIfUnhandledException();
570 /// <summary>Gets the (last) file loading error for a given object.</summary>
571 /// <returns>The load error code.</returns>
572 virtual public Eina.Error GetImageLoadError() {
573 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
574 Eina.Error.RaiseIfUnhandledException();
577 /// <summary>Returns the requested load size.</summary>
578 /// <returns>The image load size.</returns>
579 virtual public Eina.Size2D GetLoadSize() {
580 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
581 Eina.Error.RaiseIfUnhandledException();
584 /// <summary>Requests the canvas to load the image at the given size.
585 /// EFL will try to load an image of the requested size but does not guarantee an exact match between the request and the loaded image dimensions.</summary>
586 /// <param name="size">The image load size.</param>
587 virtual public void SetLoadSize(Eina.Size2D size) {
588 Eina.Size2D.NativeStruct _in_size = size;
589 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
590 Eina.Error.RaiseIfUnhandledException();
592 /// <summary>Get the DPI resolution of a loaded image object in the canvas.
593 /// This function returns the DPI resolution of the given canvas image.</summary>
594 /// <returns>The DPI resolution.</returns>
595 virtual public double GetLoadDpi() {
596 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
597 Eina.Error.RaiseIfUnhandledException();
600 /// <summary>Set the DPI resolution of an image object's source image.
601 /// This function sets the DPI resolution of a given loaded canvas image. Most useful for the SVG image loader.</summary>
602 /// <param name="dpi">The DPI resolution.</param>
603 virtual public void SetLoadDpi(double dpi) {
604 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dpi);
605 Eina.Error.RaiseIfUnhandledException();
607 /// <summary>Indicates whether the <see cref="Efl.Gfx.IImageLoadController.LoadRegion"/> property is supported for the current file.</summary>
608 /// <returns><c>true</c> if region load of the image is supported, <c>false</c> otherwise</returns>
609 virtual public bool GetLoadRegionSupport() {
610 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
611 Eina.Error.RaiseIfUnhandledException();
614 /// <summary>Retrieve the coordinates of a given image object's selective (source image) load region.</summary>
615 /// <returns>A region of the image.</returns>
616 virtual public Eina.Rect GetLoadRegion() {
617 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
618 Eina.Error.RaiseIfUnhandledException();
621 /// <summary>Inform a given image object to load a selective region of its source image.
622 /// This function is useful when one is not showing all of an image's area on its image object.
624 /// Note: The image loader for the image format in question has to support selective region loading in order for this function to work.</summary>
625 /// <param name="region">A region of the image.</param>
626 virtual public void SetLoadRegion(Eina.Rect region) {
627 Eina.Rect.NativeStruct _in_region = region;
628 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_region);
629 Eina.Error.RaiseIfUnhandledException();
631 /// <summary>Defines whether the orientation information in the image file should be honored.
632 /// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
633 /// <returns><c>true</c> means that it should honor the orientation information.</returns>
634 virtual public bool GetLoadOrientation() {
635 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
636 Eina.Error.RaiseIfUnhandledException();
639 /// <summary>Defines whether the orientation information in the image file should be honored.
640 /// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
641 /// <param name="enable"><c>true</c> means that it should honor the orientation information.</param>
642 virtual public void SetLoadOrientation(bool enable) {
643 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable);
644 Eina.Error.RaiseIfUnhandledException();
646 /// <summary>The scale down factor is a divider on the original image size.
647 /// Setting the scale down factor can reduce load time and memory usage at the cost of having a scaled down image in memory.
649 /// This function sets the scale down factor of a given canvas image. Most useful for the SVG image loader but also applies to JPEG, PNG and BMP.
651 /// Powers of two (2, 4, 8) are best supported (especially with JPEG)</summary>
652 /// <returns>The scale down dividing factor.</returns>
653 virtual public int GetLoadScaleDown() {
654 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
655 Eina.Error.RaiseIfUnhandledException();
658 /// <summary>Requests the image loader to scale down by <c>div</c> times. Call this before starting the actual image load.</summary>
659 /// <param name="div">The scale down dividing factor.</param>
660 virtual public void SetLoadScaleDown(int div) {
661 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),div);
662 Eina.Error.RaiseIfUnhandledException();
664 /// <summary>Initial load should skip header check and leave it all to data load
665 /// If this is true, then future loads of images will defer header loading to a preload stage and/or data load later on rather than at the start when the load begins (e.g. when file is set).</summary>
666 /// <returns>Will be true if header is to be skipped.</returns>
667 virtual public bool GetLoadSkipHeader() {
668 var _ret_var = Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
669 Eina.Error.RaiseIfUnhandledException();
672 /// <summary>Set the skip header state for susbsequent loads of a file.</summary>
673 /// <param name="skip">Will be true if header is to be skipped.</param>
674 virtual public void SetLoadSkipHeader(bool skip) {
675 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),skip);
676 Eina.Error.RaiseIfUnhandledException();
678 /// <summary>Begin preloading an image object's image data in the background.
679 /// Once the background task is complete the event <c>load</c>,done will be emitted.</summary>
680 virtual public void LoadAsyncStart() {
681 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
682 Eina.Error.RaiseIfUnhandledException();
684 /// <summary>Cancel preloading an image object's image data in the background.
685 /// The object should be left in a state where it has no image data. If cancel is called too late, the image will be kept in memory.</summary>
686 virtual public void LoadAsyncCancel() {
687 Efl.Gfx.IImageLoadControllerConcrete.NativeMethods.efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
688 Eina.Error.RaiseIfUnhandledException();
690 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
691 /// (Since EFL 1.22)</summary>
692 /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
693 public Eina.File Mmap {
694 get { return GetMmap(); }
695 set { SetMmap(value); }
697 /// <summary>Retrieve the file path from where an object is to fetch the data.
698 /// You must not modify the strings on the returned pointers.
699 /// (Since EFL 1.22)</summary>
700 /// <value>The file path.</value>
701 public System.String File {
702 get { return GetFile(); }
703 set { SetFile(value); }
705 /// <summary>Get the previously-set key which corresponds to the target data within a file.
706 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
708 /// You must not modify the strings on the returned pointers.
709 /// (Since EFL 1.22)</summary>
710 /// <value>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</value>
711 public System.String Key {
712 get { return GetKey(); }
713 set { SetKey(value); }
715 /// <summary>Get the load state of the object.
716 /// (Since EFL 1.22)</summary>
717 /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
719 get { return GetLoaded(); }
721 /// <summary>Whether to use high-quality image scaling algorithm for this image.
722 /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
724 /// <c>true</c> by default</summary>
725 /// <value>Whether to use smooth scale or not.</value>
726 public bool SmoothScale {
727 get { return GetSmoothScale(); }
728 set { SetSmoothScale(value); }
730 /// <summary>Control how the image is scaled.</summary>
731 /// <value>Image scale type</value>
732 public Efl.Gfx.ImageScaleType ScaleType {
733 get { return GetScaleType(); }
734 set { SetScaleType(value); }
736 /// <summary>The native width/height ratio of the image.</summary>
737 /// <value>The image's ratio.</value>
738 public double Ratio {
739 get { return GetRatio(); }
741 /// <summary>Scaling factor applied to the image borders.
742 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
744 /// Default value is 1.0 (no scaling).</summary>
745 /// <value>The scale factor.</value>
746 public double BorderScale {
747 get { return GetBorderScale(); }
748 set { SetBorderScale(value); }
750 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
751 /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
753 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
754 /// <value>Fill mode of the center region.</value>
755 public Efl.Gfx.BorderFillMode BorderCenterFill {
756 get { return GetBorderCenterFill(); }
757 set { SetBorderCenterFill(value); }
759 /// <summary>This represents the size of the original image in pixels.
760 /// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
762 /// This is a read-only property, and may return 0x0.</summary>
763 /// <value>The size in pixels.</value>
764 public Eina.Size2D ImageSize {
765 get { return GetImageSize(); }
767 /// <summary>Get the content hint setting of a given image object of the canvas.
768 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
769 /// <value>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></value>
770 public Efl.Gfx.ImageContentHint ContentHint {
771 get { return GetContentHint(); }
772 set { SetContentHint(value); }
774 /// <summary>Get the scale hint of a given image of the canvas.
775 /// This function returns the scale hint value of the given image object of the canvas.</summary>
776 /// <value>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></value>
777 public Efl.Gfx.ImageScaleHint ScaleHint {
778 get { return GetScaleHint(); }
779 set { SetScaleHint(value); }
781 /// <summary>Gets the (last) file loading error for a given object.</summary>
782 /// <value>The load error code.</value>
783 public Eina.Error ImageLoadError {
784 get { return GetImageLoadError(); }
786 /// <summary>The load size of an image.
787 /// The image will be loaded into memory as if it was the specified size instead of its original size. This can save a lot of memory and is important for scalable types like svg.
789 /// By default, the load size is not specified, so it is 0x0.</summary>
790 /// <value>The image load size.</value>
791 public Eina.Size2D LoadSize {
792 get { return GetLoadSize(); }
793 set { SetLoadSize(value); }
795 /// <summary>Get the DPI resolution of a loaded image object in the canvas.
796 /// This function returns the DPI resolution of the given canvas image.</summary>
797 /// <value>The DPI resolution.</value>
798 public double LoadDpi {
799 get { return GetLoadDpi(); }
800 set { SetLoadDpi(value); }
802 /// <summary>Indicates whether the <see cref="Efl.Gfx.IImageLoadController.LoadRegion"/> property is supported for the current file.</summary>
803 /// <value><c>true</c> if region load of the image is supported, <c>false</c> otherwise</value>
804 public bool LoadRegionSupport {
805 get { return GetLoadRegionSupport(); }
807 /// <summary>Retrieve the coordinates of a given image object's selective (source image) load region.</summary>
808 /// <value>A region of the image.</value>
809 public Eina.Rect LoadRegion {
810 get { return GetLoadRegion(); }
811 set { SetLoadRegion(value); }
813 /// <summary>Defines whether the orientation information in the image file should be honored.
814 /// The orientation can for instance be set in the EXIF tags of a JPEG image. If this flag is <c>false</c>, then the orientation will be ignored at load time, otherwise the image will be loaded with the proper orientation.</summary>
815 /// <value><c>true</c> means that it should honor the orientation information.</value>
816 public bool LoadOrientation {
817 get { return GetLoadOrientation(); }
818 set { SetLoadOrientation(value); }
820 /// <summary>The scale down factor is a divider on the original image size.
821 /// Setting the scale down factor can reduce load time and memory usage at the cost of having a scaled down image in memory.
823 /// This function sets the scale down factor of a given canvas image. Most useful for the SVG image loader but also applies to JPEG, PNG and BMP.
825 /// Powers of two (2, 4, 8) are best supported (especially with JPEG)</summary>
826 /// <value>The scale down dividing factor.</value>
827 public int LoadScaleDown {
828 get { return GetLoadScaleDown(); }
829 set { SetLoadScaleDown(value); }
831 /// <summary>Initial load should skip header check and leave it all to data load
832 /// If this is true, then future loads of images will defer header loading to a preload stage and/or data load later on rather than at the start when the load begins (e.g. when file is set).</summary>
833 /// <value>Will be true if header is to be skipped.</value>
834 public bool LoadSkipHeader {
835 get { return GetLoadSkipHeader(); }
836 set { SetLoadSkipHeader(value); }
838 private static IntPtr GetEflClassStatic()
840 return Efl.Ui.Bg.efl_ui_bg_class_get();
842 /// <summary>Wrapper for native methods and virtual method delegates.
843 /// For internal use by generated code only.</summary>
844 public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
846 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
847 /// <summary>Gets the list of Eo operations to override.</summary>
848 /// <returns>The list of Eo operations to be overload.</returns>
849 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
851 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
852 var methods = Efl.Eo.Globals.GetUserMethods(type);
854 if (efl_file_mmap_get_static_delegate == null)
856 efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
859 if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
861 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_get_static_delegate) });
864 if (efl_file_mmap_set_static_delegate == null)
866 efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
869 if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
871 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_set_static_delegate) });
874 if (efl_file_get_static_delegate == null)
876 efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
879 if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
881 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_get_static_delegate) });
884 if (efl_file_set_static_delegate == null)
886 efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
889 if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
891 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_set_static_delegate) });
894 if (efl_file_key_get_static_delegate == null)
896 efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
899 if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
901 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_get_static_delegate) });
904 if (efl_file_key_set_static_delegate == null)
906 efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
909 if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
911 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_set_static_delegate) });
914 if (efl_file_loaded_get_static_delegate == null)
916 efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
919 if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
921 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_loaded_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_loaded_get_static_delegate) });
924 if (efl_file_load_static_delegate == null)
926 efl_file_load_static_delegate = new efl_file_load_delegate(load);
929 if (methods.FirstOrDefault(m => m.Name == "Load") != null)
931 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_load"), func = Marshal.GetFunctionPointerForDelegate(efl_file_load_static_delegate) });
934 if (efl_file_unload_static_delegate == null)
936 efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
939 if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
941 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_unload"), func = Marshal.GetFunctionPointerForDelegate(efl_file_unload_static_delegate) });
944 if (efl_gfx_image_smooth_scale_get_static_delegate == null)
946 efl_gfx_image_smooth_scale_get_static_delegate = new efl_gfx_image_smooth_scale_get_delegate(smooth_scale_get);
949 if (methods.FirstOrDefault(m => m.Name == "GetSmoothScale") != null)
951 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_smooth_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_smooth_scale_get_static_delegate) });
954 if (efl_gfx_image_smooth_scale_set_static_delegate == null)
956 efl_gfx_image_smooth_scale_set_static_delegate = new efl_gfx_image_smooth_scale_set_delegate(smooth_scale_set);
959 if (methods.FirstOrDefault(m => m.Name == "SetSmoothScale") != null)
961 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_smooth_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_smooth_scale_set_static_delegate) });
964 if (efl_gfx_image_scale_type_get_static_delegate == null)
966 efl_gfx_image_scale_type_get_static_delegate = new efl_gfx_image_scale_type_get_delegate(scale_type_get);
969 if (methods.FirstOrDefault(m => m.Name == "GetScaleType") != null)
971 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_get_static_delegate) });
974 if (efl_gfx_image_scale_type_set_static_delegate == null)
976 efl_gfx_image_scale_type_set_static_delegate = new efl_gfx_image_scale_type_set_delegate(scale_type_set);
979 if (methods.FirstOrDefault(m => m.Name == "SetScaleType") != null)
981 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
984 if (efl_gfx_image_ratio_get_static_delegate == null)
986 efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
989 if (methods.FirstOrDefault(m => m.Name == "GetRatio") != null)
991 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
994 if (efl_gfx_image_border_get_static_delegate == null)
996 efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
999 if (methods.FirstOrDefault(m => m.Name == "GetBorder") != null)
1001 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_get_static_delegate) });
1004 if (efl_gfx_image_border_set_static_delegate == null)
1006 efl_gfx_image_border_set_static_delegate = new efl_gfx_image_border_set_delegate(border_set);
1009 if (methods.FirstOrDefault(m => m.Name == "SetBorder") != null)
1011 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_set_static_delegate) });
1014 if (efl_gfx_image_border_scale_get_static_delegate == null)
1016 efl_gfx_image_border_scale_get_static_delegate = new efl_gfx_image_border_scale_get_delegate(border_scale_get);
1019 if (methods.FirstOrDefault(m => m.Name == "GetBorderScale") != null)
1021 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_scale_get_static_delegate) });
1024 if (efl_gfx_image_border_scale_set_static_delegate == null)
1026 efl_gfx_image_border_scale_set_static_delegate = new efl_gfx_image_border_scale_set_delegate(border_scale_set);
1029 if (methods.FirstOrDefault(m => m.Name == "SetBorderScale") != null)
1031 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_scale_set_static_delegate) });
1034 if (efl_gfx_image_border_center_fill_get_static_delegate == null)
1036 efl_gfx_image_border_center_fill_get_static_delegate = new efl_gfx_image_border_center_fill_get_delegate(border_center_fill_get);
1039 if (methods.FirstOrDefault(m => m.Name == "GetBorderCenterFill") != null)
1041 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_get_static_delegate) });
1044 if (efl_gfx_image_border_center_fill_set_static_delegate == null)
1046 efl_gfx_image_border_center_fill_set_static_delegate = new efl_gfx_image_border_center_fill_set_delegate(border_center_fill_set);
1049 if (methods.FirstOrDefault(m => m.Name == "SetBorderCenterFill") != null)
1051 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
1054 if (efl_gfx_image_size_get_static_delegate == null)
1056 efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
1059 if (methods.FirstOrDefault(m => m.Name == "GetImageSize") != null)
1061 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_size_get_static_delegate) });
1064 if (efl_gfx_image_content_hint_get_static_delegate == null)
1066 efl_gfx_image_content_hint_get_static_delegate = new efl_gfx_image_content_hint_get_delegate(content_hint_get);
1069 if (methods.FirstOrDefault(m => m.Name == "GetContentHint") != null)
1071 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_hint_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_hint_get_static_delegate) });
1074 if (efl_gfx_image_content_hint_set_static_delegate == null)
1076 efl_gfx_image_content_hint_set_static_delegate = new efl_gfx_image_content_hint_set_delegate(content_hint_set);
1079 if (methods.FirstOrDefault(m => m.Name == "SetContentHint") != null)
1081 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_hint_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_hint_set_static_delegate) });
1084 if (efl_gfx_image_scale_hint_get_static_delegate == null)
1086 efl_gfx_image_scale_hint_get_static_delegate = new efl_gfx_image_scale_hint_get_delegate(scale_hint_get);
1089 if (methods.FirstOrDefault(m => m.Name == "GetScaleHint") != null)
1091 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_hint_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_hint_get_static_delegate) });
1094 if (efl_gfx_image_scale_hint_set_static_delegate == null)
1096 efl_gfx_image_scale_hint_set_static_delegate = new efl_gfx_image_scale_hint_set_delegate(scale_hint_set);
1099 if (methods.FirstOrDefault(m => m.Name == "SetScaleHint") != null)
1101 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_hint_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_hint_set_static_delegate) });
1104 if (efl_gfx_image_load_error_get_static_delegate == null)
1106 efl_gfx_image_load_error_get_static_delegate = new efl_gfx_image_load_error_get_delegate(image_load_error_get);
1109 if (methods.FirstOrDefault(m => m.Name == "GetImageLoadError") != null)
1111 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_error_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_error_get_static_delegate) });
1114 if (efl_gfx_image_load_controller_load_size_get_static_delegate == null)
1116 efl_gfx_image_load_controller_load_size_get_static_delegate = new efl_gfx_image_load_controller_load_size_get_delegate(load_size_get);
1119 if (methods.FirstOrDefault(m => m.Name == "GetLoadSize") != null)
1121 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_size_get_static_delegate) });
1124 if (efl_gfx_image_load_controller_load_size_set_static_delegate == null)
1126 efl_gfx_image_load_controller_load_size_set_static_delegate = new efl_gfx_image_load_controller_load_size_set_delegate(load_size_set);
1129 if (methods.FirstOrDefault(m => m.Name == "SetLoadSize") != null)
1131 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_size_set_static_delegate) });
1134 if (efl_gfx_image_load_controller_load_dpi_get_static_delegate == null)
1136 efl_gfx_image_load_controller_load_dpi_get_static_delegate = new efl_gfx_image_load_controller_load_dpi_get_delegate(load_dpi_get);
1139 if (methods.FirstOrDefault(m => m.Name == "GetLoadDpi") != null)
1141 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_dpi_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_dpi_get_static_delegate) });
1144 if (efl_gfx_image_load_controller_load_dpi_set_static_delegate == null)
1146 efl_gfx_image_load_controller_load_dpi_set_static_delegate = new efl_gfx_image_load_controller_load_dpi_set_delegate(load_dpi_set);
1149 if (methods.FirstOrDefault(m => m.Name == "SetLoadDpi") != null)
1151 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_dpi_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_dpi_set_static_delegate) });
1154 if (efl_gfx_image_load_controller_load_region_support_get_static_delegate == null)
1156 efl_gfx_image_load_controller_load_region_support_get_static_delegate = new efl_gfx_image_load_controller_load_region_support_get_delegate(load_region_support_get);
1159 if (methods.FirstOrDefault(m => m.Name == "GetLoadRegionSupport") != null)
1161 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_region_support_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_region_support_get_static_delegate) });
1164 if (efl_gfx_image_load_controller_load_region_get_static_delegate == null)
1166 efl_gfx_image_load_controller_load_region_get_static_delegate = new efl_gfx_image_load_controller_load_region_get_delegate(load_region_get);
1169 if (methods.FirstOrDefault(m => m.Name == "GetLoadRegion") != null)
1171 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_region_get_static_delegate) });
1174 if (efl_gfx_image_load_controller_load_region_set_static_delegate == null)
1176 efl_gfx_image_load_controller_load_region_set_static_delegate = new efl_gfx_image_load_controller_load_region_set_delegate(load_region_set);
1179 if (methods.FirstOrDefault(m => m.Name == "SetLoadRegion") != null)
1181 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_region_set_static_delegate) });
1184 if (efl_gfx_image_load_controller_load_orientation_get_static_delegate == null)
1186 efl_gfx_image_load_controller_load_orientation_get_static_delegate = new efl_gfx_image_load_controller_load_orientation_get_delegate(load_orientation_get);
1189 if (methods.FirstOrDefault(m => m.Name == "GetLoadOrientation") != null)
1191 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_orientation_get_static_delegate) });
1194 if (efl_gfx_image_load_controller_load_orientation_set_static_delegate == null)
1196 efl_gfx_image_load_controller_load_orientation_set_static_delegate = new efl_gfx_image_load_controller_load_orientation_set_delegate(load_orientation_set);
1199 if (methods.FirstOrDefault(m => m.Name == "SetLoadOrientation") != null)
1201 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_orientation_set_static_delegate) });
1204 if (efl_gfx_image_load_controller_load_scale_down_get_static_delegate == null)
1206 efl_gfx_image_load_controller_load_scale_down_get_static_delegate = new efl_gfx_image_load_controller_load_scale_down_get_delegate(load_scale_down_get);
1209 if (methods.FirstOrDefault(m => m.Name == "GetLoadScaleDown") != null)
1211 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_scale_down_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_scale_down_get_static_delegate) });
1214 if (efl_gfx_image_load_controller_load_scale_down_set_static_delegate == null)
1216 efl_gfx_image_load_controller_load_scale_down_set_static_delegate = new efl_gfx_image_load_controller_load_scale_down_set_delegate(load_scale_down_set);
1219 if (methods.FirstOrDefault(m => m.Name == "SetLoadScaleDown") != null)
1221 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_scale_down_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_scale_down_set_static_delegate) });
1224 if (efl_gfx_image_load_controller_load_skip_header_get_static_delegate == null)
1226 efl_gfx_image_load_controller_load_skip_header_get_static_delegate = new efl_gfx_image_load_controller_load_skip_header_get_delegate(load_skip_header_get);
1229 if (methods.FirstOrDefault(m => m.Name == "GetLoadSkipHeader") != null)
1231 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_skip_header_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_skip_header_get_static_delegate) });
1234 if (efl_gfx_image_load_controller_load_skip_header_set_static_delegate == null)
1236 efl_gfx_image_load_controller_load_skip_header_set_static_delegate = new efl_gfx_image_load_controller_load_skip_header_set_delegate(load_skip_header_set);
1239 if (methods.FirstOrDefault(m => m.Name == "SetLoadSkipHeader") != null)
1241 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_skip_header_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_skip_header_set_static_delegate) });
1244 if (efl_gfx_image_load_controller_load_async_start_static_delegate == null)
1246 efl_gfx_image_load_controller_load_async_start_static_delegate = new efl_gfx_image_load_controller_load_async_start_delegate(load_async_start);
1249 if (methods.FirstOrDefault(m => m.Name == "LoadAsyncStart") != null)
1251 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_async_start"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_async_start_static_delegate) });
1254 if (efl_gfx_image_load_controller_load_async_cancel_static_delegate == null)
1256 efl_gfx_image_load_controller_load_async_cancel_static_delegate = new efl_gfx_image_load_controller_load_async_cancel_delegate(load_async_cancel);
1259 if (methods.FirstOrDefault(m => m.Name == "LoadAsyncCancel") != null)
1261 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_controller_load_async_cancel"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_controller_load_async_cancel_static_delegate) });
1264 descs.AddRange(base.GetEoOps(type));
1267 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1268 /// <returns>The native class pointer.</returns>
1269 public override IntPtr GetEflClass()
1271 return Efl.Ui.Bg.efl_ui_bg_class_get();
1274 #pragma warning disable CA1707, CS1591, SA1300, SA1600
1277 private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
1280 public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
1282 public static Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate> efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate>(Module, "efl_file_mmap_get");
1284 private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
1286 Eina.Log.Debug("function efl_file_mmap_get was called");
1287 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1290 Eina.File _ret_var = default(Eina.File);
1293 _ret_var = ((Bg)ws.Target).GetMmap();
1297 Eina.Log.Warning($"Callback error: {e.ToString()}");
1298 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1306 return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1310 private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
1313 private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.File f);
1316 public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj, Eina.File f);
1318 public static Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate> efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate>(Module, "efl_file_mmap_set");
1320 private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
1322 Eina.Log.Debug("function efl_file_mmap_set was called");
1323 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1326 Eina.Error _ret_var = default(Eina.Error);
1329 _ret_var = ((Bg)ws.Target).SetMmap(f);
1333 Eina.Log.Warning($"Callback error: {e.ToString()}");
1334 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1342 return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
1346 private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
1348 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1349 private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
1351 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1352 public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
1354 public static Efl.Eo.FunctionWrapper<efl_file_get_api_delegate> efl_file_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_get_api_delegate>(Module, "efl_file_get");
1356 private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
1358 Eina.Log.Debug("function efl_file_get was called");
1359 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1362 System.String _ret_var = default(System.String);
1365 _ret_var = ((Bg)ws.Target).GetFile();
1369 Eina.Log.Warning($"Callback error: {e.ToString()}");
1370 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1378 return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1382 private static efl_file_get_delegate efl_file_get_static_delegate;
1385 private delegate Eina.Error efl_file_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
1388 public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
1390 public static Efl.Eo.FunctionWrapper<efl_file_set_api_delegate> efl_file_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_set_api_delegate>(Module, "efl_file_set");
1392 private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
1394 Eina.Log.Debug("function efl_file_set was called");
1395 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1398 Eina.Error _ret_var = default(Eina.Error);
1401 _ret_var = ((Bg)ws.Target).SetFile(file);
1405 Eina.Log.Warning($"Callback error: {e.ToString()}");
1406 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1414 return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
1418 private static efl_file_set_delegate efl_file_set_static_delegate;
1420 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1421 private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
1423 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1424 public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
1426 public static Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate> efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate>(Module, "efl_file_key_get");
1428 private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
1430 Eina.Log.Debug("function efl_file_key_get was called");
1431 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1434 System.String _ret_var = default(System.String);
1437 _ret_var = ((Bg)ws.Target).GetKey();
1441 Eina.Log.Warning($"Callback error: {e.ToString()}");
1442 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1450 return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1454 private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
1457 private delegate void efl_file_key_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
1460 public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
1462 public static Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate> efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate>(Module, "efl_file_key_set");
1464 private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
1466 Eina.Log.Debug("function efl_file_key_set was called");
1467 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1473 ((Bg)ws.Target).SetKey(key);
1477 Eina.Log.Warning($"Callback error: {e.ToString()}");
1478 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1485 efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
1489 private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
1491 [return: MarshalAs(UnmanagedType.U1)]
1492 private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
1494 [return: MarshalAs(UnmanagedType.U1)]
1495 public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
1497 public static Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate> efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate>(Module, "efl_file_loaded_get");
1499 private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
1501 Eina.Log.Debug("function efl_file_loaded_get was called");
1502 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1505 bool _ret_var = default(bool);
1508 _ret_var = ((Bg)ws.Target).GetLoaded();
1512 Eina.Log.Warning($"Callback error: {e.ToString()}");
1513 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1521 return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1525 private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
1528 private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
1531 public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
1533 public static Efl.Eo.FunctionWrapper<efl_file_load_api_delegate> efl_file_load_ptr = new Efl.Eo.FunctionWrapper<efl_file_load_api_delegate>(Module, "efl_file_load");
1535 private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
1537 Eina.Log.Debug("function efl_file_load was called");
1538 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1541 Eina.Error _ret_var = default(Eina.Error);
1544 _ret_var = ((Bg)ws.Target).Load();
1548 Eina.Log.Warning($"Callback error: {e.ToString()}");
1549 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1557 return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1561 private static efl_file_load_delegate efl_file_load_static_delegate;
1564 private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
1567 public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
1569 public static Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate> efl_file_unload_ptr = new Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate>(Module, "efl_file_unload");
1571 private static void unload(System.IntPtr obj, System.IntPtr pd)
1573 Eina.Log.Debug("function efl_file_unload was called");
1574 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1580 ((Bg)ws.Target).Unload();
1584 Eina.Log.Warning($"Callback error: {e.ToString()}");
1585 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1592 efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1596 private static efl_file_unload_delegate efl_file_unload_static_delegate;
1598 [return: MarshalAs(UnmanagedType.U1)]
1599 private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
1601 [return: MarshalAs(UnmanagedType.U1)]
1602 public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
1604 public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate> efl_gfx_image_smooth_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate>(Module, "efl_gfx_image_smooth_scale_get");
1606 private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
1608 Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
1609 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1612 bool _ret_var = default(bool);
1615 _ret_var = ((Bg)ws.Target).GetSmoothScale();
1619 Eina.Log.Warning($"Callback error: {e.ToString()}");
1620 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1628 return efl_gfx_image_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1632 private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
1635 private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
1638 public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
1640 public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate> efl_gfx_image_smooth_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate>(Module, "efl_gfx_image_smooth_scale_set");
1642 private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
1644 Eina.Log.Debug("function efl_gfx_image_smooth_scale_set was called");
1645 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1651 ((Bg)ws.Target).SetSmoothScale(smooth_scale);
1655 Eina.Log.Warning($"Callback error: {e.ToString()}");
1656 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1663 efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
1667 private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_static_delegate;
1670 private delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
1673 public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
1675 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate> efl_gfx_image_scale_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate>(Module, "efl_gfx_image_scale_type_get");
1677 private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
1679 Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
1680 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1683 Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
1686 _ret_var = ((Bg)ws.Target).GetScaleType();
1690 Eina.Log.Warning($"Callback error: {e.ToString()}");
1691 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1699 return efl_gfx_image_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1703 private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
1706 private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
1709 public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
1711 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate> efl_gfx_image_scale_type_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate>(Module, "efl_gfx_image_scale_type_set");
1713 private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
1715 Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
1716 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1722 ((Bg)ws.Target).SetScaleType(scale_type);
1726 Eina.Log.Warning($"Callback error: {e.ToString()}");
1727 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1734 efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
1738 private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
1741 private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
1744 public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
1746 public static Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate> efl_gfx_image_ratio_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate>(Module, "efl_gfx_image_ratio_get");
1748 private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
1750 Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
1751 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1754 double _ret_var = default(double);
1757 _ret_var = ((Bg)ws.Target).GetRatio();
1761 Eina.Log.Warning($"Callback error: {e.ToString()}");
1762 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1770 return efl_gfx_image_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1774 private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
1777 private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
1780 public delegate void efl_gfx_image_border_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
1782 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate> efl_gfx_image_border_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate>(Module, "efl_gfx_image_border_get");
1784 private static void border_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
1786 Eina.Log.Debug("function efl_gfx_image_border_get was called");
1787 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1790 l = default(int); r = default(int); t = default(int); b = default(int);
1793 ((Bg)ws.Target).GetBorder(out l, out r, out t, out b);
1797 Eina.Log.Warning($"Callback error: {e.ToString()}");
1798 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1805 efl_gfx_image_border_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);
1809 private static efl_gfx_image_border_get_delegate efl_gfx_image_border_get_static_delegate;
1812 private delegate void efl_gfx_image_border_set_delegate(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b);
1815 public delegate void efl_gfx_image_border_set_api_delegate(System.IntPtr obj, int l, int r, int t, int b);
1817 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_set_api_delegate> efl_gfx_image_border_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_set_api_delegate>(Module, "efl_gfx_image_border_set");
1819 private static void border_set(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b)
1821 Eina.Log.Debug("function efl_gfx_image_border_set was called");
1822 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1828 ((Bg)ws.Target).SetBorder(l, r, t, b);
1832 Eina.Log.Warning($"Callback error: {e.ToString()}");
1833 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1840 efl_gfx_image_border_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), l, r, t, b);
1844 private static efl_gfx_image_border_set_delegate efl_gfx_image_border_set_static_delegate;
1847 private delegate double efl_gfx_image_border_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
1850 public delegate double efl_gfx_image_border_scale_get_api_delegate(System.IntPtr obj);
1852 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_get_api_delegate> efl_gfx_image_border_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_get_api_delegate>(Module, "efl_gfx_image_border_scale_get");
1854 private static double border_scale_get(System.IntPtr obj, System.IntPtr pd)
1856 Eina.Log.Debug("function efl_gfx_image_border_scale_get was called");
1857 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1860 double _ret_var = default(double);
1863 _ret_var = ((Bg)ws.Target).GetBorderScale();
1867 Eina.Log.Warning($"Callback error: {e.ToString()}");
1868 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1876 return efl_gfx_image_border_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1880 private static efl_gfx_image_border_scale_get_delegate efl_gfx_image_border_scale_get_static_delegate;
1883 private delegate void efl_gfx_image_border_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double scale);
1886 public delegate void efl_gfx_image_border_scale_set_api_delegate(System.IntPtr obj, double scale);
1888 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_set_api_delegate> efl_gfx_image_border_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_set_api_delegate>(Module, "efl_gfx_image_border_scale_set");
1890 private static void border_scale_set(System.IntPtr obj, System.IntPtr pd, double scale)
1892 Eina.Log.Debug("function efl_gfx_image_border_scale_set was called");
1893 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1899 ((Bg)ws.Target).SetBorderScale(scale);
1903 Eina.Log.Warning($"Callback error: {e.ToString()}");
1904 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1911 efl_gfx_image_border_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale);
1915 private static efl_gfx_image_border_scale_set_delegate efl_gfx_image_border_scale_set_static_delegate;
1918 private delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
1921 public delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_api_delegate(System.IntPtr obj);
1923 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_get_api_delegate> efl_gfx_image_border_center_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_get_api_delegate>(Module, "efl_gfx_image_border_center_fill_get");
1925 private static Efl.Gfx.BorderFillMode border_center_fill_get(System.IntPtr obj, System.IntPtr pd)
1927 Eina.Log.Debug("function efl_gfx_image_border_center_fill_get was called");
1928 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1931 Efl.Gfx.BorderFillMode _ret_var = default(Efl.Gfx.BorderFillMode);
1934 _ret_var = ((Bg)ws.Target).GetBorderCenterFill();
1938 Eina.Log.Warning($"Callback error: {e.ToString()}");
1939 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1947 return efl_gfx_image_border_center_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1951 private static efl_gfx_image_border_center_fill_get_delegate efl_gfx_image_border_center_fill_get_static_delegate;
1954 private delegate void efl_gfx_image_border_center_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill);
1957 public delegate void efl_gfx_image_border_center_fill_set_api_delegate(System.IntPtr obj, Efl.Gfx.BorderFillMode fill);
1959 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_set_api_delegate> efl_gfx_image_border_center_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_set_api_delegate>(Module, "efl_gfx_image_border_center_fill_set");
1961 private static void border_center_fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill)
1963 Eina.Log.Debug("function efl_gfx_image_border_center_fill_set was called");
1964 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1970 ((Bg)ws.Target).SetBorderCenterFill(fill);
1974 Eina.Log.Warning($"Callback error: {e.ToString()}");
1975 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1982 efl_gfx_image_border_center_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
1986 private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
1989 private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
1992 public delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_api_delegate(System.IntPtr obj);
1994 public static Efl.Eo.FunctionWrapper<efl_gfx_image_size_get_api_delegate> efl_gfx_image_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_size_get_api_delegate>(Module, "efl_gfx_image_size_get");
1996 private static Eina.Size2D.NativeStruct image_size_get(System.IntPtr obj, System.IntPtr pd)
1998 Eina.Log.Debug("function efl_gfx_image_size_get was called");
1999 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2002 Eina.Size2D _ret_var = default(Eina.Size2D);
2005 _ret_var = ((Bg)ws.Target).GetImageSize();
2009 Eina.Log.Warning($"Callback error: {e.ToString()}");
2010 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2018 return efl_gfx_image_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2022 private static efl_gfx_image_size_get_delegate efl_gfx_image_size_get_static_delegate;
2025 private delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
2028 public delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_api_delegate(System.IntPtr obj);
2030 public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_get_api_delegate> efl_gfx_image_content_hint_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_get_api_delegate>(Module, "efl_gfx_image_content_hint_get");
2032 private static Efl.Gfx.ImageContentHint content_hint_get(System.IntPtr obj, System.IntPtr pd)
2034 Eina.Log.Debug("function efl_gfx_image_content_hint_get was called");
2035 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2038 Efl.Gfx.ImageContentHint _ret_var = default(Efl.Gfx.ImageContentHint);
2041 _ret_var = ((Bg)ws.Target).GetContentHint();
2045 Eina.Log.Warning($"Callback error: {e.ToString()}");
2046 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2054 return efl_gfx_image_content_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2058 private static efl_gfx_image_content_hint_get_delegate efl_gfx_image_content_hint_get_static_delegate;
2061 private delegate void efl_gfx_image_content_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint);
2064 public delegate void efl_gfx_image_content_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageContentHint hint);
2066 public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_set_api_delegate> efl_gfx_image_content_hint_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_set_api_delegate>(Module, "efl_gfx_image_content_hint_set");
2068 private static void content_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint)
2070 Eina.Log.Debug("function efl_gfx_image_content_hint_set was called");
2071 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2077 ((Bg)ws.Target).SetContentHint(hint);
2081 Eina.Log.Warning($"Callback error: {e.ToString()}");
2082 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2089 efl_gfx_image_content_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
2093 private static efl_gfx_image_content_hint_set_delegate efl_gfx_image_content_hint_set_static_delegate;
2096 private delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
2099 public delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_api_delegate(System.IntPtr obj);
2101 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_get_api_delegate> efl_gfx_image_scale_hint_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_get_api_delegate>(Module, "efl_gfx_image_scale_hint_get");
2103 private static Efl.Gfx.ImageScaleHint scale_hint_get(System.IntPtr obj, System.IntPtr pd)
2105 Eina.Log.Debug("function efl_gfx_image_scale_hint_get was called");
2106 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2109 Efl.Gfx.ImageScaleHint _ret_var = default(Efl.Gfx.ImageScaleHint);
2112 _ret_var = ((Bg)ws.Target).GetScaleHint();
2116 Eina.Log.Warning($"Callback error: {e.ToString()}");
2117 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2125 return efl_gfx_image_scale_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2129 private static efl_gfx_image_scale_hint_get_delegate efl_gfx_image_scale_hint_get_static_delegate;
2132 private delegate void efl_gfx_image_scale_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint);
2135 public delegate void efl_gfx_image_scale_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleHint hint);
2137 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_set_api_delegate> efl_gfx_image_scale_hint_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_set_api_delegate>(Module, "efl_gfx_image_scale_hint_set");
2139 private static void scale_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint)
2141 Eina.Log.Debug("function efl_gfx_image_scale_hint_set was called");
2142 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2148 ((Bg)ws.Target).SetScaleHint(hint);
2152 Eina.Log.Warning($"Callback error: {e.ToString()}");
2153 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2160 efl_gfx_image_scale_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
2164 private static efl_gfx_image_scale_hint_set_delegate efl_gfx_image_scale_hint_set_static_delegate;
2167 private delegate Eina.Error efl_gfx_image_load_error_get_delegate(System.IntPtr obj, System.IntPtr pd);
2170 public delegate Eina.Error efl_gfx_image_load_error_get_api_delegate(System.IntPtr obj);
2172 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_error_get_api_delegate> efl_gfx_image_load_error_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_error_get_api_delegate>(Module, "efl_gfx_image_load_error_get");
2174 private static Eina.Error image_load_error_get(System.IntPtr obj, System.IntPtr pd)
2176 Eina.Log.Debug("function efl_gfx_image_load_error_get was called");
2177 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2180 Eina.Error _ret_var = default(Eina.Error);
2183 _ret_var = ((Bg)ws.Target).GetImageLoadError();
2187 Eina.Log.Warning($"Callback error: {e.ToString()}");
2188 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2196 return efl_gfx_image_load_error_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2200 private static efl_gfx_image_load_error_get_delegate efl_gfx_image_load_error_get_static_delegate;
2203 private delegate Eina.Size2D.NativeStruct efl_gfx_image_load_controller_load_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2206 public delegate Eina.Size2D.NativeStruct efl_gfx_image_load_controller_load_size_get_api_delegate(System.IntPtr obj);
2208 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_size_get_api_delegate> efl_gfx_image_load_controller_load_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_size_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_size_get");
2210 private static Eina.Size2D.NativeStruct load_size_get(System.IntPtr obj, System.IntPtr pd)
2212 Eina.Log.Debug("function efl_gfx_image_load_controller_load_size_get was called");
2213 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2216 Eina.Size2D _ret_var = default(Eina.Size2D);
2219 _ret_var = ((Bg)ws.Target).GetLoadSize();
2223 Eina.Log.Warning($"Callback error: {e.ToString()}");
2224 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2232 return efl_gfx_image_load_controller_load_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2236 private static efl_gfx_image_load_controller_load_size_get_delegate efl_gfx_image_load_controller_load_size_get_static_delegate;
2239 private delegate void efl_gfx_image_load_controller_load_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
2242 public delegate void efl_gfx_image_load_controller_load_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
2244 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_size_set_api_delegate> efl_gfx_image_load_controller_load_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_size_set_api_delegate>(Module, "efl_gfx_image_load_controller_load_size_set");
2246 private static void load_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
2248 Eina.Log.Debug("function efl_gfx_image_load_controller_load_size_set was called");
2249 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2252 Eina.Size2D _in_size = size;
2256 ((Bg)ws.Target).SetLoadSize(_in_size);
2260 Eina.Log.Warning($"Callback error: {e.ToString()}");
2261 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2268 efl_gfx_image_load_controller_load_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
2272 private static efl_gfx_image_load_controller_load_size_set_delegate efl_gfx_image_load_controller_load_size_set_static_delegate;
2275 private delegate double efl_gfx_image_load_controller_load_dpi_get_delegate(System.IntPtr obj, System.IntPtr pd);
2278 public delegate double efl_gfx_image_load_controller_load_dpi_get_api_delegate(System.IntPtr obj);
2280 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_dpi_get_api_delegate> efl_gfx_image_load_controller_load_dpi_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_dpi_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_dpi_get");
2282 private static double load_dpi_get(System.IntPtr obj, System.IntPtr pd)
2284 Eina.Log.Debug("function efl_gfx_image_load_controller_load_dpi_get was called");
2285 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2288 double _ret_var = default(double);
2291 _ret_var = ((Bg)ws.Target).GetLoadDpi();
2295 Eina.Log.Warning($"Callback error: {e.ToString()}");
2296 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2304 return efl_gfx_image_load_controller_load_dpi_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2308 private static efl_gfx_image_load_controller_load_dpi_get_delegate efl_gfx_image_load_controller_load_dpi_get_static_delegate;
2311 private delegate void efl_gfx_image_load_controller_load_dpi_set_delegate(System.IntPtr obj, System.IntPtr pd, double dpi);
2314 public delegate void efl_gfx_image_load_controller_load_dpi_set_api_delegate(System.IntPtr obj, double dpi);
2316 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_dpi_set_api_delegate> efl_gfx_image_load_controller_load_dpi_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_dpi_set_api_delegate>(Module, "efl_gfx_image_load_controller_load_dpi_set");
2318 private static void load_dpi_set(System.IntPtr obj, System.IntPtr pd, double dpi)
2320 Eina.Log.Debug("function efl_gfx_image_load_controller_load_dpi_set was called");
2321 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2327 ((Bg)ws.Target).SetLoadDpi(dpi);
2331 Eina.Log.Warning($"Callback error: {e.ToString()}");
2332 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2339 efl_gfx_image_load_controller_load_dpi_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dpi);
2343 private static efl_gfx_image_load_controller_load_dpi_set_delegate efl_gfx_image_load_controller_load_dpi_set_static_delegate;
2345 [return: MarshalAs(UnmanagedType.U1)]
2346 private delegate bool efl_gfx_image_load_controller_load_region_support_get_delegate(System.IntPtr obj, System.IntPtr pd);
2348 [return: MarshalAs(UnmanagedType.U1)]
2349 public delegate bool efl_gfx_image_load_controller_load_region_support_get_api_delegate(System.IntPtr obj);
2351 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_region_support_get_api_delegate> efl_gfx_image_load_controller_load_region_support_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_region_support_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_region_support_get");
2353 private static bool load_region_support_get(System.IntPtr obj, System.IntPtr pd)
2355 Eina.Log.Debug("function efl_gfx_image_load_controller_load_region_support_get was called");
2356 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2359 bool _ret_var = default(bool);
2362 _ret_var = ((Bg)ws.Target).GetLoadRegionSupport();
2366 Eina.Log.Warning($"Callback error: {e.ToString()}");
2367 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2375 return efl_gfx_image_load_controller_load_region_support_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2379 private static efl_gfx_image_load_controller_load_region_support_get_delegate efl_gfx_image_load_controller_load_region_support_get_static_delegate;
2382 private delegate Eina.Rect.NativeStruct efl_gfx_image_load_controller_load_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
2385 public delegate Eina.Rect.NativeStruct efl_gfx_image_load_controller_load_region_get_api_delegate(System.IntPtr obj);
2387 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_region_get_api_delegate> efl_gfx_image_load_controller_load_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_region_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_region_get");
2389 private static Eina.Rect.NativeStruct load_region_get(System.IntPtr obj, System.IntPtr pd)
2391 Eina.Log.Debug("function efl_gfx_image_load_controller_load_region_get was called");
2392 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2395 Eina.Rect _ret_var = default(Eina.Rect);
2398 _ret_var = ((Bg)ws.Target).GetLoadRegion();
2402 Eina.Log.Warning($"Callback error: {e.ToString()}");
2403 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2411 return efl_gfx_image_load_controller_load_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2415 private static efl_gfx_image_load_controller_load_region_get_delegate efl_gfx_image_load_controller_load_region_get_static_delegate;
2418 private delegate void efl_gfx_image_load_controller_load_region_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct region);
2421 public delegate void efl_gfx_image_load_controller_load_region_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct region);
2423 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_region_set_api_delegate> efl_gfx_image_load_controller_load_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_region_set_api_delegate>(Module, "efl_gfx_image_load_controller_load_region_set");
2425 private static void load_region_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct region)
2427 Eina.Log.Debug("function efl_gfx_image_load_controller_load_region_set was called");
2428 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2431 Eina.Rect _in_region = region;
2435 ((Bg)ws.Target).SetLoadRegion(_in_region);
2439 Eina.Log.Warning($"Callback error: {e.ToString()}");
2440 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2447 efl_gfx_image_load_controller_load_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), region);
2451 private static efl_gfx_image_load_controller_load_region_set_delegate efl_gfx_image_load_controller_load_region_set_static_delegate;
2453 [return: MarshalAs(UnmanagedType.U1)]
2454 private delegate bool efl_gfx_image_load_controller_load_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
2456 [return: MarshalAs(UnmanagedType.U1)]
2457 public delegate bool efl_gfx_image_load_controller_load_orientation_get_api_delegate(System.IntPtr obj);
2459 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_orientation_get_api_delegate> efl_gfx_image_load_controller_load_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_orientation_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_orientation_get");
2461 private static bool load_orientation_get(System.IntPtr obj, System.IntPtr pd)
2463 Eina.Log.Debug("function efl_gfx_image_load_controller_load_orientation_get was called");
2464 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2467 bool _ret_var = default(bool);
2470 _ret_var = ((Bg)ws.Target).GetLoadOrientation();
2474 Eina.Log.Warning($"Callback error: {e.ToString()}");
2475 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2483 return efl_gfx_image_load_controller_load_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2487 private static efl_gfx_image_load_controller_load_orientation_get_delegate efl_gfx_image_load_controller_load_orientation_get_static_delegate;
2490 private delegate void efl_gfx_image_load_controller_load_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
2493 public delegate void efl_gfx_image_load_controller_load_orientation_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
2495 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_orientation_set_api_delegate> efl_gfx_image_load_controller_load_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_orientation_set_api_delegate>(Module, "efl_gfx_image_load_controller_load_orientation_set");
2497 private static void load_orientation_set(System.IntPtr obj, System.IntPtr pd, bool enable)
2499 Eina.Log.Debug("function efl_gfx_image_load_controller_load_orientation_set was called");
2500 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2506 ((Bg)ws.Target).SetLoadOrientation(enable);
2510 Eina.Log.Warning($"Callback error: {e.ToString()}");
2511 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2518 efl_gfx_image_load_controller_load_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
2522 private static efl_gfx_image_load_controller_load_orientation_set_delegate efl_gfx_image_load_controller_load_orientation_set_static_delegate;
2525 private delegate int efl_gfx_image_load_controller_load_scale_down_get_delegate(System.IntPtr obj, System.IntPtr pd);
2528 public delegate int efl_gfx_image_load_controller_load_scale_down_get_api_delegate(System.IntPtr obj);
2530 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_scale_down_get_api_delegate> efl_gfx_image_load_controller_load_scale_down_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_scale_down_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_scale_down_get");
2532 private static int load_scale_down_get(System.IntPtr obj, System.IntPtr pd)
2534 Eina.Log.Debug("function efl_gfx_image_load_controller_load_scale_down_get was called");
2535 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2538 int _ret_var = default(int);
2541 _ret_var = ((Bg)ws.Target).GetLoadScaleDown();
2545 Eina.Log.Warning($"Callback error: {e.ToString()}");
2546 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2554 return efl_gfx_image_load_controller_load_scale_down_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2558 private static efl_gfx_image_load_controller_load_scale_down_get_delegate efl_gfx_image_load_controller_load_scale_down_get_static_delegate;
2561 private delegate void efl_gfx_image_load_controller_load_scale_down_set_delegate(System.IntPtr obj, System.IntPtr pd, int div);
2564 public delegate void efl_gfx_image_load_controller_load_scale_down_set_api_delegate(System.IntPtr obj, int div);
2566 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_scale_down_set_api_delegate> efl_gfx_image_load_controller_load_scale_down_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_scale_down_set_api_delegate>(Module, "efl_gfx_image_load_controller_load_scale_down_set");
2568 private static void load_scale_down_set(System.IntPtr obj, System.IntPtr pd, int div)
2570 Eina.Log.Debug("function efl_gfx_image_load_controller_load_scale_down_set was called");
2571 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2577 ((Bg)ws.Target).SetLoadScaleDown(div);
2581 Eina.Log.Warning($"Callback error: {e.ToString()}");
2582 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2589 efl_gfx_image_load_controller_load_scale_down_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), div);
2593 private static efl_gfx_image_load_controller_load_scale_down_set_delegate efl_gfx_image_load_controller_load_scale_down_set_static_delegate;
2595 [return: MarshalAs(UnmanagedType.U1)]
2596 private delegate bool efl_gfx_image_load_controller_load_skip_header_get_delegate(System.IntPtr obj, System.IntPtr pd);
2598 [return: MarshalAs(UnmanagedType.U1)]
2599 public delegate bool efl_gfx_image_load_controller_load_skip_header_get_api_delegate(System.IntPtr obj);
2601 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_skip_header_get_api_delegate> efl_gfx_image_load_controller_load_skip_header_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_skip_header_get_api_delegate>(Module, "efl_gfx_image_load_controller_load_skip_header_get");
2603 private static bool load_skip_header_get(System.IntPtr obj, System.IntPtr pd)
2605 Eina.Log.Debug("function efl_gfx_image_load_controller_load_skip_header_get was called");
2606 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2609 bool _ret_var = default(bool);
2612 _ret_var = ((Bg)ws.Target).GetLoadSkipHeader();
2616 Eina.Log.Warning($"Callback error: {e.ToString()}");
2617 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2625 return efl_gfx_image_load_controller_load_skip_header_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2629 private static efl_gfx_image_load_controller_load_skip_header_get_delegate efl_gfx_image_load_controller_load_skip_header_get_static_delegate;
2632 private delegate void efl_gfx_image_load_controller_load_skip_header_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool skip);
2635 public delegate void efl_gfx_image_load_controller_load_skip_header_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool skip);
2637 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_skip_header_set_api_delegate> efl_gfx_image_load_controller_load_skip_header_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_skip_header_set_api_delegate>(Module, "efl_gfx_image_load_controller_load_skip_header_set");
2639 private static void load_skip_header_set(System.IntPtr obj, System.IntPtr pd, bool skip)
2641 Eina.Log.Debug("function efl_gfx_image_load_controller_load_skip_header_set was called");
2642 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2648 ((Bg)ws.Target).SetLoadSkipHeader(skip);
2652 Eina.Log.Warning($"Callback error: {e.ToString()}");
2653 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2660 efl_gfx_image_load_controller_load_skip_header_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), skip);
2664 private static efl_gfx_image_load_controller_load_skip_header_set_delegate efl_gfx_image_load_controller_load_skip_header_set_static_delegate;
2667 private delegate void efl_gfx_image_load_controller_load_async_start_delegate(System.IntPtr obj, System.IntPtr pd);
2670 public delegate void efl_gfx_image_load_controller_load_async_start_api_delegate(System.IntPtr obj);
2672 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_async_start_api_delegate> efl_gfx_image_load_controller_load_async_start_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_async_start_api_delegate>(Module, "efl_gfx_image_load_controller_load_async_start");
2674 private static void load_async_start(System.IntPtr obj, System.IntPtr pd)
2676 Eina.Log.Debug("function efl_gfx_image_load_controller_load_async_start was called");
2677 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2683 ((Bg)ws.Target).LoadAsyncStart();
2687 Eina.Log.Warning($"Callback error: {e.ToString()}");
2688 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2695 efl_gfx_image_load_controller_load_async_start_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2699 private static efl_gfx_image_load_controller_load_async_start_delegate efl_gfx_image_load_controller_load_async_start_static_delegate;
2702 private delegate void efl_gfx_image_load_controller_load_async_cancel_delegate(System.IntPtr obj, System.IntPtr pd);
2705 public delegate void efl_gfx_image_load_controller_load_async_cancel_api_delegate(System.IntPtr obj);
2707 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_async_cancel_api_delegate> efl_gfx_image_load_controller_load_async_cancel_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_controller_load_async_cancel_api_delegate>(Module, "efl_gfx_image_load_controller_load_async_cancel");
2709 private static void load_async_cancel(System.IntPtr obj, System.IntPtr pd)
2711 Eina.Log.Debug("function efl_gfx_image_load_controller_load_async_cancel was called");
2712 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2718 ((Bg)ws.Target).LoadAsyncCancel();
2722 Eina.Log.Warning($"Callback error: {e.ToString()}");
2723 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2730 efl_gfx_image_load_controller_load_async_cancel_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2734 private static efl_gfx_image_load_controller_load_async_cancel_delegate efl_gfx_image_load_controller_load_async_cancel_static_delegate;
2736 #pragma warning restore CA1707, CS1591, SA1300, SA1600