#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { namespace Canvas { namespace Vg { /// Efl vector graphics class /// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. [Efl.Canvas.Vg.Object.NativeMethods] [Efl.Eo.BindingEntity] public class Object : Efl.Canvas.Object, Efl.IFile, Efl.IFileSave, Efl.Gfx.IFrameController { /// Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(Object)) { return GetEflClassStatic(); } else { return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; } } } [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr efl_canvas_vg_object_class_get(); /// Initializes a new instance of the class. /// Parent instance. public Object(Efl.Object parent= null ) : base(efl_canvas_vg_object_class_get(), parent) { FinishInstantiation(); } /// Subclasses should override this constructor if they are expected to be instantiated from native code. /// Do not call this constructor directly. /// Tag struct storing the native handle of the object being constructed. protected Object(ConstructingHandle ch) : base(ch) { } /// Initializes a new instance of the class. /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. /// The native pointer to be wrapped. protected Object(Efl.Eo.Globals.WrappingHandle wh) : base(wh) { } /// Initializes a new instance of the class. /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. /// The pointer to the base native Eo class. /// The Efl.Object parent of this instance. protected Object(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent) { } /// Control how the viewbox is mapped to the vg canvas's viewport. /// Fill mode type virtual public Efl.Canvas.Vg.FillMode GetFillMode() { var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_fill_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control how the viewbox is mapped to the vg canvas's viewport. /// Fill mode type virtual public void SetFillMode(Efl.Canvas.Vg.FillMode fill_mode) { Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_fill_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill_mode); Eina.Error.RaiseIfUnhandledException(); } /// Get the current viewbox from the evas_object_vg /// viewbox for the vg canvas virtual public Eina.Rect GetViewbox() { var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Sets the viewbox for the evas vg canvas. viewbox if set should be mapped to the canvas geometry when rendering the vg tree. /// viewbox for the vg canvas virtual public void SetViewbox(Eina.Rect viewbox) { Eina.Rect.NativeStruct _in_viewbox = viewbox; Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_viewbox); Eina.Error.RaiseIfUnhandledException(); } /// Control how the viewbox is positioned inside the viewport. /// Alignment in the horizontal axis (0 <= align_x <= 1). /// Alignment in the vertical axis (0 <= align_y <= 1). virtual public void GetViewboxAlign(out double align_x, out double align_y) { Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_align_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out align_x, out align_y); Eina.Error.RaiseIfUnhandledException(); } /// Control how the viewbox is positioned inside the viewport. /// Alignment in the horizontal axis (0 <= align_x <= 1). /// Alignment in the vertical axis (0 <= align_y <= 1). virtual public void SetViewboxAlign(double align_x, double align_y) { Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_viewbox_align_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),align_x, align_y); Eina.Error.RaiseIfUnhandledException(); } /// Get the root node of the evas_object_vg. /// Root node of the VG canvas. virtual public Efl.Canvas.Vg.Node GetRootNode() { var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_root_node_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set the root node of the evas_object_vg. /// Note: To manually create the shape object and show in the Vg object canvas you must create the hierarchy and set as root node. /// /// It takes the ownership of the root node. /// Root node of the VG canvas. virtual public void SetRootNode(Efl.Canvas.Vg.Node root) { Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_root_node_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),root); Eina.Error.RaiseIfUnhandledException(); } /// Get the default vector size that specified from vector resource. /// (Since EFL 1.22) virtual public Eina.Size2D GetDefaultSize() { var _ret_var = Efl.Canvas.Vg.Object.NativeMethods.efl_canvas_vg_object_default_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Get the mmaped file from where an object will fetch the real data (it must be an ). /// (Since EFL 1.22) /// The handle to the that will be used virtual public Eina.File GetMmap() { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set the mmaped file from where an object will fetch the real data (it must be an ). /// If mmap is set during object construction, the object will automatically call during the finalize phase of construction. /// (Since EFL 1.22) /// The handle to the that will be used /// 0 on success, error code otherwise virtual public Eina.Error SetMmap(Eina.File f) { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Retrieve the file path from where an object is to fetch the data. /// You must not modify the strings on the returned pointers. /// (Since EFL 1.22) /// The file path. virtual public System.String GetFile() { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set the file path from where an object will fetch the data. /// If file is set during object construction, the object will automatically call during the finalize phase of construction. /// (Since EFL 1.22) /// The file path. /// 0 on success, error code otherwise virtual public Eina.Error SetFile(System.String file) { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Get the previously-set key which corresponds to the target data within a file. /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example or ). /// /// You must not modify the strings on the returned pointers. /// (Since EFL 1.22) /// The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used. virtual public System.String GetKey() { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set the key which corresponds to the target data within a file. /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases. /// (Since EFL 1.22) /// The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used. virtual public void SetKey(System.String key) { Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key); Eina.Error.RaiseIfUnhandledException(); } /// Get the load state of the object. /// (Since EFL 1.22) /// true if the object is loaded, false otherwise. virtual public bool GetLoaded() { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Perform all necessary operations to open and load file data into the object using the (or ) and properties. /// In the case where has been called on an object, this will internally open the file and call on the object using the opened file handle. /// /// Calling on an object which has already performed file operations based on the currently set properties will have no effect. /// (Since EFL 1.22) /// 0 on success, error code otherwise virtual public Eina.Error Load() { var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Perform all necessary operations to unload file data from the object. /// In the case where has been externally called on an object, the file handle stored in the object will be preserved. /// /// Calling on an object which is not currently loaded will have no effect. /// (Since EFL 1.22) virtual public void Unload() { Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); } /// Save the given image object's contents to an (image) file. /// The extension suffix on file will determine which saver module Evas is to use when saving, thus the final file's format. If the file supports multiple data stored in it (Eet ones), you can specify the key to be used as the index of the image in it. /// /// You can specify some flags when saving the image. Currently acceptable flags are quality and compress. Eg.: "quality=100 compress=9". /// (Since EFL 1.22) /// The filename to be used to save the image (extension obligatory). /// The image key in the file (if an Eet one), or null, otherwise. /// The flags to be used (null for defaults). /// true on success, false otherwise virtual public bool Save(System.String file, System.String key, ref Efl.FileSaveInfo info) { Efl.FileSaveInfo.NativeStruct _in_info = info; var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file, key, ref _in_info); Eina.Error.RaiseIfUnhandledException(); info = _in_info; return _ret_var; } /// Check if an object can be animated (has multiple frames). /// This will be true for animated object for instance but false for a single frame object. /// true if the object is animated virtual public bool GetAnimated() { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_animated_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Index of the current frame of an animated object. /// Ranges from 1 to . Valid only if . /// The index of current frame. virtual public int GetFrame() { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Set the frame to current frame of an animated object. /// The index of current frame. /// Returns true if the frame index is valid. virtual public bool SetFrame(int frame_index) { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),frame_index); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Get the total number of frames of the object, if animated. /// Returns -1 if not animated. /// The number of frames in the animated object. virtual public int GetFrameCount() { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Get the kind of looping the animated object does. /// This returns the kind of looping the animated object wants to do. /// /// If it returns , you should display frames in a sequence like: 1->2->3->1->2->3->1... /// /// If it returns , it is better to display frames in a sequence like: 1->2->3->2->1->2->3->1... /// /// The default type is . /// Loop type of the animated object. virtual public Efl.Gfx.FrameControllerLoopHint GetLoopType() { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Get the number times the animation of the object loops. /// This returns loop count of animated object. The loop count is the number of times the animation will play fully from first to last frame until the animation should stop (at the final frame). /// /// If 0 is returned, then looping should happen indefinitely (no limit to the number of times it loops). /// The number of loop of an animated object. virtual public int GetLoopCount() { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_loop_count_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass))); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Get the duration of a sequence of frames. /// This returns total duration in seconds that the specified sequence of frames should take. /// /// If start_frame is 1 and frame_num is 0, this returns the duration of frame 1. If start_frame is 1 and frame_num is 1, this returns the total duration of frame 1 + frame 2. /// The first frame, rangers from 1 to . /// Number of frames in the sequence, starts from 0. /// Duration in seconds virtual public double GetFrameDuration(int start_frame, int frame_num) { var _ret_var = Efl.Gfx.IFrameControllerConcrete.NativeMethods.efl_gfx_frame_controller_frame_duration_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),start_frame, frame_num); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// Control how the viewbox is mapped to the vg canvas's viewport. /// Fill mode type public Efl.Canvas.Vg.FillMode FillMode { get { return GetFillMode(); } set { SetFillMode(value); } } /// Get the current viewbox from the evas_object_vg /// viewbox for the vg canvas public Eina.Rect Viewbox { get { return GetViewbox(); } set { SetViewbox(value); } } /// Control how the viewbox is positioned inside the viewport. /// Alignment in the horizontal axis (0 <= align_x <= 1). public (double, double) ViewboxAlign { get { double _out_align_x = default(double); double _out_align_y = default(double); GetViewboxAlign(out _out_align_x,out _out_align_y); return (_out_align_x,_out_align_y); } set { SetViewboxAlign( value.Item1, value.Item2); } } /// Get the root node of the evas_object_vg. /// Root node of the VG canvas. public Efl.Canvas.Vg.Node RootNode { get { return GetRootNode(); } set { SetRootNode(value); } } /// Get the default vector size that specified from vector resource. /// (Since EFL 1.22) public Eina.Size2D DefaultSize { get { return GetDefaultSize(); } } /// Get the mmaped file from where an object will fetch the real data (it must be an ). /// (Since EFL 1.22) /// The handle to the that will be used public Eina.File Mmap { get { return GetMmap(); } set { SetMmap(value); } } /// Retrieve the file path from where an object is to fetch the data. /// You must not modify the strings on the returned pointers. /// (Since EFL 1.22) /// The file path. public System.String File { get { return GetFile(); } set { SetFile(value); } } /// Get the previously-set key which corresponds to the target data within a file. /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example or ). /// /// You must not modify the strings on the returned pointers. /// (Since EFL 1.22) /// The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used. public System.String Key { get { return GetKey(); } set { SetKey(value); } } /// Get the load state of the object. /// (Since EFL 1.22) /// true if the object is loaded, false otherwise. public bool Loaded { get { return GetLoaded(); } } /// Check if an object can be animated (has multiple frames). /// This will be true for animated object for instance but false for a single frame object. /// true if the object is animated public bool Animated { get { return GetAnimated(); } } /// Index of the current frame of an animated object. /// Ranges from 1 to . Valid only if . /// The index of current frame. public int Frame { get { return GetFrame(); } set { SetFrame(value); } } /// Get the total number of frames of the object, if animated. /// Returns -1 if not animated. /// The number of frames in the animated object. public int FrameCount { get { return GetFrameCount(); } } /// Get the kind of looping the animated object does. /// This returns the kind of looping the animated object wants to do. /// /// If it returns , you should display frames in a sequence like: 1->2->3->1->2->3->1... /// /// If it returns , it is better to display frames in a sequence like: 1->2->3->2->1->2->3->1... /// /// The default type is . /// Loop type of the animated object. public Efl.Gfx.FrameControllerLoopHint LoopType { get { return GetLoopType(); } } /// Get the number times the animation of the object loops. /// This returns loop count of animated object. The loop count is the number of times the animation will play fully from first to last frame until the animation should stop (at the final frame). /// /// If 0 is returned, then looping should happen indefinitely (no limit to the number of times it loops). /// The number of loop of an animated object. public int LoopCount { get { return GetLoopCount(); } } private static IntPtr GetEflClassStatic() { return Efl.Canvas.Vg.Object.efl_canvas_vg_object_class_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Canvas.Object.NativeMethods { private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas); /// Gets the list of Eo operations to override. /// The list of Eo operations to be overload. public override System.Collections.Generic.List GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_canvas_vg_object_fill_mode_get_static_delegate == null) { efl_canvas_vg_object_fill_mode_get_static_delegate = new efl_canvas_vg_object_fill_mode_get_delegate(fill_mode_get); } if (methods.FirstOrDefault(m => m.Name == "GetFillMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_fill_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_fill_mode_get_static_delegate) }); } if (efl_canvas_vg_object_fill_mode_set_static_delegate == null) { efl_canvas_vg_object_fill_mode_set_static_delegate = new efl_canvas_vg_object_fill_mode_set_delegate(fill_mode_set); } if (methods.FirstOrDefault(m => m.Name == "SetFillMode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_fill_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_fill_mode_set_static_delegate) }); } if (efl_canvas_vg_object_viewbox_get_static_delegate == null) { efl_canvas_vg_object_viewbox_get_static_delegate = new efl_canvas_vg_object_viewbox_get_delegate(viewbox_get); } if (methods.FirstOrDefault(m => m.Name == "GetViewbox") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_viewbox_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_viewbox_get_static_delegate) }); } if (efl_canvas_vg_object_viewbox_set_static_delegate == null) { efl_canvas_vg_object_viewbox_set_static_delegate = new efl_canvas_vg_object_viewbox_set_delegate(viewbox_set); } if (methods.FirstOrDefault(m => m.Name == "SetViewbox") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_viewbox_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_viewbox_set_static_delegate) }); } if (efl_canvas_vg_object_viewbox_align_get_static_delegate == null) { efl_canvas_vg_object_viewbox_align_get_static_delegate = new efl_canvas_vg_object_viewbox_align_get_delegate(viewbox_align_get); } if (methods.FirstOrDefault(m => m.Name == "GetViewboxAlign") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_viewbox_align_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_viewbox_align_get_static_delegate) }); } if (efl_canvas_vg_object_viewbox_align_set_static_delegate == null) { efl_canvas_vg_object_viewbox_align_set_static_delegate = new efl_canvas_vg_object_viewbox_align_set_delegate(viewbox_align_set); } if (methods.FirstOrDefault(m => m.Name == "SetViewboxAlign") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_viewbox_align_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_viewbox_align_set_static_delegate) }); } if (efl_canvas_vg_object_root_node_get_static_delegate == null) { efl_canvas_vg_object_root_node_get_static_delegate = new efl_canvas_vg_object_root_node_get_delegate(root_node_get); } if (methods.FirstOrDefault(m => m.Name == "GetRootNode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_root_node_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_root_node_get_static_delegate) }); } if (efl_canvas_vg_object_root_node_set_static_delegate == null) { efl_canvas_vg_object_root_node_set_static_delegate = new efl_canvas_vg_object_root_node_set_delegate(root_node_set); } if (methods.FirstOrDefault(m => m.Name == "SetRootNode") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_root_node_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_root_node_set_static_delegate) }); } if (efl_canvas_vg_object_default_size_get_static_delegate == null) { efl_canvas_vg_object_default_size_get_static_delegate = new efl_canvas_vg_object_default_size_get_delegate(default_size_get); } if (methods.FirstOrDefault(m => m.Name == "GetDefaultSize") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_object_default_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_object_default_size_get_static_delegate) }); } if (efl_file_mmap_get_static_delegate == null) { efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get); } if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null) { 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) }); } if (efl_file_mmap_set_static_delegate == null) { efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set); } if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null) { 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) }); } if (efl_file_get_static_delegate == null) { efl_file_get_static_delegate = new efl_file_get_delegate(file_get); } if (methods.FirstOrDefault(m => m.Name == "GetFile") != null) { 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) }); } if (efl_file_set_static_delegate == null) { efl_file_set_static_delegate = new efl_file_set_delegate(file_set); } if (methods.FirstOrDefault(m => m.Name == "SetFile") != null) { 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) }); } if (efl_file_key_get_static_delegate == null) { efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get); } if (methods.FirstOrDefault(m => m.Name == "GetKey") != null) { 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) }); } if (efl_file_key_set_static_delegate == null) { efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set); } if (methods.FirstOrDefault(m => m.Name == "SetKey") != null) { 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) }); } if (efl_file_loaded_get_static_delegate == null) { efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get); } if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null) { 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) }); } if (efl_file_load_static_delegate == null) { efl_file_load_static_delegate = new efl_file_load_delegate(load); } if (methods.FirstOrDefault(m => m.Name == "Load") != null) { 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) }); } if (efl_file_unload_static_delegate == null) { efl_file_unload_static_delegate = new efl_file_unload_delegate(unload); } if (methods.FirstOrDefault(m => m.Name == "Unload") != null) { 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) }); } if (efl_file_save_static_delegate == null) { efl_file_save_static_delegate = new efl_file_save_delegate(save); } if (methods.FirstOrDefault(m => m.Name == "Save") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_save"), func = Marshal.GetFunctionPointerForDelegate(efl_file_save_static_delegate) }); } if (efl_gfx_frame_controller_animated_get_static_delegate == null) { efl_gfx_frame_controller_animated_get_static_delegate = new efl_gfx_frame_controller_animated_get_delegate(animated_get); } if (methods.FirstOrDefault(m => m.Name == "GetAnimated") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_animated_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_animated_get_static_delegate) }); } if (efl_gfx_frame_controller_frame_get_static_delegate == null) { efl_gfx_frame_controller_frame_get_static_delegate = new efl_gfx_frame_controller_frame_get_delegate(frame_get); } if (methods.FirstOrDefault(m => m.Name == "GetFrame") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_frame_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_frame_get_static_delegate) }); } if (efl_gfx_frame_controller_frame_set_static_delegate == null) { efl_gfx_frame_controller_frame_set_static_delegate = new efl_gfx_frame_controller_frame_set_delegate(frame_set); } if (methods.FirstOrDefault(m => m.Name == "SetFrame") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_frame_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_frame_set_static_delegate) }); } if (efl_gfx_frame_controller_frame_count_get_static_delegate == null) { efl_gfx_frame_controller_frame_count_get_static_delegate = new efl_gfx_frame_controller_frame_count_get_delegate(frame_count_get); } if (methods.FirstOrDefault(m => m.Name == "GetFrameCount") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_frame_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_frame_count_get_static_delegate) }); } if (efl_gfx_frame_controller_loop_type_get_static_delegate == null) { efl_gfx_frame_controller_loop_type_get_static_delegate = new efl_gfx_frame_controller_loop_type_get_delegate(loop_type_get); } if (methods.FirstOrDefault(m => m.Name == "GetLoopType") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_loop_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_loop_type_get_static_delegate) }); } if (efl_gfx_frame_controller_loop_count_get_static_delegate == null) { efl_gfx_frame_controller_loop_count_get_static_delegate = new efl_gfx_frame_controller_loop_count_get_delegate(loop_count_get); } if (methods.FirstOrDefault(m => m.Name == "GetLoopCount") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_loop_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_loop_count_get_static_delegate) }); } if (efl_gfx_frame_controller_frame_duration_get_static_delegate == null) { efl_gfx_frame_controller_frame_duration_get_static_delegate = new efl_gfx_frame_controller_frame_duration_get_delegate(frame_duration_get); } if (methods.FirstOrDefault(m => m.Name == "GetFrameDuration") != null) { descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_frame_controller_frame_duration_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_frame_controller_frame_duration_get_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); return descs; } /// Returns the Eo class for the native methods of this class. /// The native class pointer. public override IntPtr GetEflClass() { return Efl.Canvas.Vg.Object.efl_canvas_vg_object_class_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 private delegate Efl.Canvas.Vg.FillMode efl_canvas_vg_object_fill_mode_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Canvas.Vg.FillMode efl_canvas_vg_object_fill_mode_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_fill_mode_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_fill_mode_get"); private static Efl.Canvas.Vg.FillMode fill_mode_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_canvas_vg_object_fill_mode_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Canvas.Vg.FillMode _ret_var = default(Efl.Canvas.Vg.FillMode); try { _ret_var = ((Object)ws.Target).GetFillMode(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_canvas_vg_object_fill_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_canvas_vg_object_fill_mode_get_delegate efl_canvas_vg_object_fill_mode_get_static_delegate; private delegate void efl_canvas_vg_object_fill_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Vg.FillMode fill_mode); public delegate void efl_canvas_vg_object_fill_mode_set_api_delegate(System.IntPtr obj, Efl.Canvas.Vg.FillMode fill_mode); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_fill_mode_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_fill_mode_set"); private static void fill_mode_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Vg.FillMode fill_mode) { Eina.Log.Debug("function efl_canvas_vg_object_fill_mode_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Object)ws.Target).SetFillMode(fill_mode); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_canvas_vg_object_fill_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill_mode); } } private static efl_canvas_vg_object_fill_mode_set_delegate efl_canvas_vg_object_fill_mode_set_static_delegate; private delegate Eina.Rect.NativeStruct efl_canvas_vg_object_viewbox_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Rect.NativeStruct efl_canvas_vg_object_viewbox_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_viewbox_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_viewbox_get"); private static Eina.Rect.NativeStruct viewbox_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_canvas_vg_object_viewbox_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Rect _ret_var = default(Eina.Rect); try { _ret_var = ((Object)ws.Target).GetViewbox(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_canvas_vg_object_viewbox_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_canvas_vg_object_viewbox_get_delegate efl_canvas_vg_object_viewbox_get_static_delegate; private delegate void efl_canvas_vg_object_viewbox_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewbox); public delegate void efl_canvas_vg_object_viewbox_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct viewbox); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_viewbox_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_viewbox_set"); private static void viewbox_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct viewbox) { Eina.Log.Debug("function efl_canvas_vg_object_viewbox_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Rect _in_viewbox = viewbox; try { ((Object)ws.Target).SetViewbox(_in_viewbox); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_canvas_vg_object_viewbox_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), viewbox); } } private static efl_canvas_vg_object_viewbox_set_delegate efl_canvas_vg_object_viewbox_set_static_delegate; private delegate void efl_canvas_vg_object_viewbox_align_get_delegate(System.IntPtr obj, System.IntPtr pd, out double align_x, out double align_y); public delegate void efl_canvas_vg_object_viewbox_align_get_api_delegate(System.IntPtr obj, out double align_x, out double align_y); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_viewbox_align_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_viewbox_align_get"); private static void viewbox_align_get(System.IntPtr obj, System.IntPtr pd, out double align_x, out double align_y) { Eina.Log.Debug("function efl_canvas_vg_object_viewbox_align_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { align_x = default(double); align_y = default(double); try { ((Object)ws.Target).GetViewboxAlign(out align_x, out align_y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_canvas_vg_object_viewbox_align_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out align_x, out align_y); } } private static efl_canvas_vg_object_viewbox_align_get_delegate efl_canvas_vg_object_viewbox_align_get_static_delegate; private delegate void efl_canvas_vg_object_viewbox_align_set_delegate(System.IntPtr obj, System.IntPtr pd, double align_x, double align_y); public delegate void efl_canvas_vg_object_viewbox_align_set_api_delegate(System.IntPtr obj, double align_x, double align_y); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_viewbox_align_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_viewbox_align_set"); private static void viewbox_align_set(System.IntPtr obj, System.IntPtr pd, double align_x, double align_y) { Eina.Log.Debug("function efl_canvas_vg_object_viewbox_align_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Object)ws.Target).SetViewboxAlign(align_x, align_y); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_canvas_vg_object_viewbox_align_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), align_x, align_y); } } private static efl_canvas_vg_object_viewbox_align_set_delegate efl_canvas_vg_object_viewbox_align_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Canvas.Vg.Node efl_canvas_vg_object_root_node_get_delegate(System.IntPtr obj, System.IntPtr pd); [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] public delegate Efl.Canvas.Vg.Node efl_canvas_vg_object_root_node_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_root_node_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_root_node_get"); private static Efl.Canvas.Vg.Node root_node_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_canvas_vg_object_root_node_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Canvas.Vg.Node _ret_var = default(Efl.Canvas.Vg.Node); try { _ret_var = ((Object)ws.Target).GetRootNode(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_canvas_vg_object_root_node_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_canvas_vg_object_root_node_get_delegate efl_canvas_vg_object_root_node_get_static_delegate; private delegate void efl_canvas_vg_object_root_node_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Vg.Node root); public delegate void efl_canvas_vg_object_root_node_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Vg.Node root); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_root_node_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_root_node_set"); private static void root_node_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Vg.Node root) { Eina.Log.Debug("function efl_canvas_vg_object_root_node_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Object)ws.Target).SetRootNode(root); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_canvas_vg_object_root_node_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), root); } } private static efl_canvas_vg_object_root_node_set_delegate efl_canvas_vg_object_root_node_set_static_delegate; private delegate Eina.Size2D.NativeStruct efl_canvas_vg_object_default_size_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Size2D.NativeStruct efl_canvas_vg_object_default_size_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_canvas_vg_object_default_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_canvas_vg_object_default_size_get"); private static Eina.Size2D.NativeStruct default_size_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_canvas_vg_object_default_size_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Size2D _ret_var = default(Eina.Size2D); try { _ret_var = ((Object)ws.Target).GetDefaultSize(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_canvas_vg_object_default_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_canvas_vg_object_default_size_get_delegate efl_canvas_vg_object_default_size_get_static_delegate; private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_mmap_get"); private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_file_mmap_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.File _ret_var = default(Eina.File); try { _ret_var = ((Object)ws.Target).GetMmap(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate; private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.File f); public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj, Eina.File f); public static Efl.Eo.FunctionWrapper efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_mmap_set"); private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f) { Eina.Log.Debug("function efl_file_mmap_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Error _ret_var = default(Eina.Error); try { _ret_var = ((Object)ws.Target).SetMmap(f); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f); } } private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_file_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_file_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_get"); private static System.String file_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_file_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { _ret_var = ((Object)ws.Target).GetFile(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_file_get_delegate efl_file_get_static_delegate; 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); public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file); public static Efl.Eo.FunctionWrapper efl_file_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_set"); private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file) { Eina.Log.Debug("function efl_file_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Error _ret_var = default(Eina.Error); try { _ret_var = ((Object)ws.Target).SetFile(file); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file); } } private static efl_file_set_delegate efl_file_set_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_key_get"); private static System.String key_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_file_key_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { _ret_var = ((Object)ws.Target).GetKey(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_file_key_get_delegate efl_file_key_get_static_delegate; 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); public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key); public static Efl.Eo.FunctionWrapper efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_key_set"); private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key) { Eina.Log.Debug("function efl_file_key_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Object)ws.Target).SetKey(key); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key); } } private static efl_file_key_set_delegate efl_file_key_set_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_loaded_get"); private static bool loaded_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_file_loaded_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Object)ws.Target).GetLoaded(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate; private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_file_load_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_load"); private static Eina.Error load(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_file_load was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Eina.Error _ret_var = default(Eina.Error); try { _ret_var = ((Object)ws.Target).Load(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_file_load_delegate efl_file_load_static_delegate; private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd); public delegate void efl_file_unload_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_file_unload_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_unload"); private static void unload(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_file_unload was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { ((Object)ws.Target).Unload(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_file_unload_delegate efl_file_unload_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_file_save_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, ref Efl.FileSaveInfo.NativeStruct info); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_file_save_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key, ref Efl.FileSaveInfo.NativeStruct info); public static Efl.Eo.FunctionWrapper efl_file_save_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_save"); private static bool save(System.IntPtr obj, System.IntPtr pd, System.String file, System.String key, ref Efl.FileSaveInfo.NativeStruct info) { Eina.Log.Debug("function efl_file_save was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.FileSaveInfo _in_info = info; bool _ret_var = default(bool); try { _ret_var = ((Object)ws.Target).Save(file, key, ref _in_info); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } info = _in_info; return _ret_var; } else { return efl_file_save_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file, key, ref info); } } private static efl_file_save_delegate efl_file_save_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_frame_controller_animated_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_frame_controller_animated_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_animated_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_animated_get"); private static bool animated_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_frame_controller_animated_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Object)ws.Target).GetAnimated(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_animated_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_gfx_frame_controller_animated_get_delegate efl_gfx_frame_controller_animated_get_static_delegate; private delegate int efl_gfx_frame_controller_frame_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_gfx_frame_controller_frame_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_frame_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_frame_get"); private static int frame_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_frame_controller_frame_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Object)ws.Target).GetFrame(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_frame_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_gfx_frame_controller_frame_get_delegate efl_gfx_frame_controller_frame_get_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_frame_controller_frame_set_delegate(System.IntPtr obj, System.IntPtr pd, int frame_index); [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_frame_controller_frame_set_api_delegate(System.IntPtr obj, int frame_index); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_frame_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_frame_set"); private static bool frame_set(System.IntPtr obj, System.IntPtr pd, int frame_index) { Eina.Log.Debug("function efl_gfx_frame_controller_frame_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { bool _ret_var = default(bool); try { _ret_var = ((Object)ws.Target).SetFrame(frame_index); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_frame_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), frame_index); } } private static efl_gfx_frame_controller_frame_set_delegate efl_gfx_frame_controller_frame_set_static_delegate; private delegate int efl_gfx_frame_controller_frame_count_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_gfx_frame_controller_frame_count_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_frame_count_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_frame_count_get"); private static int frame_count_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_frame_controller_frame_count_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Object)ws.Target).GetFrameCount(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_frame_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_gfx_frame_controller_frame_count_get_delegate efl_gfx_frame_controller_frame_count_get_static_delegate; private delegate Efl.Gfx.FrameControllerLoopHint efl_gfx_frame_controller_loop_type_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate Efl.Gfx.FrameControllerLoopHint efl_gfx_frame_controller_loop_type_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_loop_type_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_loop_type_get"); private static Efl.Gfx.FrameControllerLoopHint loop_type_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_frame_controller_loop_type_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Gfx.FrameControllerLoopHint _ret_var = default(Efl.Gfx.FrameControllerLoopHint); try { _ret_var = ((Object)ws.Target).GetLoopType(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_loop_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_gfx_frame_controller_loop_type_get_delegate efl_gfx_frame_controller_loop_type_get_static_delegate; private delegate int efl_gfx_frame_controller_loop_count_get_delegate(System.IntPtr obj, System.IntPtr pd); public delegate int efl_gfx_frame_controller_loop_count_get_api_delegate(System.IntPtr obj); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_loop_count_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_loop_count_get"); private static int loop_count_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_frame_controller_loop_count_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { _ret_var = ((Object)ws.Target).GetLoopCount(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_loop_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } private static efl_gfx_frame_controller_loop_count_get_delegate efl_gfx_frame_controller_loop_count_get_static_delegate; private delegate double efl_gfx_frame_controller_frame_duration_get_delegate(System.IntPtr obj, System.IntPtr pd, int start_frame, int frame_num); public delegate double efl_gfx_frame_controller_frame_duration_get_api_delegate(System.IntPtr obj, int start_frame, int frame_num); public static Efl.Eo.FunctionWrapper efl_gfx_frame_controller_frame_duration_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_gfx_frame_controller_frame_duration_get"); private static double frame_duration_get(System.IntPtr obj, System.IntPtr pd, int start_frame, int frame_num) { Eina.Log.Debug("function efl_gfx_frame_controller_frame_duration_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { double _ret_var = default(double); try { _ret_var = ((Object)ws.Target).GetFrameDuration(start_frame, frame_num); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return _ret_var; } else { return efl_gfx_frame_controller_frame_duration_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start_frame, frame_num); } } private static efl_gfx_frame_controller_frame_duration_get_delegate efl_gfx_frame_controller_frame_duration_get_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } } } } #if EFL_BETA #pragma warning disable CS1591 public static class Efl_Canvas_VgObject_ExtensionMethods { public static Efl.BindableProperty FillMode(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("fill_mode", fac); } public static Efl.BindableProperty Viewbox(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("viewbox", fac); } public static Efl.BindableProperty RootNode(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("root_node", fac); } public static Efl.BindableProperty Mmap(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("mmap", fac); } public static Efl.BindableProperty File(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("file", fac); } public static Efl.BindableProperty Key(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("key", fac); } public static Efl.BindableProperty Frame(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Canvas.Vg.Object { return new Efl.BindableProperty("frame", fac); } } #pragma warning restore CS1591 #endif namespace Efl { namespace Canvas { namespace Vg { /// Enumeration that defines how viewbox will be filled int the vg canvs's viewport. default Fill_Mode is none [Efl.Eo.BindingEntity] public enum FillMode { /// Don't scale the viewbox. Placed it inside viewport taking align property into account None = 0, /// Scale the viewbox so that it matches the canvas viewport. Aaspect ratio might be changed. Stretch = 1, /// Scale the viewbox so that it fits inside canvas viewport while maintaining the aspect ratio. At least one of the dimensions of the viewbox should be equal to the corresponding dimension of the viewport. Meet = 2, /// Scale the viewbox so that it covers the entire canvas viewport while maintaining the aspect ratio. At least one of the dimensions of the viewbox should be equal to the corresponding dimension of the viewport. Slice = 3, } } } }