1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Efl canvas internal image class</summary>
13 [Efl.Canvas.ImageInternal.NativeMethods]
14 public abstract class ImageInternal : Efl.Canvas.Object, Efl.Eo.IWrapper,Efl.IFileSave,Efl.IOrientation,Efl.Canvas.Filter.IInternal,Efl.Gfx.IBuffer,Efl.Gfx.IFill,Efl.Gfx.IFilter,Efl.Gfx.IImage,Efl.Gfx.IView
16 ///<summary>Pointer to the native class description.</summary>
17 public override System.IntPtr NativeClass
21 if (((object)this).GetType() == typeof(ImageInternal))
23 return GetEflClassStatic();
27 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
32 [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
33 efl_canvas_image_internal_class_get();
34 /// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.</summary>
35 /// <param name="parent">Parent instance.</param>
36 public ImageInternal(Efl.Object parent= null
37 ) : base(efl_canvas_image_internal_class_get(), typeof(ImageInternal), parent)
39 FinishInstantiation();
42 /// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.
43 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
44 /// <param name="raw">The native pointer to be wrapped.</param>
45 protected ImageInternal(System.IntPtr raw) : base(raw)
49 [Efl.Eo.PrivateNativeClass]
50 private class ImageInternalRealized : ImageInternal
52 private ImageInternalRealized(IntPtr ptr) : base(ptr)
56 /// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.
57 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
58 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
59 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
60 /// <param name="parent">The Efl.Object parent of this instance.</param>
61 protected ImageInternal(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
65 /// <summary>Verifies if the given object is equal to this one.</summary>
66 /// <param name="instance">The object to compare to.</param>
67 /// <returns>True if both objects point to the same native object.</returns>
68 public override bool Equals(object instance)
70 var other = instance as Efl.Object;
75 return this.NativeHandle == other.NativeHandle;
78 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
79 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
80 public override int GetHashCode()
82 return this.NativeHandle.ToInt32();
85 /// <summary>Turns the native pointer into a string representation.</summary>
86 /// <returns>A string with the type and the native pointer for this object.</returns>
87 public override String ToString()
89 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
92 /// <summary>Image data has been preloaded.</summary>
93 public event EventHandler ImagePreloadEvt
99 var wRef = new WeakReference(this);
100 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
102 var obj = wRef.Target as Efl.Eo.IWrapper;
105 EventArgs args = EventArgs.Empty;
108 value?.Invoke(obj, args);
112 Eina.Log.Error(e.ToString());
113 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
118 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
119 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
127 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
128 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
132 ///<summary>Method to raise event ImagePreloadEvt.</summary>
133 public void OnImagePreloadEvt(EventArgs e)
135 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
136 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
137 if (desc == IntPtr.Zero)
139 Eina.Log.Error($"Failed to get native event {key}");
143 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
145 /// <summary>Image was resized (its pixel data).</summary>
146 public event EventHandler ImageResizeEvt
152 var wRef = new WeakReference(this);
153 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
155 var obj = wRef.Target as Efl.Eo.IWrapper;
158 EventArgs args = EventArgs.Empty;
161 value?.Invoke(obj, args);
165 Eina.Log.Error(e.ToString());
166 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
171 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
172 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
180 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
181 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
185 ///<summary>Method to raise event ImageResizeEvt.</summary>
186 public void OnImageResizeEvt(EventArgs e)
188 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
189 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
190 if (desc == IntPtr.Zero)
192 Eina.Log.Error($"Failed to get native event {key}");
196 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
198 /// <summary>Image data has been unloaded (by some mechanism in EFL that threw out the original image data).</summary>
199 public event EventHandler ImageUnloadEvt
205 var wRef = new WeakReference(this);
206 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
208 var obj = wRef.Target as Efl.Eo.IWrapper;
211 EventArgs args = EventArgs.Empty;
214 value?.Invoke(obj, args);
218 Eina.Log.Error(e.ToString());
219 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
224 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
225 AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
233 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
234 RemoveNativeEventHandler(efl.Libs.Efl, key, value);
238 ///<summary>Method to raise event ImageUnloadEvt.</summary>
239 public void OnImageUnloadEvt(EventArgs e)
241 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
242 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
243 if (desc == IntPtr.Zero)
245 Eina.Log.Error($"Failed to get native event {key}");
249 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
251 /// <summary>Save the given image object's contents to an (image) file.
252 /// The extension suffix on <c>file</c> 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.
254 /// You can specify some flags when saving the image. Currently acceptable flags are <c>quality</c> and <c>compress</c>. Eg.: "quality=100 compress=9".
255 /// (Since EFL 1.22)</summary>
256 /// <param name="file">The filename to be used to save the image (extension obligatory).</param>
257 /// <param name="key">The image key in the file (if an Eet one), or <c>null</c>, otherwise.</param>
258 /// <param name="info">The flags to be used (<c>null</c> for defaults).</param>
259 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
260 virtual public bool Save(System.String file, System.String key, ref Efl.FileSaveInfo info) {
261 Efl.FileSaveInfo.NativeStruct _in_info = info;
262 var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file, key, ref _in_info);
263 Eina.Error.RaiseIfUnhandledException();
267 /// <summary>Control the orientation of a given object.
268 /// This can be used to set the rotation on an image or a window, for instance.</summary>
269 /// <returns>The rotation angle (CCW), see <see cref="Efl.Orient"/>.</returns>
270 virtual public Efl.Orient GetOrientation() {
271 var _ret_var = Efl.IOrientationConcrete.NativeMethods.efl_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
272 Eina.Error.RaiseIfUnhandledException();
275 /// <summary>Control the orientation of a given object.
276 /// This can be used to set the rotation on an image or a window, for instance.</summary>
277 /// <param name="dir">The rotation angle (CCW), see <see cref="Efl.Orient"/>.</param>
278 virtual public void SetOrientation(Efl.Orient dir) {
279 Efl.IOrientationConcrete.NativeMethods.efl_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir);
280 Eina.Error.RaiseIfUnhandledException();
282 /// <summary>Control the flip of the given image
283 /// Use this function to change how your image is to be flipped: vertically or horizontally or transpose or traverse.</summary>
284 /// <returns>Flip method</returns>
285 virtual public Efl.Flip GetFlip() {
286 var _ret_var = Efl.IOrientationConcrete.NativeMethods.efl_orientation_flip_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
287 Eina.Error.RaiseIfUnhandledException();
290 /// <summary>Control the flip of the given image
291 /// Use this function to change how your image is to be flipped: vertically or horizontally or transpose or traverse.</summary>
292 /// <param name="flip">Flip method</param>
293 virtual public void SetFlip(Efl.Flip flip) {
294 Efl.IOrientationConcrete.NativeMethods.efl_orientation_flip_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),flip);
295 Eina.Error.RaiseIfUnhandledException();
297 /// <summary>Marks this filter as changed.</summary>
298 /// <param name="val"><c>true</c> if filter changed, <c>false</c> otherwise</param>
299 virtual public void SetFilterChanged(bool val) {
300 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_changed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
301 Eina.Error.RaiseIfUnhandledException();
303 /// <summary>Marks this filter as invalid.</summary>
304 /// <param name="val"><c>true</c> if filter is invalid, <c>false</c> otherwise</param>
305 virtual public void SetFilterInvalid(bool val) {
306 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_invalid_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val);
307 Eina.Error.RaiseIfUnhandledException();
309 /// <summary>Retrieve cached output buffer, if any.
310 /// Does not increment the reference count.</summary>
311 /// <returns>Output buffer</returns>
312 virtual public System.IntPtr GetFilterOutputBuffer() {
313 var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_output_buffer_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
314 Eina.Error.RaiseIfUnhandledException();
317 /// <summary>Called by Efl.Canvas.Filter.Internal to determine whether the input is alpha or rgba.</summary>
318 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
319 virtual public bool FilterInputAlpha() {
320 var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_alpha_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
321 Eina.Error.RaiseIfUnhandledException();
324 /// <summary>Called by Efl.Canvas.Filter.Internal to request the parent class for state information (color, etc...).</summary>
325 /// <param name="state">State info to fill in</param>
326 /// <param name="data">Private data for the class</param>
327 virtual public void FilterStatePrepare(out Efl.Canvas.Filter.State state, System.IntPtr data) {
328 var _out_state = new Efl.Canvas.Filter.State.NativeStruct();
329 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_state_prepare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_state, data);
330 Eina.Error.RaiseIfUnhandledException();
333 /// <summary>Called by Efl.Canvas.Filter.Internal when the parent class must render the input.</summary>
334 /// <param name="filter">Current filter context</param>
335 /// <param name="engine">Engine context</param>
336 /// <param name="output">Output context</param>
337 /// <param name="drawctx">Draw context (for evas engine)</param>
338 /// <param name="data">Private data used by textblock</param>
339 /// <param name="l">Left</param>
340 /// <param name="r">Right</param>
341 /// <param name="t">Top</param>
342 /// <param name="b">Bottom</param>
343 /// <param name="x">X offset</param>
344 /// <param name="y">Y offset</param>
345 /// <param name="do_async"><c>true</c> when the operation should be done asynchronously, <c>false</c> otherwise</param>
346 /// <returns>Indicates success from the object render function.</returns>
347 virtual public bool FilterInputRender(System.IntPtr filter, System.IntPtr engine, System.IntPtr output, System.IntPtr drawctx, System.IntPtr data, int l, int r, int t, int b, int x, int y, bool do_async) {
348 var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_render_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
349 Eina.Error.RaiseIfUnhandledException();
352 /// <summary>Called when filter changes must trigger a redraw of the object.
353 /// Virtual, to be implemented in the parent class.</summary>
354 virtual public void FilterDirty() {
355 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_dirty_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
356 Eina.Error.RaiseIfUnhandledException();
358 /// <summary>Rectangular size of the pixel buffer as allocated in memory.</summary>
359 /// <returns>Size of the buffer in pixels.</returns>
360 virtual public Eina.Size2D GetBufferSize() {
361 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
362 Eina.Error.RaiseIfUnhandledException();
365 /// <summary>Potentially not implemented, <see cref="Efl.Gfx.IBuffer.BufferSize"/> may be read-only.</summary>
366 /// <param name="sz">Size of the buffer in pixels.</param>
367 virtual public void SetBufferSize(Eina.Size2D sz) {
368 Eina.Size2D.NativeStruct _in_sz = sz;
369 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_sz);
370 Eina.Error.RaiseIfUnhandledException();
372 /// <summary>Returns the current encoding of this buffer's pixels.
373 /// See <see cref="Efl.Gfx.Colorspace"/> for more information on the supported formats.</summary>
374 /// <returns>Colorspace</returns>
375 virtual public Efl.Gfx.Colorspace GetColorspace() {
376 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_colorspace_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
377 Eina.Error.RaiseIfUnhandledException();
380 /// <summary>Retrieve whether alpha channel data is used on this object.</summary>
381 /// <returns>Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</returns>
382 virtual public bool GetAlpha() {
383 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
384 Eina.Error.RaiseIfUnhandledException();
387 /// <summary>Change alpha channel usage for this object.
388 /// This function sets a flag on an image object indicating whether or not to use alpha channel data. A value of <c>true</c> makes it use alpha channel data, and <c>false</c> makes it ignore that data. Note that this has nothing to do with an object's color as manipulated by <see cref="Efl.Gfx.IColor.GetColor"/>.</summary>
389 /// <param name="alpha">Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</param>
390 virtual public void SetAlpha(bool alpha) {
391 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),alpha);
392 Eina.Error.RaiseIfUnhandledException();
394 /// <summary>Length in bytes of one row of pixels in memory.
395 /// Usually this will be equal to width * 4, with a plain BGRA image. This may return 0 if the stride is not applicable.
397 /// When applicable, this will include the <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/> as well as potential extra padding.</summary>
398 /// <returns>Stride</returns>
399 virtual public int GetStride() {
400 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_stride_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
401 Eina.Error.RaiseIfUnhandledException();
404 /// <summary>Duplicated pixel borders inside this buffer.
405 /// Internally, EFL may require an image to have its border pixels duplicated, in particular for GL textures. This property exposes the internal duplicated borders to allow calling <see cref="Efl.Gfx.IBuffer.BufferMap"/> with the entire pixel data, including those edge pixels.</summary>
406 /// <param name="l">Left border pixels, usually 0 or 1</param>
407 /// <param name="r">Right border pixels, usually 0 or 1</param>
408 /// <param name="t">Top border pixels, usually 0 or 1</param>
409 /// <param name="b">Bottom border pixels, usually 0 or 1</param>
410 virtual public void GetBufferBorders(out uint l, out uint r, out uint t, out uint b) {
411 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_borders_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
412 Eina.Error.RaiseIfUnhandledException();
414 /// <summary>Mark a sub-region of the given image object to be redrawn.
415 /// This function schedules a particular rectangular region of an image object to be updated (redrawn) at the next rendering cycle.</summary>
416 /// <param name="region">The updated region.</param>
417 virtual public void AddBufferUpdate(ref Eina.Rect region) {
418 Eina.Rect.NativeStruct _in_region = region;
419 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_update_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_region);
420 Eina.Error.RaiseIfUnhandledException();
423 /// <summary>Map a region of this buffer for read or write access by the CPU.
424 /// Fetches data from the GPU if needed. This operation may be slow if cpu_readable_fast or cpu_writeable_fast are not true, or if the required colorspace is different from the internal one.
426 /// Note that if the buffer has <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/>, then <c>x</c> and <c>y</c> may be negative.</summary>
427 /// <param name="mode">Specifies whether to map for read-only, write-only or read-write access (OR combination of flags).</param>
428 /// <param name="region">The region to map.</param>
429 /// <param name="cspace">Requested colorspace. If different from the internal cspace, map should try to convert the data into a new buffer. argb8888 by default.</param>
430 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
431 /// <param name="stride">Returns the length in bytes of a mapped line</param>
432 /// <returns>The data slice. In case of failure, the memory pointer will be <c>null</c>.</returns>
433 virtual public Eina.RwSlice BufferMap(Efl.Gfx.BufferAccessMode mode, ref Eina.Rect region, Efl.Gfx.Colorspace cspace, int plane, out int stride) {
434 Eina.Rect.NativeStruct _in_region = region;
435 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_map_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),mode, ref _in_region, cspace, plane, out stride);
436 Eina.Error.RaiseIfUnhandledException();
440 /// <summary>Unmap a region of this buffer, and update the internal data if needed.
441 /// EFL will update the internal image if the map had write access.
443 /// Note: The <c>slice</c> struct does not need to be the one returned by <see cref="Efl.Gfx.IBuffer.BufferMap"/>, only its contents (<c>mem</c> and <c>len</c>) must match. But after a call to <see cref="Efl.Gfx.IBuffer.BufferUnmap"/> the original <c>slice</c> structure is not valid anymore.</summary>
444 /// <param name="slice">Data slice returned by a previous call to map.</param>
445 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
446 virtual public bool BufferUnmap(Eina.RwSlice slice) {
447 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_unmap_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),slice);
448 Eina.Error.RaiseIfUnhandledException();
451 /// <summary>Set the pixels for this buffer by copying them, or allocate a new memory region.
452 /// This will allocate a new buffer in memory and copy the input <c>pixels</c> to it. The internal colorspace is not guaranteed to be preserved, and colorspace conversion may happen internally.
454 /// If <c>pixels</c> is <c>null</c>, then a new empty buffer will be allocated. If the buffer already had pixel data, the previous image data will be dropped. This is the same as <see cref="Efl.Gfx.IBuffer.SetBufferManaged"/>.
456 /// The memory buffer <c>pixels</c> must be large enough to hold <c>width</c> x <c>height</c> pixels encoded in the colorspace <c>cspace</c>.
458 /// <c>slice</c> should not be the return value of <see cref="Efl.Gfx.IBuffer.GetBufferManaged"/>.</summary>
459 /// <param name="slice">If <c>null</c>, allocates an empty buffer</param>
460 /// <param name="size">The size in pixels.</param>
461 /// <param name="stride">If 0, automatically guessed from the <c>width</c>.</param>
462 /// <param name="cspace">argb8888 by default.</param>
463 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
464 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
465 virtual public bool SetBufferCopy(Eina.Slice slice, Eina.Size2D size, int stride, Efl.Gfx.Colorspace cspace, int plane) {
466 var _in_slice = Eina.PrimitiveConversion.ManagedToPointerAlloc(slice);
467 Eina.Size2D.NativeStruct _in_size = size;
468 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_copy_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_slice, _in_size, stride, cspace, plane);
469 Eina.Error.RaiseIfUnhandledException();
472 /// <summary>Set the pixels for this buffer, managed externally by the client.
473 /// EFL will use the pixel data directly, and update the GPU-side texture if required. This will mark the image as dirty. If <c>slice</c> is <c>null</c>, this will detach the pixel data.
475 /// If the buffer already had pixel data, the previous image data will be dropped. This is the same as <see cref="Efl.Gfx.IBuffer.SetBufferCopy"/>.
477 /// The memory buffer <c>pixels</c> must be large enough to hold <c>width</c> x <c>height</c> pixels encoded in the colorspace <c>cspace</c>.
479 /// See also <see cref="Efl.Gfx.IBuffer.SetBufferCopy"/> if you want EFL to copy the input buffer internally.</summary>
480 /// <param name="slice">If <c>null</c>, detaches the previous buffer.</param>
481 /// <param name="size">The size in pixels.</param>
482 /// <param name="stride">If 0, automatically guessed from the <c>width</c>.</param>
483 /// <param name="cspace">argb8888 by default.</param>
484 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
485 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
486 virtual public bool SetBufferManaged(Eina.Slice slice, Eina.Size2D size, int stride, Efl.Gfx.Colorspace cspace, int plane) {
487 var _in_slice = Eina.PrimitiveConversion.ManagedToPointerAlloc(slice);
488 Eina.Size2D.NativeStruct _in_size = size;
489 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_slice, _in_size, stride, cspace, plane);
490 Eina.Error.RaiseIfUnhandledException();
493 /// <summary>Get a direct pointer to the internal pixel data, if available.
494 /// This will return <c>null</c> unless <see cref="Efl.Gfx.IBuffer.SetBufferManaged"/> was used to pass in an external data pointer.</summary>
495 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
496 /// <returns>The data slice. The memory pointer will be <c>null</c> in case of failure.</returns>
497 virtual public Eina.Slice GetBufferManaged(int plane) {
498 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),plane);
499 Eina.Error.RaiseIfUnhandledException();
502 /// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
503 /// If <c>true</c>, then every time the object is resized, it will automatically trigger a call to <see cref="Efl.Gfx.IFill.SetFill"/> with the new size (and 0, 0 as source image's origin), so the image will cover the whole object's area.
505 /// This property takes precedence over <see cref="Efl.Gfx.IFill.Fill"/>. If set to <c>false</c>, then <see cref="Efl.Gfx.IFill.Fill"/> should be set.
507 /// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
508 /// <returns><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</returns>
509 virtual public bool GetFillAuto() {
510 var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
511 Eina.Error.RaiseIfUnhandledException();
514 /// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
515 /// If <c>true</c>, then every time the object is resized, it will automatically trigger a call to <see cref="Efl.Gfx.IFill.SetFill"/> with the new size (and 0, 0 as source image's origin), so the image will cover the whole object's area.
517 /// This property takes precedence over <see cref="Efl.Gfx.IFill.Fill"/>. If set to <c>false</c>, then <see cref="Efl.Gfx.IFill.Fill"/> should be set.
519 /// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
520 /// <param name="filled"><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</param>
521 virtual public void SetFillAuto(bool filled) {
522 Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),filled);
523 Eina.Error.RaiseIfUnhandledException();
525 /// <summary>Specifies how to tile an image to fill its rectangle geometry.
526 /// Note that if <c>w</c> or <c>h</c> are smaller than the dimensions of the object, the displayed image will be tiled around the object's area. To have only one copy of the bound image drawn, <c>x</c> and <c>y</c> must be 0 and <c>w</c> and <c>h</c> need to be the exact width and height of the image object itself, respectively.
528 /// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
529 /// <returns>The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</returns>
530 virtual public Eina.Rect GetFill() {
531 var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
532 Eina.Error.RaiseIfUnhandledException();
535 /// <summary>Specifies how to tile an image to fill its rectangle geometry.
536 /// Note that if <c>w</c> or <c>h</c> are smaller than the dimensions of the object, the displayed image will be tiled around the object's area. To have only one copy of the bound image drawn, <c>x</c> and <c>y</c> must be 0 and <c>w</c> and <c>h</c> need to be the exact width and height of the image object itself, respectively.
538 /// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
539 /// <param name="fill">The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</param>
540 virtual public void SetFill(Eina.Rect fill) {
541 Eina.Rect.NativeStruct _in_fill = fill;
542 Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_fill);
543 Eina.Error.RaiseIfUnhandledException();
545 /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
546 /// <param name="code">The Lua program source code.</param>
547 /// <param name="name">An optional name for this filter.</param>
548 virtual public void GetFilterProgram(out System.String code, out System.String name) {
549 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out code, out name);
550 Eina.Error.RaiseIfUnhandledException();
552 /// <summary>Set a graphical filter program on this object.
553 /// Valid for Text and Image objects at the moment.
555 /// The argument passed to this function is a string containing a valid Lua program based on the filters API as described in the "EFL Graphics Filters" reference page.
557 /// Set to <c>null</c> to disable filtering.</summary>
558 /// <param name="code">The Lua program source code.</param>
559 /// <param name="name">An optional name for this filter.</param>
560 virtual public void SetFilterProgram(System.String code, System.String name) {
561 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),code, name);
562 Eina.Error.RaiseIfUnhandledException();
564 /// <summary>Set the current state of the filter.
565 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
567 /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
568 /// <param name="cur_state">Current state of the filter</param>
569 /// <param name="cur_val">Current value</param>
570 /// <param name="next_state">Next filter state, optional</param>
571 /// <param name="next_val">Next value, optional</param>
572 /// <param name="pos">Position, optional</param>
573 virtual public void GetFilterState(out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos) {
574 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cur_state, out cur_val, out next_state, out next_val, out pos);
575 Eina.Error.RaiseIfUnhandledException();
577 /// <summary>Set the current state of the filter.
578 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
580 /// A full state is defined by two states (name + value): origin state and target state of an ongoing animation, as well as the <c>pos</c> progress (from 0 to 1) of that animation timeline. The second state can be omitted if there is no ongoing animation.</summary>
581 /// <param name="cur_state">Current state of the filter</param>
582 /// <param name="cur_val">Current value</param>
583 /// <param name="next_state">Next filter state, optional</param>
584 /// <param name="next_val">Next value, optional</param>
585 /// <param name="pos">Position, optional</param>
586 virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
587 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur_state, cur_val, next_state, next_val, pos);
588 Eina.Error.RaiseIfUnhandledException();
590 /// <summary>Gets the padding required to apply this filter.</summary>
591 /// <param name="l">Padding on the left</param>
592 /// <param name="r">Padding on the right</param>
593 /// <param name="t">Padding on the top</param>
594 /// <param name="b">Padding on the bottom</param>
595 virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
596 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out l, out r, out t, out b);
597 Eina.Error.RaiseIfUnhandledException();
599 /// <summary>Bind an object to use as a mask or texture in a filter program.
600 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
601 /// <param name="name">Buffer name as used in the program.</param>
602 /// <returns>Object to use as a source of pixels.</returns>
603 virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
604 var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name);
605 Eina.Error.RaiseIfUnhandledException();
608 /// <summary>Bind an object to use as a mask or texture in a filter program.
609 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
610 /// <param name="name">Buffer name as used in the program.</param>
611 /// <param name="source">Object to use as a source of pixels.</param>
612 virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
613 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, source);
614 Eina.Error.RaiseIfUnhandledException();
616 /// <summary>Extra data used by the filter program.
617 /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
619 /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line 'name = value'. This can be used to pass in tables.</summary>
620 /// <param name="name">Name of the global variable</param>
621 /// <param name="value">String value to use as data</param>
622 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
623 virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
624 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, out value, out execute);
625 Eina.Error.RaiseIfUnhandledException();
627 /// <summary>Extra data used by the filter program.
628 /// Each data element is a string (<c>value</c>) stored as a global variable <c>name</c>. The program is then responsible for conversion to numbers, tables, etc...
630 /// If the <c>execute</c> flag is set, then the <c>value</c> can be complex and run, as if the original Lua program contained a line 'name = value'. This can be used to pass in tables.</summary>
631 /// <param name="name">Name of the global variable</param>
632 /// <param name="value">String value to use as data</param>
633 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
634 virtual public void SetFilterData(System.String name, System.String value, bool execute) {
635 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),name, value, execute);
636 Eina.Error.RaiseIfUnhandledException();
638 /// <summary>Whether to use high-quality image scaling algorithm for this image.
639 /// 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.
641 /// <c>true</c> by default</summary>
642 /// <returns>Whether to use smooth scale or not.</returns>
643 virtual public bool GetSmoothScale() {
644 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));
645 Eina.Error.RaiseIfUnhandledException();
648 /// <summary>Whether to use high-quality image scaling algorithm for this image.
649 /// 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.
651 /// <c>true</c> by default</summary>
652 /// <param name="smooth_scale">Whether to use smooth scale or not.</param>
653 virtual public void SetSmoothScale(bool smooth_scale) {
654 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);
655 Eina.Error.RaiseIfUnhandledException();
657 /// <summary>Control how the image is scaled.</summary>
658 /// <returns>Image scale type</returns>
659 virtual public Efl.Gfx.ImageScaleType GetScaleType() {
660 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));
661 Eina.Error.RaiseIfUnhandledException();
664 /// <summary>Control how the image is scaled.</summary>
665 /// <param name="scale_type">Image scale type</param>
666 virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
667 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);
668 Eina.Error.RaiseIfUnhandledException();
670 /// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
671 /// <returns>The image's ratio.</returns>
672 virtual public double GetRatio() {
673 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));
674 Eina.Error.RaiseIfUnhandledException();
677 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
678 /// 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.
680 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
682 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
684 /// 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.
686 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
687 /// <param name="l">The border's left width.</param>
688 /// <param name="r">The border's right width.</param>
689 /// <param name="t">The border's top height.</param>
690 /// <param name="b">The border's bottom height.</param>
691 virtual public void GetBorder(out int l, out int r, out int t, out int b) {
692 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);
693 Eina.Error.RaiseIfUnhandledException();
695 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
696 /// 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.
698 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
700 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
702 /// 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.
704 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
705 /// <param name="l">The border's left width.</param>
706 /// <param name="r">The border's right width.</param>
707 /// <param name="t">The border's top height.</param>
708 /// <param name="b">The border's bottom height.</param>
709 virtual public void SetBorder(int l, int r, int t, int b) {
710 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);
711 Eina.Error.RaiseIfUnhandledException();
713 /// <summary>Scaling factor applied to the image borders.
714 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
716 /// Default value is 1.0 (no scaling).</summary>
717 /// <returns>The scale factor.</returns>
718 virtual public double GetBorderScale() {
719 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));
720 Eina.Error.RaiseIfUnhandledException();
723 /// <summary>Scaling factor applied to the image borders.
724 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
726 /// Default value is 1.0 (no scaling).</summary>
727 /// <param name="scale">The scale factor.</param>
728 virtual public void SetBorderScale(double scale) {
729 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);
730 Eina.Error.RaiseIfUnhandledException();
732 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
733 /// 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.
735 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
736 /// <returns>Fill mode of the center region.</returns>
737 virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
738 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));
739 Eina.Error.RaiseIfUnhandledException();
742 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
743 /// 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.
745 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
746 /// <param name="fill">Fill mode of the center region.</param>
747 virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
748 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);
749 Eina.Error.RaiseIfUnhandledException();
751 /// <summary>This represents the size of the original image in pixels.
752 /// 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.
754 /// This is a read-only property, and may return 0x0.</summary>
755 /// <returns>The size in pixels.</returns>
756 virtual public Eina.Size2D GetImageSize() {
757 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));
758 Eina.Error.RaiseIfUnhandledException();
761 /// <summary>Get the content hint setting of a given image object of the canvas.
762 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
763 /// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
764 virtual public Efl.Gfx.ImageContentHint GetContentHint() {
765 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));
766 Eina.Error.RaiseIfUnhandledException();
769 /// <summary>Set the content hint setting of a given image object of the canvas.
770 /// 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>
771 /// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
772 virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
773 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);
774 Eina.Error.RaiseIfUnhandledException();
776 /// <summary>Get the scale hint of a given image of the canvas.
777 /// This function returns the scale hint value of the given image object of the canvas.</summary>
778 /// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
779 virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
780 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));
781 Eina.Error.RaiseIfUnhandledException();
784 /// <summary>Set the scale hint of a given image of the canvas.
785 /// 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>
786 /// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
787 virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
788 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);
789 Eina.Error.RaiseIfUnhandledException();
791 /// <summary>Gets the (last) file loading error for a given object.</summary>
792 /// <returns>The load error code.</returns>
793 virtual public Eina.Error GetImageLoadError() {
794 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));
795 Eina.Error.RaiseIfUnhandledException();
798 /// <summary>The dimensions of this object's viewport.
799 /// This property represents the size of an image (file on disk, vector graphics, GL or 3D scene, ...) view: this is the logical size of a view, not the number of pixels in the buffer, nor its visible size on the window.
801 /// For scalable scenes (vector graphics, 3D or GL), this means scaling the contents of the scene and drawing more pixels as a result; For pixmaps this means zooming and stretching up or down the backing buffer to fit this view.
803 /// In most cases the view should have the same dimensions as the object on the canvas, for best quality.
805 /// <see cref="Efl.Gfx.IView.SetViewSize"/> may not be implemented. If it is, it might trigger a complete recalculation of the scene, or reload of the pixel data.
807 /// Refer to each implementing class specific documentation for more details.</summary>
808 /// <returns>Size of the view.</returns>
809 virtual public Eina.Size2D GetViewSize() {
810 var _ret_var = Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
811 Eina.Error.RaiseIfUnhandledException();
814 /// <summary>The dimensions of this object's viewport.
815 /// This property represents the size of an image (file on disk, vector graphics, GL or 3D scene, ...) view: this is the logical size of a view, not the number of pixels in the buffer, nor its visible size on the window.
817 /// For scalable scenes (vector graphics, 3D or GL), this means scaling the contents of the scene and drawing more pixels as a result; For pixmaps this means zooming and stretching up or down the backing buffer to fit this view.
819 /// In most cases the view should have the same dimensions as the object on the canvas, for best quality.
821 /// <see cref="Efl.Gfx.IView.SetViewSize"/> may not be implemented. If it is, it might trigger a complete recalculation of the scene, or reload of the pixel data.
823 /// Refer to each implementing class specific documentation for more details.</summary>
824 /// <param name="size">Size of the view.</param>
825 virtual public void SetViewSize(Eina.Size2D size) {
826 Eina.Size2D.NativeStruct _in_size = size;
827 Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size);
828 Eina.Error.RaiseIfUnhandledException();
830 /// <summary>Control the orientation of a given object.
831 /// This can be used to set the rotation on an image or a window, for instance.</summary>
832 /// <value>The rotation angle (CCW), see <see cref="Efl.Orient"/>.</value>
833 public Efl.Orient Orientation {
834 get { return GetOrientation(); }
835 set { SetOrientation(value); }
837 /// <summary>Control the flip of the given image
838 /// Use this function to change how your image is to be flipped: vertically or horizontally or transpose or traverse.</summary>
839 /// <value>Flip method</value>
840 public Efl.Flip Flip {
841 get { return GetFlip(); }
842 set { SetFlip(value); }
844 /// <summary>Marks this filter as changed.</summary>
845 /// <value><c>true</c> if filter changed, <c>false</c> otherwise</value>
846 public bool FilterChanged {
847 set { SetFilterChanged(value); }
849 /// <summary>Marks this filter as invalid.</summary>
850 /// <value><c>true</c> if filter is invalid, <c>false</c> otherwise</value>
851 public bool FilterInvalid {
852 set { SetFilterInvalid(value); }
854 /// <summary>Retrieve cached output buffer, if any.
855 /// Does not increment the reference count.</summary>
856 /// <value>Output buffer</value>
857 public System.IntPtr FilterOutputBuffer {
858 get { return GetFilterOutputBuffer(); }
860 /// <summary>Rectangular size of the pixel buffer as allocated in memory.</summary>
861 /// <value>Size of the buffer in pixels.</value>
862 public Eina.Size2D BufferSize {
863 get { return GetBufferSize(); }
864 set { SetBufferSize(value); }
866 /// <summary>The colorspace defines how pixels are encoded in the image in memory.
867 /// By default, images are encoded in 32-bit BGRA, ie. each pixel takes 4 bytes in memory, with each channel B,G,R,A encoding the color with values from 0 to 255.
869 /// All images used in EFL use alpha-premultipied BGRA values, which means that for each pixel, B <= A, G <= A and R <= A.</summary>
870 /// <value>Colorspace</value>
871 public Efl.Gfx.Colorspace Colorspace {
872 get { return GetColorspace(); }
874 /// <summary>Indicates whether the alpha channel should be used.
875 /// This does not indicate whether the image source file contains an alpha channel, only whether to respect it or discard it.</summary>
876 /// <value>Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</value>
878 get { return GetAlpha(); }
879 set { SetAlpha(value); }
881 /// <summary>Length in bytes of one row of pixels in memory.
882 /// Usually this will be equal to width * 4, with a plain BGRA image. This may return 0 if the stride is not applicable.
884 /// When applicable, this will include the <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/> as well as potential extra padding.</summary>
885 /// <value>Stride</value>
887 get { return GetStride(); }
889 /// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
890 /// If <c>true</c>, then every time the object is resized, it will automatically trigger a call to <see cref="Efl.Gfx.IFill.SetFill"/> with the new size (and 0, 0 as source image's origin), so the image will cover the whole object's area.
892 /// This property takes precedence over <see cref="Efl.Gfx.IFill.Fill"/>. If set to <c>false</c>, then <see cref="Efl.Gfx.IFill.Fill"/> should be set.
894 /// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
895 /// <value><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</value>
896 public bool FillAuto {
897 get { return GetFillAuto(); }
898 set { SetFillAuto(value); }
900 /// <summary>Specifies how to tile an image to fill its rectangle geometry.
901 /// Note that if <c>w</c> or <c>h</c> are smaller than the dimensions of the object, the displayed image will be tiled around the object's area. To have only one copy of the bound image drawn, <c>x</c> and <c>y</c> must be 0 and <c>w</c> and <c>h</c> need to be the exact width and height of the image object itself, respectively.
903 /// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
904 /// <value>The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</value>
905 public Eina.Rect Fill {
906 get { return GetFill(); }
907 set { SetFill(value); }
909 /// <summary>Whether to use high-quality image scaling algorithm for this image.
910 /// 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.
912 /// <c>true</c> by default</summary>
913 /// <value>Whether to use smooth scale or not.</value>
914 public bool SmoothScale {
915 get { return GetSmoothScale(); }
916 set { SetSmoothScale(value); }
918 /// <summary>Control how the image is scaled.</summary>
919 /// <value>Image scale type</value>
920 public Efl.Gfx.ImageScaleType ScaleType {
921 get { return GetScaleType(); }
922 set { SetScaleType(value); }
924 /// <summary>The native width/height ratio of the image.</summary>
925 /// <value>The image's ratio.</value>
926 public double Ratio {
927 get { return GetRatio(); }
929 /// <summary>Scaling factor applied to the image borders.
930 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
932 /// Default value is 1.0 (no scaling).</summary>
933 /// <value>The scale factor.</value>
934 public double BorderScale {
935 get { return GetBorderScale(); }
936 set { SetBorderScale(value); }
938 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
939 /// 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.
941 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
942 /// <value>Fill mode of the center region.</value>
943 public Efl.Gfx.BorderFillMode BorderCenterFill {
944 get { return GetBorderCenterFill(); }
945 set { SetBorderCenterFill(value); }
947 /// <summary>This represents the size of the original image in pixels.
948 /// 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.
950 /// This is a read-only property, and may return 0x0.</summary>
951 /// <value>The size in pixels.</value>
952 public Eina.Size2D ImageSize {
953 get { return GetImageSize(); }
955 /// <summary>Get the content hint setting of a given image object of the canvas.
956 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
957 /// <value>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></value>
958 public Efl.Gfx.ImageContentHint ContentHint {
959 get { return GetContentHint(); }
960 set { SetContentHint(value); }
962 /// <summary>Get the scale hint of a given image of the canvas.
963 /// This function returns the scale hint value of the given image object of the canvas.</summary>
964 /// <value>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></value>
965 public Efl.Gfx.ImageScaleHint ScaleHint {
966 get { return GetScaleHint(); }
967 set { SetScaleHint(value); }
969 /// <summary>Gets the (last) file loading error for a given object.</summary>
970 /// <value>The load error code.</value>
971 public Eina.Error ImageLoadError {
972 get { return GetImageLoadError(); }
974 /// <summary>The dimensions of this object's viewport.
975 /// This property represents the size of an image (file on disk, vector graphics, GL or 3D scene, ...) view: this is the logical size of a view, not the number of pixels in the buffer, nor its visible size on the window.
977 /// For scalable scenes (vector graphics, 3D or GL), this means scaling the contents of the scene and drawing more pixels as a result; For pixmaps this means zooming and stretching up or down the backing buffer to fit this view.
979 /// In most cases the view should have the same dimensions as the object on the canvas, for best quality.
981 /// <see cref="Efl.Gfx.IView.SetViewSize"/> may not be implemented. If it is, it might trigger a complete recalculation of the scene, or reload of the pixel data.
983 /// Refer to each implementing class specific documentation for more details.</summary>
984 /// <value>Size of the view.</value>
985 public Eina.Size2D ViewSize {
986 get { return GetViewSize(); }
987 set { SetViewSize(value); }
989 private static IntPtr GetEflClassStatic()
991 return Efl.Canvas.ImageInternal.efl_canvas_image_internal_class_get();
993 /// <summary>Wrapper for native methods and virtual method delegates.
994 /// For internal use by generated code only.</summary>
995 public new class NativeMethods : Efl.Canvas.Object.NativeMethods
997 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
998 /// <summary>Gets the list of Eo operations to override.</summary>
999 /// <returns>The list of Eo operations to be overload.</returns>
1000 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
1002 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
1003 var methods = Efl.Eo.Globals.GetUserMethods(type);
1005 if (efl_file_save_static_delegate == null)
1007 efl_file_save_static_delegate = new efl_file_save_delegate(save);
1010 if (methods.FirstOrDefault(m => m.Name == "Save") != null)
1012 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) });
1015 if (efl_orientation_get_static_delegate == null)
1017 efl_orientation_get_static_delegate = new efl_orientation_get_delegate(orientation_get);
1020 if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null)
1022 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_orientation_get_static_delegate) });
1025 if (efl_orientation_set_static_delegate == null)
1027 efl_orientation_set_static_delegate = new efl_orientation_set_delegate(orientation_set);
1030 if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null)
1032 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_orientation_set_static_delegate) });
1035 if (efl_orientation_flip_get_static_delegate == null)
1037 efl_orientation_flip_get_static_delegate = new efl_orientation_flip_get_delegate(flip_get);
1040 if (methods.FirstOrDefault(m => m.Name == "GetFlip") != null)
1042 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_orientation_flip_get"), func = Marshal.GetFunctionPointerForDelegate(efl_orientation_flip_get_static_delegate) });
1045 if (efl_orientation_flip_set_static_delegate == null)
1047 efl_orientation_flip_set_static_delegate = new efl_orientation_flip_set_delegate(flip_set);
1050 if (methods.FirstOrDefault(m => m.Name == "SetFlip") != null)
1052 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_orientation_flip_set"), func = Marshal.GetFunctionPointerForDelegate(efl_orientation_flip_set_static_delegate) });
1055 if (evas_filter_changed_set_static_delegate == null)
1057 evas_filter_changed_set_static_delegate = new evas_filter_changed_set_delegate(filter_changed_set);
1060 if (methods.FirstOrDefault(m => m.Name == "SetFilterChanged") != null)
1062 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_changed_set"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_changed_set_static_delegate) });
1065 if (evas_filter_invalid_set_static_delegate == null)
1067 evas_filter_invalid_set_static_delegate = new evas_filter_invalid_set_delegate(filter_invalid_set);
1070 if (methods.FirstOrDefault(m => m.Name == "SetFilterInvalid") != null)
1072 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_invalid_set"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_invalid_set_static_delegate) });
1075 if (evas_filter_output_buffer_get_static_delegate == null)
1077 evas_filter_output_buffer_get_static_delegate = new evas_filter_output_buffer_get_delegate(filter_output_buffer_get);
1080 if (methods.FirstOrDefault(m => m.Name == "GetFilterOutputBuffer") != null)
1082 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_output_buffer_get"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_output_buffer_get_static_delegate) });
1085 if (evas_filter_input_alpha_static_delegate == null)
1087 evas_filter_input_alpha_static_delegate = new evas_filter_input_alpha_delegate(filter_input_alpha);
1090 if (methods.FirstOrDefault(m => m.Name == "FilterInputAlpha") != null)
1092 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_input_alpha"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_input_alpha_static_delegate) });
1095 if (evas_filter_state_prepare_static_delegate == null)
1097 evas_filter_state_prepare_static_delegate = new evas_filter_state_prepare_delegate(filter_state_prepare);
1100 if (methods.FirstOrDefault(m => m.Name == "FilterStatePrepare") != null)
1102 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_state_prepare"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_state_prepare_static_delegate) });
1105 if (evas_filter_input_render_static_delegate == null)
1107 evas_filter_input_render_static_delegate = new evas_filter_input_render_delegate(filter_input_render);
1110 if (methods.FirstOrDefault(m => m.Name == "FilterInputRender") != null)
1112 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_input_render"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_input_render_static_delegate) });
1115 if (evas_filter_dirty_static_delegate == null)
1117 evas_filter_dirty_static_delegate = new evas_filter_dirty_delegate(filter_dirty);
1120 if (methods.FirstOrDefault(m => m.Name == "FilterDirty") != null)
1122 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "evas_filter_dirty"), func = Marshal.GetFunctionPointerForDelegate(evas_filter_dirty_static_delegate) });
1125 if (efl_gfx_buffer_size_get_static_delegate == null)
1127 efl_gfx_buffer_size_get_static_delegate = new efl_gfx_buffer_size_get_delegate(buffer_size_get);
1130 if (methods.FirstOrDefault(m => m.Name == "GetBufferSize") != null)
1132 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_size_get_static_delegate) });
1135 if (efl_gfx_buffer_size_set_static_delegate == null)
1137 efl_gfx_buffer_size_set_static_delegate = new efl_gfx_buffer_size_set_delegate(buffer_size_set);
1140 if (methods.FirstOrDefault(m => m.Name == "SetBufferSize") != null)
1142 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_size_set_static_delegate) });
1145 if (efl_gfx_buffer_colorspace_get_static_delegate == null)
1147 efl_gfx_buffer_colorspace_get_static_delegate = new efl_gfx_buffer_colorspace_get_delegate(colorspace_get);
1150 if (methods.FirstOrDefault(m => m.Name == "GetColorspace") != null)
1152 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_colorspace_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_colorspace_get_static_delegate) });
1155 if (efl_gfx_buffer_alpha_get_static_delegate == null)
1157 efl_gfx_buffer_alpha_get_static_delegate = new efl_gfx_buffer_alpha_get_delegate(alpha_get);
1160 if (methods.FirstOrDefault(m => m.Name == "GetAlpha") != null)
1162 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_alpha_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_alpha_get_static_delegate) });
1165 if (efl_gfx_buffer_alpha_set_static_delegate == null)
1167 efl_gfx_buffer_alpha_set_static_delegate = new efl_gfx_buffer_alpha_set_delegate(alpha_set);
1170 if (methods.FirstOrDefault(m => m.Name == "SetAlpha") != null)
1172 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_alpha_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_alpha_set_static_delegate) });
1175 if (efl_gfx_buffer_stride_get_static_delegate == null)
1177 efl_gfx_buffer_stride_get_static_delegate = new efl_gfx_buffer_stride_get_delegate(stride_get);
1180 if (methods.FirstOrDefault(m => m.Name == "GetStride") != null)
1182 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_stride_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_stride_get_static_delegate) });
1185 if (efl_gfx_buffer_borders_get_static_delegate == null)
1187 efl_gfx_buffer_borders_get_static_delegate = new efl_gfx_buffer_borders_get_delegate(buffer_borders_get);
1190 if (methods.FirstOrDefault(m => m.Name == "GetBufferBorders") != null)
1192 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_borders_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_borders_get_static_delegate) });
1195 if (efl_gfx_buffer_update_add_static_delegate == null)
1197 efl_gfx_buffer_update_add_static_delegate = new efl_gfx_buffer_update_add_delegate(buffer_update_add);
1200 if (methods.FirstOrDefault(m => m.Name == "AddBufferUpdate") != null)
1202 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_update_add"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_update_add_static_delegate) });
1205 if (efl_gfx_buffer_map_static_delegate == null)
1207 efl_gfx_buffer_map_static_delegate = new efl_gfx_buffer_map_delegate(buffer_map);
1210 if (methods.FirstOrDefault(m => m.Name == "BufferMap") != null)
1212 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_map"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_map_static_delegate) });
1215 if (efl_gfx_buffer_unmap_static_delegate == null)
1217 efl_gfx_buffer_unmap_static_delegate = new efl_gfx_buffer_unmap_delegate(buffer_unmap);
1220 if (methods.FirstOrDefault(m => m.Name == "BufferUnmap") != null)
1222 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_unmap"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_unmap_static_delegate) });
1225 if (efl_gfx_buffer_copy_set_static_delegate == null)
1227 efl_gfx_buffer_copy_set_static_delegate = new efl_gfx_buffer_copy_set_delegate(buffer_copy_set);
1230 if (methods.FirstOrDefault(m => m.Name == "SetBufferCopy") != null)
1232 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_copy_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_copy_set_static_delegate) });
1235 if (efl_gfx_buffer_managed_set_static_delegate == null)
1237 efl_gfx_buffer_managed_set_static_delegate = new efl_gfx_buffer_managed_set_delegate(buffer_managed_set);
1240 if (methods.FirstOrDefault(m => m.Name == "SetBufferManaged") != null)
1242 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_managed_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_managed_set_static_delegate) });
1245 if (efl_gfx_buffer_managed_get_static_delegate == null)
1247 efl_gfx_buffer_managed_get_static_delegate = new efl_gfx_buffer_managed_get_delegate(buffer_managed_get);
1250 if (methods.FirstOrDefault(m => m.Name == "GetBufferManaged") != null)
1252 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_buffer_managed_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_buffer_managed_get_static_delegate) });
1255 if (efl_gfx_fill_auto_get_static_delegate == null)
1257 efl_gfx_fill_auto_get_static_delegate = new efl_gfx_fill_auto_get_delegate(fill_auto_get);
1260 if (methods.FirstOrDefault(m => m.Name == "GetFillAuto") != null)
1262 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_fill_auto_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_fill_auto_get_static_delegate) });
1265 if (efl_gfx_fill_auto_set_static_delegate == null)
1267 efl_gfx_fill_auto_set_static_delegate = new efl_gfx_fill_auto_set_delegate(fill_auto_set);
1270 if (methods.FirstOrDefault(m => m.Name == "SetFillAuto") != null)
1272 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_fill_auto_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_fill_auto_set_static_delegate) });
1275 if (efl_gfx_fill_get_static_delegate == null)
1277 efl_gfx_fill_get_static_delegate = new efl_gfx_fill_get_delegate(fill_get);
1280 if (methods.FirstOrDefault(m => m.Name == "GetFill") != null)
1282 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_fill_get_static_delegate) });
1285 if (efl_gfx_fill_set_static_delegate == null)
1287 efl_gfx_fill_set_static_delegate = new efl_gfx_fill_set_delegate(fill_set);
1290 if (methods.FirstOrDefault(m => m.Name == "SetFill") != null)
1292 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_fill_set_static_delegate) });
1295 if (efl_gfx_filter_program_get_static_delegate == null)
1297 efl_gfx_filter_program_get_static_delegate = new efl_gfx_filter_program_get_delegate(filter_program_get);
1300 if (methods.FirstOrDefault(m => m.Name == "GetFilterProgram") != null)
1302 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_program_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_program_get_static_delegate) });
1305 if (efl_gfx_filter_program_set_static_delegate == null)
1307 efl_gfx_filter_program_set_static_delegate = new efl_gfx_filter_program_set_delegate(filter_program_set);
1310 if (methods.FirstOrDefault(m => m.Name == "SetFilterProgram") != null)
1312 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_program_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_program_set_static_delegate) });
1315 if (efl_gfx_filter_state_get_static_delegate == null)
1317 efl_gfx_filter_state_get_static_delegate = new efl_gfx_filter_state_get_delegate(filter_state_get);
1320 if (methods.FirstOrDefault(m => m.Name == "GetFilterState") != null)
1322 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_state_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_state_get_static_delegate) });
1325 if (efl_gfx_filter_state_set_static_delegate == null)
1327 efl_gfx_filter_state_set_static_delegate = new efl_gfx_filter_state_set_delegate(filter_state_set);
1330 if (methods.FirstOrDefault(m => m.Name == "SetFilterState") != null)
1332 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_state_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_state_set_static_delegate) });
1335 if (efl_gfx_filter_padding_get_static_delegate == null)
1337 efl_gfx_filter_padding_get_static_delegate = new efl_gfx_filter_padding_get_delegate(filter_padding_get);
1340 if (methods.FirstOrDefault(m => m.Name == "GetFilterPadding") != null)
1342 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_padding_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_padding_get_static_delegate) });
1345 if (efl_gfx_filter_source_get_static_delegate == null)
1347 efl_gfx_filter_source_get_static_delegate = new efl_gfx_filter_source_get_delegate(filter_source_get);
1350 if (methods.FirstOrDefault(m => m.Name == "GetFilterSource") != null)
1352 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_source_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_source_get_static_delegate) });
1355 if (efl_gfx_filter_source_set_static_delegate == null)
1357 efl_gfx_filter_source_set_static_delegate = new efl_gfx_filter_source_set_delegate(filter_source_set);
1360 if (methods.FirstOrDefault(m => m.Name == "SetFilterSource") != null)
1362 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_source_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_source_set_static_delegate) });
1365 if (efl_gfx_filter_data_get_static_delegate == null)
1367 efl_gfx_filter_data_get_static_delegate = new efl_gfx_filter_data_get_delegate(filter_data_get);
1370 if (methods.FirstOrDefault(m => m.Name == "GetFilterData") != null)
1372 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_get_static_delegate) });
1375 if (efl_gfx_filter_data_set_static_delegate == null)
1377 efl_gfx_filter_data_set_static_delegate = new efl_gfx_filter_data_set_delegate(filter_data_set);
1380 if (methods.FirstOrDefault(m => m.Name == "SetFilterData") != null)
1382 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_filter_data_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_filter_data_set_static_delegate) });
1385 if (efl_gfx_image_smooth_scale_get_static_delegate == null)
1387 efl_gfx_image_smooth_scale_get_static_delegate = new efl_gfx_image_smooth_scale_get_delegate(smooth_scale_get);
1390 if (methods.FirstOrDefault(m => m.Name == "GetSmoothScale") != null)
1392 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) });
1395 if (efl_gfx_image_smooth_scale_set_static_delegate == null)
1397 efl_gfx_image_smooth_scale_set_static_delegate = new efl_gfx_image_smooth_scale_set_delegate(smooth_scale_set);
1400 if (methods.FirstOrDefault(m => m.Name == "SetSmoothScale") != null)
1402 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) });
1405 if (efl_gfx_image_scale_type_get_static_delegate == null)
1407 efl_gfx_image_scale_type_get_static_delegate = new efl_gfx_image_scale_type_get_delegate(scale_type_get);
1410 if (methods.FirstOrDefault(m => m.Name == "GetScaleType") != null)
1412 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) });
1415 if (efl_gfx_image_scale_type_set_static_delegate == null)
1417 efl_gfx_image_scale_type_set_static_delegate = new efl_gfx_image_scale_type_set_delegate(scale_type_set);
1420 if (methods.FirstOrDefault(m => m.Name == "SetScaleType") != null)
1422 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) });
1425 if (efl_gfx_image_ratio_get_static_delegate == null)
1427 efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
1430 if (methods.FirstOrDefault(m => m.Name == "GetRatio") != null)
1432 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) });
1435 if (efl_gfx_image_border_get_static_delegate == null)
1437 efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
1440 if (methods.FirstOrDefault(m => m.Name == "GetBorder") != null)
1442 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) });
1445 if (efl_gfx_image_border_set_static_delegate == null)
1447 efl_gfx_image_border_set_static_delegate = new efl_gfx_image_border_set_delegate(border_set);
1450 if (methods.FirstOrDefault(m => m.Name == "SetBorder") != null)
1452 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) });
1455 if (efl_gfx_image_border_scale_get_static_delegate == null)
1457 efl_gfx_image_border_scale_get_static_delegate = new efl_gfx_image_border_scale_get_delegate(border_scale_get);
1460 if (methods.FirstOrDefault(m => m.Name == "GetBorderScale") != null)
1462 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) });
1465 if (efl_gfx_image_border_scale_set_static_delegate == null)
1467 efl_gfx_image_border_scale_set_static_delegate = new efl_gfx_image_border_scale_set_delegate(border_scale_set);
1470 if (methods.FirstOrDefault(m => m.Name == "SetBorderScale") != null)
1472 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) });
1475 if (efl_gfx_image_border_center_fill_get_static_delegate == null)
1477 efl_gfx_image_border_center_fill_get_static_delegate = new efl_gfx_image_border_center_fill_get_delegate(border_center_fill_get);
1480 if (methods.FirstOrDefault(m => m.Name == "GetBorderCenterFill") != null)
1482 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) });
1485 if (efl_gfx_image_border_center_fill_set_static_delegate == null)
1487 efl_gfx_image_border_center_fill_set_static_delegate = new efl_gfx_image_border_center_fill_set_delegate(border_center_fill_set);
1490 if (methods.FirstOrDefault(m => m.Name == "SetBorderCenterFill") != null)
1492 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) });
1495 if (efl_gfx_image_size_get_static_delegate == null)
1497 efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
1500 if (methods.FirstOrDefault(m => m.Name == "GetImageSize") != null)
1502 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) });
1505 if (efl_gfx_image_content_hint_get_static_delegate == null)
1507 efl_gfx_image_content_hint_get_static_delegate = new efl_gfx_image_content_hint_get_delegate(content_hint_get);
1510 if (methods.FirstOrDefault(m => m.Name == "GetContentHint") != null)
1512 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) });
1515 if (efl_gfx_image_content_hint_set_static_delegate == null)
1517 efl_gfx_image_content_hint_set_static_delegate = new efl_gfx_image_content_hint_set_delegate(content_hint_set);
1520 if (methods.FirstOrDefault(m => m.Name == "SetContentHint") != null)
1522 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) });
1525 if (efl_gfx_image_scale_hint_get_static_delegate == null)
1527 efl_gfx_image_scale_hint_get_static_delegate = new efl_gfx_image_scale_hint_get_delegate(scale_hint_get);
1530 if (methods.FirstOrDefault(m => m.Name == "GetScaleHint") != null)
1532 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) });
1535 if (efl_gfx_image_scale_hint_set_static_delegate == null)
1537 efl_gfx_image_scale_hint_set_static_delegate = new efl_gfx_image_scale_hint_set_delegate(scale_hint_set);
1540 if (methods.FirstOrDefault(m => m.Name == "SetScaleHint") != null)
1542 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) });
1545 if (efl_gfx_image_load_error_get_static_delegate == null)
1547 efl_gfx_image_load_error_get_static_delegate = new efl_gfx_image_load_error_get_delegate(image_load_error_get);
1550 if (methods.FirstOrDefault(m => m.Name == "GetImageLoadError") != null)
1552 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) });
1555 if (efl_gfx_view_size_get_static_delegate == null)
1557 efl_gfx_view_size_get_static_delegate = new efl_gfx_view_size_get_delegate(view_size_get);
1560 if (methods.FirstOrDefault(m => m.Name == "GetViewSize") != null)
1562 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_view_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_view_size_get_static_delegate) });
1565 if (efl_gfx_view_size_set_static_delegate == null)
1567 efl_gfx_view_size_set_static_delegate = new efl_gfx_view_size_set_delegate(view_size_set);
1570 if (methods.FirstOrDefault(m => m.Name == "SetViewSize") != null)
1572 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_view_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_view_size_set_static_delegate) });
1575 descs.AddRange(base.GetEoOps(type));
1578 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1579 /// <returns>The native class pointer.</returns>
1580 public override IntPtr GetEflClass()
1582 return Efl.Canvas.ImageInternal.efl_canvas_image_internal_class_get();
1585 #pragma warning disable CA1707, SA1300, SA1600
1587 [return: MarshalAs(UnmanagedType.U1)]
1588 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);
1590 [return: MarshalAs(UnmanagedType.U1)]
1591 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);
1593 public static Efl.Eo.FunctionWrapper<efl_file_save_api_delegate> efl_file_save_ptr = new Efl.Eo.FunctionWrapper<efl_file_save_api_delegate>(Module, "efl_file_save");
1595 private static bool save(System.IntPtr obj, System.IntPtr pd, System.String file, System.String key, ref Efl.FileSaveInfo.NativeStruct info)
1597 Eina.Log.Debug("function efl_file_save was called");
1598 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1599 if (wrapper != null)
1601 Efl.FileSaveInfo _in_info = info;
1602 bool _ret_var = default(bool);
1605 _ret_var = ((ImageInternal)wrapper).Save(file, key, ref _in_info);
1609 Eina.Log.Warning($"Callback error: {e.ToString()}");
1610 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1619 return efl_file_save_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file, key, ref info);
1623 private static efl_file_save_delegate efl_file_save_static_delegate;
1626 private delegate Efl.Orient efl_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
1629 public delegate Efl.Orient efl_orientation_get_api_delegate(System.IntPtr obj);
1631 public static Efl.Eo.FunctionWrapper<efl_orientation_get_api_delegate> efl_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_orientation_get_api_delegate>(Module, "efl_orientation_get");
1633 private static Efl.Orient orientation_get(System.IntPtr obj, System.IntPtr pd)
1635 Eina.Log.Debug("function efl_orientation_get was called");
1636 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1637 if (wrapper != null)
1639 Efl.Orient _ret_var = default(Efl.Orient);
1642 _ret_var = ((ImageInternal)wrapper).GetOrientation();
1646 Eina.Log.Warning($"Callback error: {e.ToString()}");
1647 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1655 return efl_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1659 private static efl_orientation_get_delegate efl_orientation_get_static_delegate;
1662 private delegate void efl_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Orient dir);
1665 public delegate void efl_orientation_set_api_delegate(System.IntPtr obj, Efl.Orient dir);
1667 public static Efl.Eo.FunctionWrapper<efl_orientation_set_api_delegate> efl_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_orientation_set_api_delegate>(Module, "efl_orientation_set");
1669 private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Orient dir)
1671 Eina.Log.Debug("function efl_orientation_set was called");
1672 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1673 if (wrapper != null)
1678 ((ImageInternal)wrapper).SetOrientation(dir);
1682 Eina.Log.Warning($"Callback error: {e.ToString()}");
1683 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1690 efl_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
1694 private static efl_orientation_set_delegate efl_orientation_set_static_delegate;
1697 private delegate Efl.Flip efl_orientation_flip_get_delegate(System.IntPtr obj, System.IntPtr pd);
1700 public delegate Efl.Flip efl_orientation_flip_get_api_delegate(System.IntPtr obj);
1702 public static Efl.Eo.FunctionWrapper<efl_orientation_flip_get_api_delegate> efl_orientation_flip_get_ptr = new Efl.Eo.FunctionWrapper<efl_orientation_flip_get_api_delegate>(Module, "efl_orientation_flip_get");
1704 private static Efl.Flip flip_get(System.IntPtr obj, System.IntPtr pd)
1706 Eina.Log.Debug("function efl_orientation_flip_get was called");
1707 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1708 if (wrapper != null)
1710 Efl.Flip _ret_var = default(Efl.Flip);
1713 _ret_var = ((ImageInternal)wrapper).GetFlip();
1717 Eina.Log.Warning($"Callback error: {e.ToString()}");
1718 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1726 return efl_orientation_flip_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1730 private static efl_orientation_flip_get_delegate efl_orientation_flip_get_static_delegate;
1733 private delegate void efl_orientation_flip_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Flip flip);
1736 public delegate void efl_orientation_flip_set_api_delegate(System.IntPtr obj, Efl.Flip flip);
1738 public static Efl.Eo.FunctionWrapper<efl_orientation_flip_set_api_delegate> efl_orientation_flip_set_ptr = new Efl.Eo.FunctionWrapper<efl_orientation_flip_set_api_delegate>(Module, "efl_orientation_flip_set");
1740 private static void flip_set(System.IntPtr obj, System.IntPtr pd, Efl.Flip flip)
1742 Eina.Log.Debug("function efl_orientation_flip_set was called");
1743 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1744 if (wrapper != null)
1749 ((ImageInternal)wrapper).SetFlip(flip);
1753 Eina.Log.Warning($"Callback error: {e.ToString()}");
1754 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1761 efl_orientation_flip_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), flip);
1765 private static efl_orientation_flip_set_delegate efl_orientation_flip_set_static_delegate;
1768 private delegate void evas_filter_changed_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
1771 public delegate void evas_filter_changed_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
1773 public static Efl.Eo.FunctionWrapper<evas_filter_changed_set_api_delegate> evas_filter_changed_set_ptr = new Efl.Eo.FunctionWrapper<evas_filter_changed_set_api_delegate>(Module, "evas_filter_changed_set");
1775 private static void filter_changed_set(System.IntPtr obj, System.IntPtr pd, bool val)
1777 Eina.Log.Debug("function evas_filter_changed_set was called");
1778 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1779 if (wrapper != null)
1784 ((ImageInternal)wrapper).SetFilterChanged(val);
1788 Eina.Log.Warning($"Callback error: {e.ToString()}");
1789 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1796 evas_filter_changed_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1800 private static evas_filter_changed_set_delegate evas_filter_changed_set_static_delegate;
1803 private delegate void evas_filter_invalid_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
1806 public delegate void evas_filter_invalid_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
1808 public static Efl.Eo.FunctionWrapper<evas_filter_invalid_set_api_delegate> evas_filter_invalid_set_ptr = new Efl.Eo.FunctionWrapper<evas_filter_invalid_set_api_delegate>(Module, "evas_filter_invalid_set");
1810 private static void filter_invalid_set(System.IntPtr obj, System.IntPtr pd, bool val)
1812 Eina.Log.Debug("function evas_filter_invalid_set was called");
1813 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1814 if (wrapper != null)
1819 ((ImageInternal)wrapper).SetFilterInvalid(val);
1823 Eina.Log.Warning($"Callback error: {e.ToString()}");
1824 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1831 evas_filter_invalid_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1835 private static evas_filter_invalid_set_delegate evas_filter_invalid_set_static_delegate;
1838 private delegate System.IntPtr evas_filter_output_buffer_get_delegate(System.IntPtr obj, System.IntPtr pd);
1841 public delegate System.IntPtr evas_filter_output_buffer_get_api_delegate(System.IntPtr obj);
1843 public static Efl.Eo.FunctionWrapper<evas_filter_output_buffer_get_api_delegate> evas_filter_output_buffer_get_ptr = new Efl.Eo.FunctionWrapper<evas_filter_output_buffer_get_api_delegate>(Module, "evas_filter_output_buffer_get");
1845 private static System.IntPtr filter_output_buffer_get(System.IntPtr obj, System.IntPtr pd)
1847 Eina.Log.Debug("function evas_filter_output_buffer_get was called");
1848 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1849 if (wrapper != null)
1851 System.IntPtr _ret_var = default(System.IntPtr);
1854 _ret_var = ((ImageInternal)wrapper).GetFilterOutputBuffer();
1858 Eina.Log.Warning($"Callback error: {e.ToString()}");
1859 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1867 return evas_filter_output_buffer_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1871 private static evas_filter_output_buffer_get_delegate evas_filter_output_buffer_get_static_delegate;
1873 [return: MarshalAs(UnmanagedType.U1)]
1874 private delegate bool evas_filter_input_alpha_delegate(System.IntPtr obj, System.IntPtr pd);
1876 [return: MarshalAs(UnmanagedType.U1)]
1877 public delegate bool evas_filter_input_alpha_api_delegate(System.IntPtr obj);
1879 public static Efl.Eo.FunctionWrapper<evas_filter_input_alpha_api_delegate> evas_filter_input_alpha_ptr = new Efl.Eo.FunctionWrapper<evas_filter_input_alpha_api_delegate>(Module, "evas_filter_input_alpha");
1881 private static bool filter_input_alpha(System.IntPtr obj, System.IntPtr pd)
1883 Eina.Log.Debug("function evas_filter_input_alpha was called");
1884 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1885 if (wrapper != null)
1887 bool _ret_var = default(bool);
1890 _ret_var = ((ImageInternal)wrapper).FilterInputAlpha();
1894 Eina.Log.Warning($"Callback error: {e.ToString()}");
1895 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1903 return evas_filter_input_alpha_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1907 private static evas_filter_input_alpha_delegate evas_filter_input_alpha_static_delegate;
1910 private delegate void evas_filter_state_prepare_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Canvas.Filter.State.NativeStruct state, System.IntPtr data);
1913 public delegate void evas_filter_state_prepare_api_delegate(System.IntPtr obj, out Efl.Canvas.Filter.State.NativeStruct state, System.IntPtr data);
1915 public static Efl.Eo.FunctionWrapper<evas_filter_state_prepare_api_delegate> evas_filter_state_prepare_ptr = new Efl.Eo.FunctionWrapper<evas_filter_state_prepare_api_delegate>(Module, "evas_filter_state_prepare");
1917 private static void filter_state_prepare(System.IntPtr obj, System.IntPtr pd, out Efl.Canvas.Filter.State.NativeStruct state, System.IntPtr data)
1919 Eina.Log.Debug("function evas_filter_state_prepare was called");
1920 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1921 if (wrapper != null)
1923 Efl.Canvas.Filter.State _out_state = default(Efl.Canvas.Filter.State);
1927 ((ImageInternal)wrapper).FilterStatePrepare(out _out_state, data);
1931 Eina.Log.Warning($"Callback error: {e.ToString()}");
1932 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1940 evas_filter_state_prepare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out state, data);
1944 private static evas_filter_state_prepare_delegate evas_filter_state_prepare_static_delegate;
1946 [return: MarshalAs(UnmanagedType.U1)]
1947 private delegate bool evas_filter_input_render_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr filter, System.IntPtr engine, System.IntPtr output, System.IntPtr drawctx, System.IntPtr data, int l, int r, int t, int b, int x, int y, [MarshalAs(UnmanagedType.U1)] bool do_async);
1949 [return: MarshalAs(UnmanagedType.U1)]
1950 public delegate bool evas_filter_input_render_api_delegate(System.IntPtr obj, System.IntPtr filter, System.IntPtr engine, System.IntPtr output, System.IntPtr drawctx, System.IntPtr data, int l, int r, int t, int b, int x, int y, [MarshalAs(UnmanagedType.U1)] bool do_async);
1952 public static Efl.Eo.FunctionWrapper<evas_filter_input_render_api_delegate> evas_filter_input_render_ptr = new Efl.Eo.FunctionWrapper<evas_filter_input_render_api_delegate>(Module, "evas_filter_input_render");
1954 private static bool filter_input_render(System.IntPtr obj, System.IntPtr pd, System.IntPtr filter, System.IntPtr engine, System.IntPtr output, System.IntPtr drawctx, System.IntPtr data, int l, int r, int t, int b, int x, int y, bool do_async)
1956 Eina.Log.Debug("function evas_filter_input_render was called");
1957 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1958 if (wrapper != null)
1960 bool _ret_var = default(bool);
1963 _ret_var = ((ImageInternal)wrapper).FilterInputRender(filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
1967 Eina.Log.Warning($"Callback error: {e.ToString()}");
1968 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1976 return evas_filter_input_render_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
1980 private static evas_filter_input_render_delegate evas_filter_input_render_static_delegate;
1983 private delegate void evas_filter_dirty_delegate(System.IntPtr obj, System.IntPtr pd);
1986 public delegate void evas_filter_dirty_api_delegate(System.IntPtr obj);
1988 public static Efl.Eo.FunctionWrapper<evas_filter_dirty_api_delegate> evas_filter_dirty_ptr = new Efl.Eo.FunctionWrapper<evas_filter_dirty_api_delegate>(Module, "evas_filter_dirty");
1990 private static void filter_dirty(System.IntPtr obj, System.IntPtr pd)
1992 Eina.Log.Debug("function evas_filter_dirty was called");
1993 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1994 if (wrapper != null)
1999 ((ImageInternal)wrapper).FilterDirty();
2003 Eina.Log.Warning($"Callback error: {e.ToString()}");
2004 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2011 evas_filter_dirty_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2015 private static evas_filter_dirty_delegate evas_filter_dirty_static_delegate;
2018 private delegate Eina.Size2D.NativeStruct efl_gfx_buffer_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2021 public delegate Eina.Size2D.NativeStruct efl_gfx_buffer_size_get_api_delegate(System.IntPtr obj);
2023 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_size_get_api_delegate> efl_gfx_buffer_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_size_get_api_delegate>(Module, "efl_gfx_buffer_size_get");
2025 private static Eina.Size2D.NativeStruct buffer_size_get(System.IntPtr obj, System.IntPtr pd)
2027 Eina.Log.Debug("function efl_gfx_buffer_size_get was called");
2028 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2029 if (wrapper != null)
2031 Eina.Size2D _ret_var = default(Eina.Size2D);
2034 _ret_var = ((ImageInternal)wrapper).GetBufferSize();
2038 Eina.Log.Warning($"Callback error: {e.ToString()}");
2039 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2047 return efl_gfx_buffer_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2051 private static efl_gfx_buffer_size_get_delegate efl_gfx_buffer_size_get_static_delegate;
2054 private delegate void efl_gfx_buffer_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
2057 public delegate void efl_gfx_buffer_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
2059 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_size_set_api_delegate> efl_gfx_buffer_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_size_set_api_delegate>(Module, "efl_gfx_buffer_size_set");
2061 private static void buffer_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
2063 Eina.Log.Debug("function efl_gfx_buffer_size_set was called");
2064 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2065 if (wrapper != null)
2067 Eina.Size2D _in_sz = sz;
2071 ((ImageInternal)wrapper).SetBufferSize(_in_sz);
2075 Eina.Log.Warning($"Callback error: {e.ToString()}");
2076 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2083 efl_gfx_buffer_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
2087 private static efl_gfx_buffer_size_set_delegate efl_gfx_buffer_size_set_static_delegate;
2090 private delegate Efl.Gfx.Colorspace efl_gfx_buffer_colorspace_get_delegate(System.IntPtr obj, System.IntPtr pd);
2093 public delegate Efl.Gfx.Colorspace efl_gfx_buffer_colorspace_get_api_delegate(System.IntPtr obj);
2095 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_colorspace_get_api_delegate> efl_gfx_buffer_colorspace_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_colorspace_get_api_delegate>(Module, "efl_gfx_buffer_colorspace_get");
2097 private static Efl.Gfx.Colorspace colorspace_get(System.IntPtr obj, System.IntPtr pd)
2099 Eina.Log.Debug("function efl_gfx_buffer_colorspace_get was called");
2100 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2101 if (wrapper != null)
2103 Efl.Gfx.Colorspace _ret_var = default(Efl.Gfx.Colorspace);
2106 _ret_var = ((ImageInternal)wrapper).GetColorspace();
2110 Eina.Log.Warning($"Callback error: {e.ToString()}");
2111 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2119 return efl_gfx_buffer_colorspace_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2123 private static efl_gfx_buffer_colorspace_get_delegate efl_gfx_buffer_colorspace_get_static_delegate;
2125 [return: MarshalAs(UnmanagedType.U1)]
2126 private delegate bool efl_gfx_buffer_alpha_get_delegate(System.IntPtr obj, System.IntPtr pd);
2128 [return: MarshalAs(UnmanagedType.U1)]
2129 public delegate bool efl_gfx_buffer_alpha_get_api_delegate(System.IntPtr obj);
2131 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_alpha_get_api_delegate> efl_gfx_buffer_alpha_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_alpha_get_api_delegate>(Module, "efl_gfx_buffer_alpha_get");
2133 private static bool alpha_get(System.IntPtr obj, System.IntPtr pd)
2135 Eina.Log.Debug("function efl_gfx_buffer_alpha_get was called");
2136 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2137 if (wrapper != null)
2139 bool _ret_var = default(bool);
2142 _ret_var = ((ImageInternal)wrapper).GetAlpha();
2146 Eina.Log.Warning($"Callback error: {e.ToString()}");
2147 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2155 return efl_gfx_buffer_alpha_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2159 private static efl_gfx_buffer_alpha_get_delegate efl_gfx_buffer_alpha_get_static_delegate;
2162 private delegate void efl_gfx_buffer_alpha_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool alpha);
2165 public delegate void efl_gfx_buffer_alpha_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool alpha);
2167 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_alpha_set_api_delegate> efl_gfx_buffer_alpha_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_alpha_set_api_delegate>(Module, "efl_gfx_buffer_alpha_set");
2169 private static void alpha_set(System.IntPtr obj, System.IntPtr pd, bool alpha)
2171 Eina.Log.Debug("function efl_gfx_buffer_alpha_set was called");
2172 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2173 if (wrapper != null)
2178 ((ImageInternal)wrapper).SetAlpha(alpha);
2182 Eina.Log.Warning($"Callback error: {e.ToString()}");
2183 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2190 efl_gfx_buffer_alpha_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), alpha);
2194 private static efl_gfx_buffer_alpha_set_delegate efl_gfx_buffer_alpha_set_static_delegate;
2197 private delegate int efl_gfx_buffer_stride_get_delegate(System.IntPtr obj, System.IntPtr pd);
2200 public delegate int efl_gfx_buffer_stride_get_api_delegate(System.IntPtr obj);
2202 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_stride_get_api_delegate> efl_gfx_buffer_stride_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_stride_get_api_delegate>(Module, "efl_gfx_buffer_stride_get");
2204 private static int stride_get(System.IntPtr obj, System.IntPtr pd)
2206 Eina.Log.Debug("function efl_gfx_buffer_stride_get was called");
2207 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2208 if (wrapper != null)
2210 int _ret_var = default(int);
2213 _ret_var = ((ImageInternal)wrapper).GetStride();
2217 Eina.Log.Warning($"Callback error: {e.ToString()}");
2218 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2226 return efl_gfx_buffer_stride_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2230 private static efl_gfx_buffer_stride_get_delegate efl_gfx_buffer_stride_get_static_delegate;
2233 private delegate void efl_gfx_buffer_borders_get_delegate(System.IntPtr obj, System.IntPtr pd, out uint l, out uint r, out uint t, out uint b);
2236 public delegate void efl_gfx_buffer_borders_get_api_delegate(System.IntPtr obj, out uint l, out uint r, out uint t, out uint b);
2238 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_borders_get_api_delegate> efl_gfx_buffer_borders_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_borders_get_api_delegate>(Module, "efl_gfx_buffer_borders_get");
2240 private static void buffer_borders_get(System.IntPtr obj, System.IntPtr pd, out uint l, out uint r, out uint t, out uint b)
2242 Eina.Log.Debug("function efl_gfx_buffer_borders_get was called");
2243 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2244 if (wrapper != null)
2246 l = default(uint); r = default(uint); t = default(uint); b = default(uint);
2249 ((ImageInternal)wrapper).GetBufferBorders(out l, out r, out t, out b);
2253 Eina.Log.Warning($"Callback error: {e.ToString()}");
2254 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2261 efl_gfx_buffer_borders_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);
2265 private static efl_gfx_buffer_borders_get_delegate efl_gfx_buffer_borders_get_static_delegate;
2268 private delegate void efl_gfx_buffer_update_add_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Rect.NativeStruct region);
2271 public delegate void efl_gfx_buffer_update_add_api_delegate(System.IntPtr obj, ref Eina.Rect.NativeStruct region);
2273 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_update_add_api_delegate> efl_gfx_buffer_update_add_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_update_add_api_delegate>(Module, "efl_gfx_buffer_update_add");
2275 private static void buffer_update_add(System.IntPtr obj, System.IntPtr pd, ref Eina.Rect.NativeStruct region)
2277 Eina.Log.Debug("function efl_gfx_buffer_update_add was called");
2278 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2279 if (wrapper != null)
2281 Eina.Rect _in_region = region;
2285 ((ImageInternal)wrapper).AddBufferUpdate(ref _in_region);
2289 Eina.Log.Warning($"Callback error: {e.ToString()}");
2290 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2293 region = _in_region;
2298 efl_gfx_buffer_update_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref region);
2302 private static efl_gfx_buffer_update_add_delegate efl_gfx_buffer_update_add_static_delegate;
2305 private delegate Eina.RwSlice efl_gfx_buffer_map_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BufferAccessMode mode, ref Eina.Rect.NativeStruct region, Efl.Gfx.Colorspace cspace, int plane, out int stride);
2308 public delegate Eina.RwSlice efl_gfx_buffer_map_api_delegate(System.IntPtr obj, Efl.Gfx.BufferAccessMode mode, ref Eina.Rect.NativeStruct region, Efl.Gfx.Colorspace cspace, int plane, out int stride);
2310 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_map_api_delegate> efl_gfx_buffer_map_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_map_api_delegate>(Module, "efl_gfx_buffer_map");
2312 private static Eina.RwSlice buffer_map(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BufferAccessMode mode, ref Eina.Rect.NativeStruct region, Efl.Gfx.Colorspace cspace, int plane, out int stride)
2314 Eina.Log.Debug("function efl_gfx_buffer_map was called");
2315 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2316 if (wrapper != null)
2318 Eina.Rect _in_region = region;
2319 stride = default(int); Eina.RwSlice _ret_var = default(Eina.RwSlice);
2322 _ret_var = ((ImageInternal)wrapper).BufferMap(mode, ref _in_region, cspace, plane, out stride);
2326 Eina.Log.Warning($"Callback error: {e.ToString()}");
2327 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2330 region = _in_region;
2336 return efl_gfx_buffer_map_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), mode, ref region, cspace, plane, out stride);
2340 private static efl_gfx_buffer_map_delegate efl_gfx_buffer_map_static_delegate;
2342 [return: MarshalAs(UnmanagedType.U1)]
2343 private delegate bool efl_gfx_buffer_unmap_delegate(System.IntPtr obj, System.IntPtr pd, Eina.RwSlice slice);
2345 [return: MarshalAs(UnmanagedType.U1)]
2346 public delegate bool efl_gfx_buffer_unmap_api_delegate(System.IntPtr obj, Eina.RwSlice slice);
2348 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_unmap_api_delegate> efl_gfx_buffer_unmap_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_unmap_api_delegate>(Module, "efl_gfx_buffer_unmap");
2350 private static bool buffer_unmap(System.IntPtr obj, System.IntPtr pd, Eina.RwSlice slice)
2352 Eina.Log.Debug("function efl_gfx_buffer_unmap was called");
2353 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2354 if (wrapper != null)
2356 bool _ret_var = default(bool);
2359 _ret_var = ((ImageInternal)wrapper).BufferUnmap(slice);
2363 Eina.Log.Warning($"Callback error: {e.ToString()}");
2364 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2372 return efl_gfx_buffer_unmap_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), slice);
2376 private static efl_gfx_buffer_unmap_delegate efl_gfx_buffer_unmap_static_delegate;
2378 [return: MarshalAs(UnmanagedType.U1)]
2379 private delegate bool efl_gfx_buffer_copy_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr slice, Eina.Size2D.NativeStruct size, int stride, Efl.Gfx.Colorspace cspace, int plane);
2381 [return: MarshalAs(UnmanagedType.U1)]
2382 public delegate bool efl_gfx_buffer_copy_set_api_delegate(System.IntPtr obj, System.IntPtr slice, Eina.Size2D.NativeStruct size, int stride, Efl.Gfx.Colorspace cspace, int plane);
2384 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_copy_set_api_delegate> efl_gfx_buffer_copy_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_copy_set_api_delegate>(Module, "efl_gfx_buffer_copy_set");
2386 private static bool buffer_copy_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr slice, Eina.Size2D.NativeStruct size, int stride, Efl.Gfx.Colorspace cspace, int plane)
2388 Eina.Log.Debug("function efl_gfx_buffer_copy_set was called");
2389 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2390 if (wrapper != null)
2392 var _in_slice = Eina.PrimitiveConversion.PointerToManaged<Eina.Slice>(slice);
2393 Eina.Size2D _in_size = size;
2394 bool _ret_var = default(bool);
2397 _ret_var = ((ImageInternal)wrapper).SetBufferCopy(_in_slice, _in_size, stride, cspace, plane);
2401 Eina.Log.Warning($"Callback error: {e.ToString()}");
2402 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2410 return efl_gfx_buffer_copy_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), slice, size, stride, cspace, plane);
2414 private static efl_gfx_buffer_copy_set_delegate efl_gfx_buffer_copy_set_static_delegate;
2416 [return: MarshalAs(UnmanagedType.U1)]
2417 private delegate bool efl_gfx_buffer_managed_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr slice, Eina.Size2D.NativeStruct size, int stride, Efl.Gfx.Colorspace cspace, int plane);
2419 [return: MarshalAs(UnmanagedType.U1)]
2420 public delegate bool efl_gfx_buffer_managed_set_api_delegate(System.IntPtr obj, System.IntPtr slice, Eina.Size2D.NativeStruct size, int stride, Efl.Gfx.Colorspace cspace, int plane);
2422 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_managed_set_api_delegate> efl_gfx_buffer_managed_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_managed_set_api_delegate>(Module, "efl_gfx_buffer_managed_set");
2424 private static bool buffer_managed_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr slice, Eina.Size2D.NativeStruct size, int stride, Efl.Gfx.Colorspace cspace, int plane)
2426 Eina.Log.Debug("function efl_gfx_buffer_managed_set was called");
2427 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2428 if (wrapper != null)
2430 var _in_slice = Eina.PrimitiveConversion.PointerToManaged<Eina.Slice>(slice);
2431 Eina.Size2D _in_size = size;
2432 bool _ret_var = default(bool);
2435 _ret_var = ((ImageInternal)wrapper).SetBufferManaged(_in_slice, _in_size, stride, cspace, plane);
2439 Eina.Log.Warning($"Callback error: {e.ToString()}");
2440 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2448 return efl_gfx_buffer_managed_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), slice, size, stride, cspace, plane);
2452 private static efl_gfx_buffer_managed_set_delegate efl_gfx_buffer_managed_set_static_delegate;
2455 private delegate Eina.Slice efl_gfx_buffer_managed_get_delegate(System.IntPtr obj, System.IntPtr pd, int plane);
2458 public delegate Eina.Slice efl_gfx_buffer_managed_get_api_delegate(System.IntPtr obj, int plane);
2460 public static Efl.Eo.FunctionWrapper<efl_gfx_buffer_managed_get_api_delegate> efl_gfx_buffer_managed_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_buffer_managed_get_api_delegate>(Module, "efl_gfx_buffer_managed_get");
2462 private static Eina.Slice buffer_managed_get(System.IntPtr obj, System.IntPtr pd, int plane)
2464 Eina.Log.Debug("function efl_gfx_buffer_managed_get was called");
2465 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2466 if (wrapper != null)
2468 Eina.Slice _ret_var = default(Eina.Slice);
2471 _ret_var = ((ImageInternal)wrapper).GetBufferManaged(plane);
2475 Eina.Log.Warning($"Callback error: {e.ToString()}");
2476 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2484 return efl_gfx_buffer_managed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), plane);
2488 private static efl_gfx_buffer_managed_get_delegate efl_gfx_buffer_managed_get_static_delegate;
2490 [return: MarshalAs(UnmanagedType.U1)]
2491 private delegate bool efl_gfx_fill_auto_get_delegate(System.IntPtr obj, System.IntPtr pd);
2493 [return: MarshalAs(UnmanagedType.U1)]
2494 public delegate bool efl_gfx_fill_auto_get_api_delegate(System.IntPtr obj);
2496 public static Efl.Eo.FunctionWrapper<efl_gfx_fill_auto_get_api_delegate> efl_gfx_fill_auto_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_fill_auto_get_api_delegate>(Module, "efl_gfx_fill_auto_get");
2498 private static bool fill_auto_get(System.IntPtr obj, System.IntPtr pd)
2500 Eina.Log.Debug("function efl_gfx_fill_auto_get was called");
2501 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2502 if (wrapper != null)
2504 bool _ret_var = default(bool);
2507 _ret_var = ((ImageInternal)wrapper).GetFillAuto();
2511 Eina.Log.Warning($"Callback error: {e.ToString()}");
2512 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2520 return efl_gfx_fill_auto_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2524 private static efl_gfx_fill_auto_get_delegate efl_gfx_fill_auto_get_static_delegate;
2527 private delegate void efl_gfx_fill_auto_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool filled);
2530 public delegate void efl_gfx_fill_auto_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool filled);
2532 public static Efl.Eo.FunctionWrapper<efl_gfx_fill_auto_set_api_delegate> efl_gfx_fill_auto_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_fill_auto_set_api_delegate>(Module, "efl_gfx_fill_auto_set");
2534 private static void fill_auto_set(System.IntPtr obj, System.IntPtr pd, bool filled)
2536 Eina.Log.Debug("function efl_gfx_fill_auto_set was called");
2537 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2538 if (wrapper != null)
2543 ((ImageInternal)wrapper).SetFillAuto(filled);
2547 Eina.Log.Warning($"Callback error: {e.ToString()}");
2548 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2555 efl_gfx_fill_auto_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), filled);
2559 private static efl_gfx_fill_auto_set_delegate efl_gfx_fill_auto_set_static_delegate;
2562 private delegate Eina.Rect.NativeStruct efl_gfx_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
2565 public delegate Eina.Rect.NativeStruct efl_gfx_fill_get_api_delegate(System.IntPtr obj);
2567 public static Efl.Eo.FunctionWrapper<efl_gfx_fill_get_api_delegate> efl_gfx_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_fill_get_api_delegate>(Module, "efl_gfx_fill_get");
2569 private static Eina.Rect.NativeStruct fill_get(System.IntPtr obj, System.IntPtr pd)
2571 Eina.Log.Debug("function efl_gfx_fill_get was called");
2572 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2573 if (wrapper != null)
2575 Eina.Rect _ret_var = default(Eina.Rect);
2578 _ret_var = ((ImageInternal)wrapper).GetFill();
2582 Eina.Log.Warning($"Callback error: {e.ToString()}");
2583 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2591 return efl_gfx_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2595 private static efl_gfx_fill_get_delegate efl_gfx_fill_get_static_delegate;
2598 private delegate void efl_gfx_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct fill);
2601 public delegate void efl_gfx_fill_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct fill);
2603 public static Efl.Eo.FunctionWrapper<efl_gfx_fill_set_api_delegate> efl_gfx_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_fill_set_api_delegate>(Module, "efl_gfx_fill_set");
2605 private static void fill_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct fill)
2607 Eina.Log.Debug("function efl_gfx_fill_set was called");
2608 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2609 if (wrapper != null)
2611 Eina.Rect _in_fill = fill;
2615 ((ImageInternal)wrapper).SetFill(_in_fill);
2619 Eina.Log.Warning($"Callback error: {e.ToString()}");
2620 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2627 efl_gfx_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
2631 private static efl_gfx_fill_set_delegate efl_gfx_fill_set_static_delegate;
2634 private delegate void efl_gfx_filter_program_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String name);
2637 public delegate void efl_gfx_filter_program_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String name);
2639 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_program_get_api_delegate> efl_gfx_filter_program_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_program_get_api_delegate>(Module, "efl_gfx_filter_program_get");
2641 private static void filter_program_get(System.IntPtr obj, System.IntPtr pd, out System.String code, out System.String name)
2643 Eina.Log.Debug("function efl_gfx_filter_program_get was called");
2644 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2645 if (wrapper != null)
2647 System.String _out_code = default(System.String);
2648 System.String _out_name = default(System.String);
2652 ((ImageInternal)wrapper).GetFilterProgram(out _out_code, out _out_name);
2656 Eina.Log.Warning($"Callback error: {e.ToString()}");
2657 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2666 efl_gfx_filter_program_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out code, out name);
2670 private static efl_gfx_filter_program_get_delegate efl_gfx_filter_program_get_static_delegate;
2673 private delegate void efl_gfx_filter_program_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
2676 public delegate void efl_gfx_filter_program_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String code, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
2678 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_program_set_api_delegate> efl_gfx_filter_program_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_program_set_api_delegate>(Module, "efl_gfx_filter_program_set");
2680 private static void filter_program_set(System.IntPtr obj, System.IntPtr pd, System.String code, System.String name)
2682 Eina.Log.Debug("function efl_gfx_filter_program_set was called");
2683 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2684 if (wrapper != null)
2689 ((ImageInternal)wrapper).SetFilterProgram(code, name);
2693 Eina.Log.Warning($"Callback error: {e.ToString()}");
2694 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2701 efl_gfx_filter_program_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), code, name);
2705 private static efl_gfx_filter_program_set_delegate efl_gfx_filter_program_set_static_delegate;
2708 private delegate void efl_gfx_filter_state_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String cur_state, out double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String next_state, out double next_val, out double pos);
2711 public delegate void efl_gfx_filter_state_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String cur_state, out double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String next_state, out double next_val, out double pos);
2713 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_state_get_api_delegate> efl_gfx_filter_state_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_state_get_api_delegate>(Module, "efl_gfx_filter_state_get");
2715 private static void filter_state_get(System.IntPtr obj, System.IntPtr pd, out System.String cur_state, out double cur_val, out System.String next_state, out double next_val, out double pos)
2717 Eina.Log.Debug("function efl_gfx_filter_state_get was called");
2718 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2719 if (wrapper != null)
2721 System.String _out_cur_state = default(System.String);
2722 cur_val = default(double); System.String _out_next_state = default(System.String);
2723 next_val = default(double); pos = default(double);
2726 ((ImageInternal)wrapper).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos);
2730 Eina.Log.Warning($"Callback error: {e.ToString()}");
2731 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2734 cur_state = _out_cur_state;
2735 next_state = _out_next_state;
2740 efl_gfx_filter_state_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out cur_state, out cur_val, out next_state, out next_val, out pos);
2744 private static efl_gfx_filter_state_get_delegate efl_gfx_filter_state_get_static_delegate;
2747 private delegate void efl_gfx_filter_state_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String cur_state, double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String next_state, double next_val, double pos);
2750 public delegate void efl_gfx_filter_state_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String cur_state, double cur_val, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String next_state, double next_val, double pos);
2752 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_state_set_api_delegate> efl_gfx_filter_state_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_state_set_api_delegate>(Module, "efl_gfx_filter_state_set");
2754 private static void filter_state_set(System.IntPtr obj, System.IntPtr pd, System.String cur_state, double cur_val, System.String next_state, double next_val, double pos)
2756 Eina.Log.Debug("function efl_gfx_filter_state_set was called");
2757 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2758 if (wrapper != null)
2763 ((ImageInternal)wrapper).SetFilterState(cur_state, cur_val, next_state, next_val, pos);
2767 Eina.Log.Warning($"Callback error: {e.ToString()}");
2768 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2775 efl_gfx_filter_state_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur_state, cur_val, next_state, next_val, pos);
2779 private static efl_gfx_filter_state_set_delegate efl_gfx_filter_state_set_static_delegate;
2782 private delegate void efl_gfx_filter_padding_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
2785 public delegate void efl_gfx_filter_padding_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
2787 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_padding_get_api_delegate> efl_gfx_filter_padding_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_padding_get_api_delegate>(Module, "efl_gfx_filter_padding_get");
2789 private static void filter_padding_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
2791 Eina.Log.Debug("function efl_gfx_filter_padding_get was called");
2792 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2793 if (wrapper != null)
2795 l = default(int); r = default(int); t = default(int); b = default(int);
2798 ((ImageInternal)wrapper).GetFilterPadding(out l, out r, out t, out b);
2802 Eina.Log.Warning($"Callback error: {e.ToString()}");
2803 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2810 efl_gfx_filter_padding_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out l, out r, out t, out b);
2814 private static efl_gfx_filter_padding_get_delegate efl_gfx_filter_padding_get_static_delegate;
2816 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
2817 private delegate Efl.Gfx.IEntity efl_gfx_filter_source_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
2819 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
2820 public delegate Efl.Gfx.IEntity efl_gfx_filter_source_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name);
2822 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_source_get_api_delegate> efl_gfx_filter_source_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_source_get_api_delegate>(Module, "efl_gfx_filter_source_get");
2824 private static Efl.Gfx.IEntity filter_source_get(System.IntPtr obj, System.IntPtr pd, System.String name)
2826 Eina.Log.Debug("function efl_gfx_filter_source_get was called");
2827 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2828 if (wrapper != null)
2830 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
2833 _ret_var = ((ImageInternal)wrapper).GetFilterSource(name);
2837 Eina.Log.Warning($"Callback error: {e.ToString()}");
2838 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2846 return efl_gfx_filter_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
2850 private static efl_gfx_filter_source_get_delegate efl_gfx_filter_source_get_static_delegate;
2853 private delegate void efl_gfx_filter_source_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
2856 public delegate void efl_gfx_filter_source_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity source);
2858 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_source_set_api_delegate> efl_gfx_filter_source_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_source_set_api_delegate>(Module, "efl_gfx_filter_source_set");
2860 private static void filter_source_set(System.IntPtr obj, System.IntPtr pd, System.String name, Efl.Gfx.IEntity source)
2862 Eina.Log.Debug("function efl_gfx_filter_source_set was called");
2863 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2864 if (wrapper != null)
2869 ((ImageInternal)wrapper).SetFilterSource(name, source);
2873 Eina.Log.Warning($"Callback error: {e.ToString()}");
2874 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2881 efl_gfx_filter_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, source);
2885 private static efl_gfx_filter_source_set_delegate efl_gfx_filter_source_set_static_delegate;
2888 private delegate void efl_gfx_filter_data_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String value, [MarshalAs(UnmanagedType.U1)] out bool execute);
2891 public delegate void efl_gfx_filter_data_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String value, [MarshalAs(UnmanagedType.U1)] out bool execute);
2893 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_data_get_api_delegate> efl_gfx_filter_data_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_data_get_api_delegate>(Module, "efl_gfx_filter_data_get");
2895 private static void filter_data_get(System.IntPtr obj, System.IntPtr pd, System.String name, out System.String value, out bool execute)
2897 Eina.Log.Debug("function efl_gfx_filter_data_get was called");
2898 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2899 if (wrapper != null)
2901 System.String _out_value = default(System.String);
2902 execute = default(bool);
2905 ((ImageInternal)wrapper).GetFilterData(name, out _out_value, out execute);
2909 Eina.Log.Warning($"Callback error: {e.ToString()}");
2910 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2918 efl_gfx_filter_data_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, out value, out execute);
2922 private static efl_gfx_filter_data_get_delegate efl_gfx_filter_data_get_static_delegate;
2925 private delegate void efl_gfx_filter_data_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value, [MarshalAs(UnmanagedType.U1)] bool execute);
2928 public delegate void efl_gfx_filter_data_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String name, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String value, [MarshalAs(UnmanagedType.U1)] bool execute);
2930 public static Efl.Eo.FunctionWrapper<efl_gfx_filter_data_set_api_delegate> efl_gfx_filter_data_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_filter_data_set_api_delegate>(Module, "efl_gfx_filter_data_set");
2932 private static void filter_data_set(System.IntPtr obj, System.IntPtr pd, System.String name, System.String value, bool execute)
2934 Eina.Log.Debug("function efl_gfx_filter_data_set was called");
2935 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2936 if (wrapper != null)
2941 ((ImageInternal)wrapper).SetFilterData(name, value, execute);
2945 Eina.Log.Warning($"Callback error: {e.ToString()}");
2946 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2953 efl_gfx_filter_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, value, execute);
2957 private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;
2959 [return: MarshalAs(UnmanagedType.U1)]
2960 private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
2962 [return: MarshalAs(UnmanagedType.U1)]
2963 public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
2965 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");
2967 private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
2969 Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
2970 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
2971 if (wrapper != null)
2973 bool _ret_var = default(bool);
2976 _ret_var = ((ImageInternal)wrapper).GetSmoothScale();
2980 Eina.Log.Warning($"Callback error: {e.ToString()}");
2981 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2989 return efl_gfx_image_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2993 private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
2996 private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
2999 public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
3001 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");
3003 private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
3005 Eina.Log.Debug("function efl_gfx_image_smooth_scale_set was called");
3006 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3007 if (wrapper != null)
3012 ((ImageInternal)wrapper).SetSmoothScale(smooth_scale);
3016 Eina.Log.Warning($"Callback error: {e.ToString()}");
3017 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3024 efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
3028 private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_static_delegate;
3031 private delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
3034 public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
3036 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");
3038 private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
3040 Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
3041 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3042 if (wrapper != null)
3044 Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
3047 _ret_var = ((ImageInternal)wrapper).GetScaleType();
3051 Eina.Log.Warning($"Callback error: {e.ToString()}");
3052 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3060 return efl_gfx_image_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3064 private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
3067 private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
3070 public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
3072 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");
3074 private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
3076 Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
3077 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3078 if (wrapper != null)
3083 ((ImageInternal)wrapper).SetScaleType(scale_type);
3087 Eina.Log.Warning($"Callback error: {e.ToString()}");
3088 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3095 efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
3099 private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
3102 private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
3105 public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
3107 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");
3109 private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
3111 Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
3112 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3113 if (wrapper != null)
3115 double _ret_var = default(double);
3118 _ret_var = ((ImageInternal)wrapper).GetRatio();
3122 Eina.Log.Warning($"Callback error: {e.ToString()}");
3123 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3131 return efl_gfx_image_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3135 private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
3138 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);
3141 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);
3143 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");
3145 private static void border_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
3147 Eina.Log.Debug("function efl_gfx_image_border_get was called");
3148 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3149 if (wrapper != null)
3151 l = default(int); r = default(int); t = default(int); b = default(int);
3154 ((ImageInternal)wrapper).GetBorder(out l, out r, out t, out b);
3158 Eina.Log.Warning($"Callback error: {e.ToString()}");
3159 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3166 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);
3170 private static efl_gfx_image_border_get_delegate efl_gfx_image_border_get_static_delegate;
3173 private delegate void efl_gfx_image_border_set_delegate(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b);
3176 public delegate void efl_gfx_image_border_set_api_delegate(System.IntPtr obj, int l, int r, int t, int b);
3178 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");
3180 private static void border_set(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b)
3182 Eina.Log.Debug("function efl_gfx_image_border_set was called");
3183 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3184 if (wrapper != null)
3189 ((ImageInternal)wrapper).SetBorder(l, r, t, b);
3193 Eina.Log.Warning($"Callback error: {e.ToString()}");
3194 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3201 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);
3205 private static efl_gfx_image_border_set_delegate efl_gfx_image_border_set_static_delegate;
3208 private delegate double efl_gfx_image_border_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
3211 public delegate double efl_gfx_image_border_scale_get_api_delegate(System.IntPtr obj);
3213 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");
3215 private static double border_scale_get(System.IntPtr obj, System.IntPtr pd)
3217 Eina.Log.Debug("function efl_gfx_image_border_scale_get was called");
3218 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3219 if (wrapper != null)
3221 double _ret_var = default(double);
3224 _ret_var = ((ImageInternal)wrapper).GetBorderScale();
3228 Eina.Log.Warning($"Callback error: {e.ToString()}");
3229 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3237 return efl_gfx_image_border_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3241 private static efl_gfx_image_border_scale_get_delegate efl_gfx_image_border_scale_get_static_delegate;
3244 private delegate void efl_gfx_image_border_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double scale);
3247 public delegate void efl_gfx_image_border_scale_set_api_delegate(System.IntPtr obj, double scale);
3249 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");
3251 private static void border_scale_set(System.IntPtr obj, System.IntPtr pd, double scale)
3253 Eina.Log.Debug("function efl_gfx_image_border_scale_set was called");
3254 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3255 if (wrapper != null)
3260 ((ImageInternal)wrapper).SetBorderScale(scale);
3264 Eina.Log.Warning($"Callback error: {e.ToString()}");
3265 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3272 efl_gfx_image_border_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale);
3276 private static efl_gfx_image_border_scale_set_delegate efl_gfx_image_border_scale_set_static_delegate;
3279 private delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
3282 public delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_api_delegate(System.IntPtr obj);
3284 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");
3286 private static Efl.Gfx.BorderFillMode border_center_fill_get(System.IntPtr obj, System.IntPtr pd)
3288 Eina.Log.Debug("function efl_gfx_image_border_center_fill_get was called");
3289 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3290 if (wrapper != null)
3292 Efl.Gfx.BorderFillMode _ret_var = default(Efl.Gfx.BorderFillMode);
3295 _ret_var = ((ImageInternal)wrapper).GetBorderCenterFill();
3299 Eina.Log.Warning($"Callback error: {e.ToString()}");
3300 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3308 return efl_gfx_image_border_center_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3312 private static efl_gfx_image_border_center_fill_get_delegate efl_gfx_image_border_center_fill_get_static_delegate;
3315 private delegate void efl_gfx_image_border_center_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill);
3318 public delegate void efl_gfx_image_border_center_fill_set_api_delegate(System.IntPtr obj, Efl.Gfx.BorderFillMode fill);
3320 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");
3322 private static void border_center_fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill)
3324 Eina.Log.Debug("function efl_gfx_image_border_center_fill_set was called");
3325 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3326 if (wrapper != null)
3331 ((ImageInternal)wrapper).SetBorderCenterFill(fill);
3335 Eina.Log.Warning($"Callback error: {e.ToString()}");
3336 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3343 efl_gfx_image_border_center_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
3347 private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
3350 private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
3353 public delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_api_delegate(System.IntPtr obj);
3355 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");
3357 private static Eina.Size2D.NativeStruct image_size_get(System.IntPtr obj, System.IntPtr pd)
3359 Eina.Log.Debug("function efl_gfx_image_size_get was called");
3360 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3361 if (wrapper != null)
3363 Eina.Size2D _ret_var = default(Eina.Size2D);
3366 _ret_var = ((ImageInternal)wrapper).GetImageSize();
3370 Eina.Log.Warning($"Callback error: {e.ToString()}");
3371 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3379 return efl_gfx_image_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3383 private static efl_gfx_image_size_get_delegate efl_gfx_image_size_get_static_delegate;
3386 private delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
3389 public delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_api_delegate(System.IntPtr obj);
3391 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");
3393 private static Efl.Gfx.ImageContentHint content_hint_get(System.IntPtr obj, System.IntPtr pd)
3395 Eina.Log.Debug("function efl_gfx_image_content_hint_get was called");
3396 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3397 if (wrapper != null)
3399 Efl.Gfx.ImageContentHint _ret_var = default(Efl.Gfx.ImageContentHint);
3402 _ret_var = ((ImageInternal)wrapper).GetContentHint();
3406 Eina.Log.Warning($"Callback error: {e.ToString()}");
3407 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3415 return efl_gfx_image_content_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3419 private static efl_gfx_image_content_hint_get_delegate efl_gfx_image_content_hint_get_static_delegate;
3422 private delegate void efl_gfx_image_content_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint);
3425 public delegate void efl_gfx_image_content_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageContentHint hint);
3427 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");
3429 private static void content_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint)
3431 Eina.Log.Debug("function efl_gfx_image_content_hint_set was called");
3432 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3433 if (wrapper != null)
3438 ((ImageInternal)wrapper).SetContentHint(hint);
3442 Eina.Log.Warning($"Callback error: {e.ToString()}");
3443 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3450 efl_gfx_image_content_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
3454 private static efl_gfx_image_content_hint_set_delegate efl_gfx_image_content_hint_set_static_delegate;
3457 private delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
3460 public delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_api_delegate(System.IntPtr obj);
3462 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");
3464 private static Efl.Gfx.ImageScaleHint scale_hint_get(System.IntPtr obj, System.IntPtr pd)
3466 Eina.Log.Debug("function efl_gfx_image_scale_hint_get was called");
3467 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3468 if (wrapper != null)
3470 Efl.Gfx.ImageScaleHint _ret_var = default(Efl.Gfx.ImageScaleHint);
3473 _ret_var = ((ImageInternal)wrapper).GetScaleHint();
3477 Eina.Log.Warning($"Callback error: {e.ToString()}");
3478 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3486 return efl_gfx_image_scale_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3490 private static efl_gfx_image_scale_hint_get_delegate efl_gfx_image_scale_hint_get_static_delegate;
3493 private delegate void efl_gfx_image_scale_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint);
3496 public delegate void efl_gfx_image_scale_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleHint hint);
3498 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");
3500 private static void scale_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint)
3502 Eina.Log.Debug("function efl_gfx_image_scale_hint_set was called");
3503 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3504 if (wrapper != null)
3509 ((ImageInternal)wrapper).SetScaleHint(hint);
3513 Eina.Log.Warning($"Callback error: {e.ToString()}");
3514 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3521 efl_gfx_image_scale_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
3525 private static efl_gfx_image_scale_hint_set_delegate efl_gfx_image_scale_hint_set_static_delegate;
3528 private delegate Eina.Error efl_gfx_image_load_error_get_delegate(System.IntPtr obj, System.IntPtr pd);
3531 public delegate Eina.Error efl_gfx_image_load_error_get_api_delegate(System.IntPtr obj);
3533 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");
3535 private static Eina.Error image_load_error_get(System.IntPtr obj, System.IntPtr pd)
3537 Eina.Log.Debug("function efl_gfx_image_load_error_get was called");
3538 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3539 if (wrapper != null)
3541 Eina.Error _ret_var = default(Eina.Error);
3544 _ret_var = ((ImageInternal)wrapper).GetImageLoadError();
3548 Eina.Log.Warning($"Callback error: {e.ToString()}");
3549 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3557 return efl_gfx_image_load_error_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3561 private static efl_gfx_image_load_error_get_delegate efl_gfx_image_load_error_get_static_delegate;
3564 private delegate Eina.Size2D.NativeStruct efl_gfx_view_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
3567 public delegate Eina.Size2D.NativeStruct efl_gfx_view_size_get_api_delegate(System.IntPtr obj);
3569 public static Efl.Eo.FunctionWrapper<efl_gfx_view_size_get_api_delegate> efl_gfx_view_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_view_size_get_api_delegate>(Module, "efl_gfx_view_size_get");
3571 private static Eina.Size2D.NativeStruct view_size_get(System.IntPtr obj, System.IntPtr pd)
3573 Eina.Log.Debug("function efl_gfx_view_size_get was called");
3574 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3575 if (wrapper != null)
3577 Eina.Size2D _ret_var = default(Eina.Size2D);
3580 _ret_var = ((ImageInternal)wrapper).GetViewSize();
3584 Eina.Log.Warning($"Callback error: {e.ToString()}");
3585 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3593 return efl_gfx_view_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3597 private static efl_gfx_view_size_get_delegate efl_gfx_view_size_get_static_delegate;
3600 private delegate void efl_gfx_view_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
3603 public delegate void efl_gfx_view_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
3605 public static Efl.Eo.FunctionWrapper<efl_gfx_view_size_set_api_delegate> efl_gfx_view_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_view_size_set_api_delegate>(Module, "efl_gfx_view_size_set");
3607 private static void view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
3609 Eina.Log.Debug("function efl_gfx_view_size_set was called");
3610 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
3611 if (wrapper != null)
3613 Eina.Size2D _in_size = size;
3617 ((ImageInternal)wrapper).SetViewSize(_in_size);
3621 Eina.Log.Warning($"Callback error: {e.ToString()}");
3622 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3629 efl_gfx_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
3633 private static efl_gfx_view_size_set_delegate efl_gfx_view_size_set_static_delegate;
3635 #pragma warning restore CA1707, SA1300, SA1600