2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Efl canvas internal image class</summary>
14 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
15 [Efl.Canvas.ImageInternal.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canvas.Filter.IInternal, Efl.Gfx.IBuffer, Efl.Gfx.IFill, Efl.Gfx.IFilter, Efl.Gfx.IImage, Efl.Gfx.IImageOrientable, Efl.Gfx.IView
19 /// <summary>Pointer to the native class description.</summary>
20 public override System.IntPtr NativeClass
24 if (((object)this).GetType() == typeof(ImageInternal))
26 return GetEflClassStatic();
30 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
35 [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
36 efl_canvas_image_internal_class_get();
37 /// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.</summary>
38 /// <param name="parent">Parent instance.</param>
39 public ImageInternal(Efl.Object parent= null
40 ) : base(efl_canvas_image_internal_class_get(), parent)
42 FinishInstantiation();
45 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
46 /// Do not call this constructor directly.</summary>
47 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
48 protected ImageInternal(ConstructingHandle ch) : base(ch)
52 /// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.
53 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
54 /// <param name="wh">The native pointer to be wrapped.</param>
55 protected ImageInternal(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
59 [Efl.Eo.PrivateNativeClass]
60 private class ImageInternalRealized : ImageInternal
62 private ImageInternalRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
66 /// <summary>Initializes a new instance of the <see cref="ImageInternal"/> class.
67 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
68 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
69 /// <param name="parent">The Efl.Object parent of this instance.</param>
70 protected ImageInternal(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
74 /// <summary>Image data has been preloaded.</summary>
75 public event EventHandler ImagePreloadEvt
79 lock (eflBindingEventLock)
81 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
83 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
86 EventArgs args = EventArgs.Empty;
89 value?.Invoke(obj, args);
93 Eina.Log.Error(e.ToString());
94 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
99 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
100 AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
106 lock (eflBindingEventLock)
108 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
109 RemoveNativeEventHandler(efl.Libs.Evas, key, value);
113 /// <summary>Method to raise event ImagePreloadEvt.</summary>
114 public void OnImagePreloadEvt(EventArgs e)
116 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
117 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key);
118 if (desc == IntPtr.Zero)
120 Eina.Log.Error($"Failed to get native event {key}");
124 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
126 /// <summary>Image was resized (its pixel data).</summary>
127 public event EventHandler ImageResizeEvt
131 lock (eflBindingEventLock)
133 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
135 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
138 EventArgs args = EventArgs.Empty;
141 value?.Invoke(obj, args);
145 Eina.Log.Error(e.ToString());
146 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
151 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
152 AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
158 lock (eflBindingEventLock)
160 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
161 RemoveNativeEventHandler(efl.Libs.Evas, key, value);
165 /// <summary>Method to raise event ImageResizeEvt.</summary>
166 public void OnImageResizeEvt(EventArgs e)
168 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
169 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key);
170 if (desc == IntPtr.Zero)
172 Eina.Log.Error($"Failed to get native event {key}");
176 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
178 /// <summary>Image data has been unloaded (by some mechanism in EFL that threw out the original image data).</summary>
179 public event EventHandler ImageUnloadEvt
183 lock (eflBindingEventLock)
185 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
187 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
190 EventArgs args = EventArgs.Empty;
193 value?.Invoke(obj, args);
197 Eina.Log.Error(e.ToString());
198 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
203 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
204 AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value);
210 lock (eflBindingEventLock)
212 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
213 RemoveNativeEventHandler(efl.Libs.Evas, key, value);
217 /// <summary>Method to raise event ImageUnloadEvt.</summary>
218 public void OnImageUnloadEvt(EventArgs e)
220 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
221 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key);
222 if (desc == IntPtr.Zero)
224 Eina.Log.Error($"Failed to get native event {key}");
228 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
230 /// <summary>Save the given image object's contents to an (image) file.
231 /// 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.
233 /// 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".
234 /// (Since EFL 1.22)</summary>
235 /// <param name="file">The filename to be used to save the image (extension obligatory).</param>
236 /// <param name="key">The image key in the file (if an Eet one), or <c>null</c>, otherwise.</param>
237 /// <param name="info">The flags to be used (<c>null</c> for defaults).</param>
238 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
239 virtual public bool Save(System.String file, System.String key, ref Efl.FileSaveInfo info) {
240 Efl.FileSaveInfo.NativeStruct _in_info = info;
241 var _ret_var = Efl.IFileSaveConcrete.NativeMethods.efl_file_save_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file, key, ref _in_info);
242 Eina.Error.RaiseIfUnhandledException();
246 /// <summary>Marks this filter as changed.</summary>
247 /// <param name="val"><c>true</c> if filter changed, <c>false</c> otherwise</param>
248 virtual public void SetFilterChanged(bool val) {
249 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_changed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
250 Eina.Error.RaiseIfUnhandledException();
252 /// <summary>Marks this filter as invalid.</summary>
253 /// <param name="val"><c>true</c> if filter is invalid, <c>false</c> otherwise</param>
254 virtual public void SetFilterInvalid(bool val) {
255 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_invalid_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),val);
256 Eina.Error.RaiseIfUnhandledException();
258 /// <summary>Retrieve cached output buffer, if any.
259 /// Does not increment the reference count.</summary>
260 /// <returns>Output buffer</returns>
261 virtual public System.IntPtr GetFilterOutputBuffer() {
262 var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_output_buffer_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
263 Eina.Error.RaiseIfUnhandledException();
266 /// <summary>Called by Efl.Canvas.Filter.Internal to determine whether the input is alpha or rgba.</summary>
267 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
268 virtual public bool FilterInputAlpha() {
269 var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_alpha_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
270 Eina.Error.RaiseIfUnhandledException();
273 /// <summary>Called by Efl.Canvas.Filter.Internal to request the parent class for state information (color, etc...).</summary>
274 /// <param name="state">State info to fill in</param>
275 /// <param name="data">Private data for the class</param>
276 virtual public void FilterStatePrepare(out Efl.Canvas.Filter.State state, System.IntPtr data) {
277 var _out_state = new Efl.Canvas.Filter.State.NativeStruct();
278 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_state_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_state, data);
279 Eina.Error.RaiseIfUnhandledException();
282 /// <summary>Called by Efl.Canvas.Filter.Internal when the parent class must render the input.</summary>
283 /// <param name="filter">Current filter context</param>
284 /// <param name="engine">Engine context</param>
285 /// <param name="output">Output context</param>
286 /// <param name="drawctx">Draw context (for evas engine)</param>
287 /// <param name="data">Private data used by textblock</param>
288 /// <param name="l">Left</param>
289 /// <param name="r">Right</param>
290 /// <param name="t">Top</param>
291 /// <param name="b">Bottom</param>
292 /// <param name="x">X offset</param>
293 /// <param name="y">Y offset</param>
294 /// <param name="do_async"><c>true</c> when the operation should be done asynchronously, <c>false</c> otherwise</param>
295 /// <returns>Indicates success from the object render function.</returns>
296 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) {
297 var _ret_var = Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_input_render_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
298 Eina.Error.RaiseIfUnhandledException();
301 /// <summary>Called when filter changes must trigger a redraw of the object.
302 /// Virtual, to be implemented in the parent class.</summary>
303 virtual public void FilterDirty() {
304 Efl.Canvas.Filter.IInternalConcrete.NativeMethods.evas_filter_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
305 Eina.Error.RaiseIfUnhandledException();
307 /// <summary>Rectangular size of the pixel buffer as allocated in memory.</summary>
308 /// <returns>Size of the buffer in pixels.</returns>
309 virtual public Eina.Size2D GetBufferSize() {
310 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
311 Eina.Error.RaiseIfUnhandledException();
314 /// <summary>Potentially not implemented, <see cref="Efl.Gfx.IBuffer.BufferSize"/> may be read-only.</summary>
315 /// <param name="sz">Size of the buffer in pixels.</param>
316 virtual public void SetBufferSize(Eina.Size2D sz) {
317 Eina.Size2D.NativeStruct _in_sz = sz;
318 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_sz);
319 Eina.Error.RaiseIfUnhandledException();
321 /// <summary>Returns the current encoding of this buffer's pixels.
322 /// See <see cref="Efl.Gfx.Colorspace"/> for more information on the supported formats.</summary>
323 /// <returns>Colorspace</returns>
324 virtual public Efl.Gfx.Colorspace GetColorspace() {
325 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_colorspace_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
326 Eina.Error.RaiseIfUnhandledException();
329 /// <summary>Retrieve whether alpha channel data is used on this object.</summary>
330 /// <returns>Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</returns>
331 virtual public bool GetAlpha() {
332 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
333 Eina.Error.RaiseIfUnhandledException();
336 /// <summary>Change alpha channel usage for this object.
337 /// 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>
338 /// <param name="alpha">Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</param>
339 virtual public void SetAlpha(bool alpha) {
340 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_alpha_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),alpha);
341 Eina.Error.RaiseIfUnhandledException();
343 /// <summary>Length in bytes of one row of pixels in memory.
344 /// Usually this will be equal to width * 4, with a plain BGRA image. This may return 0 if the stride is not applicable.
346 /// When applicable, this will include the <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/> as well as potential extra padding.</summary>
347 /// <returns>Stride</returns>
348 virtual public int GetStride() {
349 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_stride_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
350 Eina.Error.RaiseIfUnhandledException();
353 /// <summary>Duplicated pixel borders inside this buffer.
354 /// 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>
355 /// <param name="l">Left border pixels, usually 0 or 1</param>
356 /// <param name="r">Right border pixels, usually 0 or 1</param>
357 /// <param name="t">Top border pixels, usually 0 or 1</param>
358 /// <param name="b">Bottom border pixels, usually 0 or 1</param>
359 virtual public void GetBufferBorders(out uint l, out uint r, out uint t, out uint b) {
360 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_borders_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
361 Eina.Error.RaiseIfUnhandledException();
363 /// <summary>Mark a sub-region of the given image object to be redrawn.
364 /// This function schedules a particular rectangular region of an image object to be updated (redrawn) at the next rendering cycle.</summary>
365 /// <param name="region">The updated region.</param>
366 virtual public void AddBufferUpdate(ref Eina.Rect region) {
367 Eina.Rect.NativeStruct _in_region = region;
368 Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_update_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),ref _in_region);
369 Eina.Error.RaiseIfUnhandledException();
372 /// <summary>Map a region of this buffer for read or write access by the CPU.
373 /// 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.
375 /// Note that if the buffer has <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/>, then <c>x</c> and <c>y</c> may be negative.</summary>
376 /// <param name="mode">Specifies whether to map for read-only, write-only or read-write access (OR combination of flags).</param>
377 /// <param name="region">The region to map.</param>
378 /// <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>
379 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
380 /// <param name="stride">Returns the length in bytes of a mapped line</param>
381 /// <returns>The data slice. In case of failure, the memory pointer will be <c>null</c>.</returns>
382 virtual public Eina.RwSlice BufferMap(Efl.Gfx.BufferAccessMode mode, ref Eina.Rect region, Efl.Gfx.Colorspace cspace, int plane, out int stride) {
383 Eina.Rect.NativeStruct _in_region = region;
384 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_map_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),mode, ref _in_region, cspace, plane, out stride);
385 Eina.Error.RaiseIfUnhandledException();
389 /// <summary>Unmap a region of this buffer, and update the internal data if needed.
390 /// EFL will update the internal image if the map had write access.
392 /// 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>
393 /// <param name="slice">Data slice returned by a previous call to map.</param>
394 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
395 virtual public bool BufferUnmap(Eina.RwSlice slice) {
396 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_unmap_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),slice);
397 Eina.Error.RaiseIfUnhandledException();
400 /// <summary>Set the pixels for this buffer by copying them, or allocate a new memory region.
401 /// 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.
403 /// 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"/>.
405 /// 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>.
407 /// <c>slice</c> should not be the return value of <see cref="Efl.Gfx.IBuffer.GetBufferManaged"/>.</summary>
408 /// <param name="slice">If <c>null</c>, allocates an empty buffer</param>
409 /// <param name="size">The size in pixels.</param>
410 /// <param name="stride">If 0, automatically guessed from the <c>width</c>.</param>
411 /// <param name="cspace">argb8888 by default.</param>
412 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
413 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
414 virtual public bool SetBufferCopy(Eina.Slice slice, Eina.Size2D size, int stride, Efl.Gfx.Colorspace cspace, int plane) {
415 var _in_slice = Eina.PrimitiveConversion.ManagedToPointerAlloc(slice);
416 Eina.Size2D.NativeStruct _in_size = size;
417 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_copy_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_slice, _in_size, stride, cspace, plane);
418 Eina.Error.RaiseIfUnhandledException();
421 /// <summary>Set the pixels for this buffer, managed externally by the client.
422 /// 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.
424 /// 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"/>.
426 /// 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>.
428 /// See also <see cref="Efl.Gfx.IBuffer.SetBufferCopy"/> if you want EFL to copy the input buffer internally.</summary>
429 /// <param name="slice">If <c>null</c>, detaches the previous buffer.</param>
430 /// <param name="size">The size in pixels.</param>
431 /// <param name="stride">If 0, automatically guessed from the <c>width</c>.</param>
432 /// <param name="cspace">argb8888 by default.</param>
433 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
434 /// <returns><c>true</c> on success, <c>false</c> otherwise</returns>
435 virtual public bool SetBufferManaged(Eina.Slice slice, Eina.Size2D size, int stride, Efl.Gfx.Colorspace cspace, int plane) {
436 var _in_slice = Eina.PrimitiveConversion.ManagedToPointerAlloc(slice);
437 Eina.Size2D.NativeStruct _in_size = size;
438 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_slice, _in_size, stride, cspace, plane);
439 Eina.Error.RaiseIfUnhandledException();
442 /// <summary>Get a direct pointer to the internal pixel data, if available.
443 /// This will return <c>null</c> unless <see cref="Efl.Gfx.IBuffer.SetBufferManaged"/> was used to pass in an external data pointer.</summary>
444 /// <param name="plane">Plane ID. 0 by default. Useful for planar formats only.</param>
445 /// <returns>The data slice. The memory pointer will be <c>null</c> in case of failure.</returns>
446 virtual public Eina.Slice GetBufferManaged(int plane) {
447 var _ret_var = Efl.Gfx.IBufferConcrete.NativeMethods.efl_gfx_buffer_managed_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),plane);
448 Eina.Error.RaiseIfUnhandledException();
451 /// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
452 /// 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.
454 /// 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.
456 /// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
457 /// <returns><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</returns>
458 virtual public bool GetFillAuto() {
459 var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
460 Eina.Error.RaiseIfUnhandledException();
463 /// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
464 /// 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.
466 /// 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.
468 /// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
469 /// <param name="filled"><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</param>
470 virtual public void SetFillAuto(bool filled) {
471 Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_auto_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),filled);
472 Eina.Error.RaiseIfUnhandledException();
474 /// <summary>Specifies how to tile an image to fill its rectangle geometry.
475 /// 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.
477 /// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
478 /// <returns>The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</returns>
479 virtual public Eina.Rect GetFill() {
480 var _ret_var = Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
481 Eina.Error.RaiseIfUnhandledException();
484 /// <summary>Specifies how to tile an image to fill its rectangle geometry.
485 /// 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.
487 /// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
488 /// <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>
489 virtual public void SetFill(Eina.Rect fill) {
490 Eina.Rect.NativeStruct _in_fill = fill;
491 Efl.Gfx.IFillConcrete.NativeMethods.efl_gfx_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_fill);
492 Eina.Error.RaiseIfUnhandledException();
494 /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
495 /// <param name="code">The Lua program source code.</param>
496 /// <param name="name">An optional name for this filter.</param>
497 virtual public void GetFilterProgram(out System.String code, out System.String name) {
498 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out code, out name);
499 Eina.Error.RaiseIfUnhandledException();
501 /// <summary>Set a graphical filter program on this object.
502 /// Valid for Text and Image objects at the moment.
504 /// 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.
506 /// Set to <c>null</c> to disable filtering.</summary>
507 /// <param name="code">The Lua program source code.</param>
508 /// <param name="name">An optional name for this filter.</param>
509 virtual public void SetFilterProgram(System.String code, System.String name) {
510 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_program_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),code, name);
511 Eina.Error.RaiseIfUnhandledException();
513 /// <summary>Set the current state of the filter.
514 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
516 /// 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>
517 /// <param name="cur_state">Current state of the filter</param>
518 /// <param name="cur_val">Current value</param>
519 /// <param name="next_state">Next filter state, optional</param>
520 /// <param name="next_val">Next value, optional</param>
521 /// <param name="pos">Position, optional</param>
522 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) {
523 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out cur_state, out cur_val, out next_state, out next_val, out pos);
524 Eina.Error.RaiseIfUnhandledException();
526 /// <summary>Set the current state of the filter.
527 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
529 /// 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>
530 /// <param name="cur_state">Current state of the filter</param>
531 /// <param name="cur_val">Current value</param>
532 /// <param name="next_state">Next filter state, optional</param>
533 /// <param name="next_val">Next value, optional</param>
534 /// <param name="pos">Position, optional</param>
535 virtual public void SetFilterState(System.String cur_state, double cur_val, System.String next_state, double next_val, double pos) {
536 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_state_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),cur_state, cur_val, next_state, next_val, pos);
537 Eina.Error.RaiseIfUnhandledException();
539 /// <summary>Gets the padding required to apply this filter.</summary>
540 /// <param name="l">Padding on the left</param>
541 /// <param name="r">Padding on the right</param>
542 /// <param name="t">Padding on the top</param>
543 /// <param name="b">Padding on the bottom</param>
544 virtual public void GetFilterPadding(out int l, out int r, out int t, out int b) {
545 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_padding_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
546 Eina.Error.RaiseIfUnhandledException();
548 /// <summary>Bind an object to use as a mask or texture in a filter program.
549 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
550 /// <param name="name">Buffer name as used in the program.</param>
551 /// <returns>Object to use as a source of pixels.</returns>
552 virtual public Efl.Gfx.IEntity GetFilterSource(System.String name) {
553 var _ret_var = Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name);
554 Eina.Error.RaiseIfUnhandledException();
557 /// <summary>Bind an object to use as a mask or texture in a filter program.
558 /// This will create automatically a new RGBA buffer containing the source object's pixels (as it is rendered).</summary>
559 /// <param name="name">Buffer name as used in the program.</param>
560 /// <param name="source">Object to use as a source of pixels.</param>
561 virtual public void SetFilterSource(System.String name, Efl.Gfx.IEntity source) {
562 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_source_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, source);
563 Eina.Error.RaiseIfUnhandledException();
565 /// <summary>Extra data used by the filter program.
566 /// 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...
568 /// 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>
569 /// <param name="name">Name of the global variable</param>
570 /// <param name="value">String value to use as data</param>
571 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
572 virtual public void GetFilterData(System.String name, out System.String value, out bool execute) {
573 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, out value, out execute);
574 Eina.Error.RaiseIfUnhandledException();
576 /// <summary>Extra data used by the filter program.
577 /// 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...
579 /// 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>
580 /// <param name="name">Name of the global variable</param>
581 /// <param name="value">String value to use as data</param>
582 /// <param name="execute">If <c>true</c>, execute 'name = value'</param>
583 virtual public void SetFilterData(System.String name, System.String value, bool execute) {
584 Efl.Gfx.IFilterConcrete.NativeMethods.efl_gfx_filter_data_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),name, value, execute);
585 Eina.Error.RaiseIfUnhandledException();
587 /// <summary>Whether to use high-quality image scaling algorithm for this image.
588 /// 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.
590 /// <c>true</c> by default</summary>
591 /// <returns>Whether to use smooth scale or not.</returns>
592 virtual public bool GetSmoothScale() {
593 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
594 Eina.Error.RaiseIfUnhandledException();
597 /// <summary>Whether to use high-quality image scaling algorithm for this image.
598 /// 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.
600 /// <c>true</c> by default</summary>
601 /// <param name="smooth_scale">Whether to use smooth scale or not.</param>
602 virtual public void SetSmoothScale(bool smooth_scale) {
603 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth_scale);
604 Eina.Error.RaiseIfUnhandledException();
606 /// <summary>Control how the image is scaled.</summary>
607 /// <returns>Image scale type</returns>
608 virtual public Efl.Gfx.ImageScaleType GetScaleType() {
609 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
610 Eina.Error.RaiseIfUnhandledException();
613 /// <summary>Control how the image is scaled.</summary>
614 /// <param name="scale_type">Image scale type</param>
615 virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
616 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
617 Eina.Error.RaiseIfUnhandledException();
619 /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
620 /// <returns>Allow image upscaling</returns>
621 virtual public bool GetCanUpscale() {
622 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
623 Eina.Error.RaiseIfUnhandledException();
626 /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
627 /// <param name="upscale">Allow image upscaling</param>
628 virtual public void SetCanUpscale(bool upscale) {
629 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
630 Eina.Error.RaiseIfUnhandledException();
632 /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
633 /// <returns>Allow image downscaling</returns>
634 virtual public bool GetCanDownscale() {
635 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
636 Eina.Error.RaiseIfUnhandledException();
639 /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
640 /// <param name="downscale">Allow image downscaling</param>
641 virtual public void SetCanDownscale(bool downscale) {
642 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
643 Eina.Error.RaiseIfUnhandledException();
645 /// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
646 /// <returns>The image's ratio.</returns>
647 virtual public double GetRatio() {
648 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
649 Eina.Error.RaiseIfUnhandledException();
652 /// <summary>Return the relative area enclosed inside the image where content is expected.
653 /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
655 /// The geometry of the area is expressed relative to the geometry of the object.</summary>
656 /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
657 virtual public Eina.Rect GetContentRegion() {
658 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
659 Eina.Error.RaiseIfUnhandledException();
662 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
663 /// 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.
665 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
667 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
669 /// 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.
671 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
672 /// <param name="l">The border's left width.</param>
673 /// <param name="r">The border's right width.</param>
674 /// <param name="t">The border's top height.</param>
675 /// <param name="b">The border's bottom height.</param>
676 virtual public void GetBorder(out int l, out int r, out int t, out int b) {
677 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
678 Eina.Error.RaiseIfUnhandledException();
680 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
681 /// 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.
683 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
685 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
687 /// 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.
689 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
690 /// <param name="l">The border's left width.</param>
691 /// <param name="r">The border's right width.</param>
692 /// <param name="t">The border's top height.</param>
693 /// <param name="b">The border's bottom height.</param>
694 virtual public void SetBorder(int l, int r, int t, int b) {
695 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
696 Eina.Error.RaiseIfUnhandledException();
698 /// <summary>Scaling factor applied to the image borders.
699 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
701 /// Default value is 1.0 (no scaling).</summary>
702 /// <returns>The scale factor.</returns>
703 virtual public double GetBorderScale() {
704 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
705 Eina.Error.RaiseIfUnhandledException();
708 /// <summary>Scaling factor applied to the image borders.
709 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
711 /// Default value is 1.0 (no scaling).</summary>
712 /// <param name="scale">The scale factor.</param>
713 virtual public void SetBorderScale(double scale) {
714 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
715 Eina.Error.RaiseIfUnhandledException();
717 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
718 /// 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.
720 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
721 /// <returns>Fill mode of the center region.</returns>
722 virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
723 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
724 Eina.Error.RaiseIfUnhandledException();
727 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
728 /// 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.
730 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
731 /// <param name="fill">Fill mode of the center region.</param>
732 virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
733 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill);
734 Eina.Error.RaiseIfUnhandledException();
736 /// <summary>This property defines the stretchable pixels region of an image.
737 /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
738 /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
739 /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
740 virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> vertical) {
741 System.IntPtr _out_horizontal = System.IntPtr.Zero;
742 System.IntPtr _out_vertical = System.IntPtr.Zero;
743 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_horizontal, out _out_vertical);
744 Eina.Error.RaiseIfUnhandledException();
745 horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
746 vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_vertical, false);
748 /// <summary>This property defines the stretchable pixels region of an image.
749 /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
750 /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
751 /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
752 /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
753 virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> vertical) {
754 var _in_horizontal = horizontal.Handle;
755 var _in_vertical = vertical.Handle;
756 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_horizontal, _in_vertical);
757 Eina.Error.RaiseIfUnhandledException();
760 /// <summary>This represents the size of the original image in pixels.
761 /// 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.
763 /// This is a read-only property, and may return 0x0.</summary>
764 /// <returns>The size in pixels.</returns>
765 virtual public Eina.Size2D GetImageSize() {
766 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
767 Eina.Error.RaiseIfUnhandledException();
770 /// <summary>Get the content hint setting of a given image object of the canvas.
771 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
772 /// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
773 virtual public Efl.Gfx.ImageContentHint GetContentHint() {
774 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
775 Eina.Error.RaiseIfUnhandledException();
778 /// <summary>Set the content hint setting of a given image object of the canvas.
779 /// 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>
780 /// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
781 virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
782 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
783 Eina.Error.RaiseIfUnhandledException();
785 /// <summary>Get the scale hint of a given image of the canvas.
786 /// This function returns the scale hint value of the given image object of the canvas.</summary>
787 /// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
788 virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
789 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
790 Eina.Error.RaiseIfUnhandledException();
793 /// <summary>Set the scale hint of a given image of the canvas.
794 /// 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>
795 /// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
796 virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
797 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
798 Eina.Error.RaiseIfUnhandledException();
800 /// <summary>Gets the (last) file loading error for a given object.</summary>
801 /// <returns>The load error code.</returns>
802 virtual public Eina.Error GetImageLoadError() {
803 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
804 Eina.Error.RaiseIfUnhandledException();
807 /// <summary>Control the orientation (rotation and flipping) of a visual object.
808 /// This can be used to set the rotation on an image or a window, for instance.</summary>
809 /// <returns>The final orientation of the object.</returns>
810 virtual public Efl.Gfx.ImageOrientation GetImageOrientation() {
811 var _ret_var = Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
812 Eina.Error.RaiseIfUnhandledException();
815 /// <summary>Control the orientation (rotation and flipping) of a visual object.
816 /// This can be used to set the rotation on an image or a window, for instance.</summary>
817 /// <param name="dir">The final orientation of the object.</param>
818 virtual public void SetImageOrientation(Efl.Gfx.ImageOrientation dir) {
819 Efl.Gfx.IImageOrientableConcrete.NativeMethods.efl_gfx_image_orientation_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),dir);
820 Eina.Error.RaiseIfUnhandledException();
822 /// <summary>The dimensions of this object's viewport.
823 /// 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.
825 /// 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.
827 /// In most cases the view should have the same dimensions as the object on the canvas, for best quality.
829 /// <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.
831 /// Refer to each implementing class specific documentation for more details.</summary>
832 /// <returns>Size of the view.</returns>
833 virtual public Eina.Size2D GetViewSize() {
834 var _ret_var = Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
835 Eina.Error.RaiseIfUnhandledException();
838 /// <summary>The dimensions of this object's viewport.
839 /// 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.
841 /// 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.
843 /// In most cases the view should have the same dimensions as the object on the canvas, for best quality.
845 /// <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.
847 /// Refer to each implementing class specific documentation for more details.</summary>
848 /// <param name="size">Size of the view.</param>
849 virtual public void SetViewSize(Eina.Size2D size) {
850 Eina.Size2D.NativeStruct _in_size = size;
851 Efl.Gfx.IViewConcrete.NativeMethods.efl_gfx_view_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
852 Eina.Error.RaiseIfUnhandledException();
854 /// <summary>Marks this filter as changed.</summary>
855 /// <value><c>true</c> if filter changed, <c>false</c> otherwise</value>
856 public bool FilterChanged {
857 set { SetFilterChanged(value); }
859 /// <summary>Marks this filter as invalid.</summary>
860 /// <value><c>true</c> if filter is invalid, <c>false</c> otherwise</value>
861 public bool FilterInvalid {
862 set { SetFilterInvalid(value); }
864 /// <summary>Retrieve cached output buffer, if any.
865 /// Does not increment the reference count.</summary>
866 /// <value>Output buffer</value>
867 public System.IntPtr FilterOutputBuffer {
868 get { return GetFilterOutputBuffer(); }
870 /// <summary>Rectangular size of the pixel buffer as allocated in memory.</summary>
871 /// <value>Size of the buffer in pixels.</value>
872 public Eina.Size2D BufferSize {
873 get { return GetBufferSize(); }
874 set { SetBufferSize(value); }
876 /// <summary>The colorspace defines how pixels are encoded in the image in memory.
877 /// 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.
879 /// All images used in EFL use alpha-premultipied BGRA values, which means that for each pixel, B <= A, G <= A and R <= A.</summary>
880 /// <value>Colorspace</value>
881 public Efl.Gfx.Colorspace Colorspace {
882 get { return GetColorspace(); }
884 /// <summary>Indicates whether the alpha channel should be used.
885 /// This does not indicate whether the image source file contains an alpha channel, only whether to respect it or discard it.</summary>
886 /// <value>Whether to use alpha channel (<c>true</c>) data or not (<c>false</c>).</value>
888 get { return GetAlpha(); }
889 set { SetAlpha(value); }
891 /// <summary>Length in bytes of one row of pixels in memory.
892 /// Usually this will be equal to width * 4, with a plain BGRA image. This may return 0 if the stride is not applicable.
894 /// When applicable, this will include the <see cref="Efl.Gfx.IBuffer.GetBufferBorders"/> as well as potential extra padding.</summary>
895 /// <value>Stride</value>
897 get { return GetStride(); }
899 /// <summary>Duplicated pixel borders inside this buffer.
900 /// 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>
901 public (uint, uint, uint, uint) BufferBorders {
903 uint _out_l = default(uint);
904 uint _out_r = default(uint);
905 uint _out_t = default(uint);
906 uint _out_b = default(uint);
907 GetBufferBorders(out _out_l,out _out_r,out _out_t,out _out_b);
908 return (_out_l,_out_r,_out_t,_out_b);
911 /// <summary>Binds the object's <see cref="Efl.Gfx.IFill.Fill"/> property to its actual geometry.
912 /// 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.
914 /// 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.
916 /// This flag is <c>true</c> by default (used to be <c>false</c> with the old APIs, and was known as "filled").</summary>
917 /// <value><c>true</c> to make the fill property follow object size or <c>false</c> otherwise.</value>
918 public bool FillAuto {
919 get { return GetFillAuto(); }
920 set { SetFillAuto(value); }
922 /// <summary>Specifies how to tile an image to fill its rectangle geometry.
923 /// 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.
925 /// Setting this property will reset the <see cref="Efl.Gfx.IFill.FillAuto"/> to <c>false</c>.</summary>
926 /// <value>The top-left corner to start drawing from as well as the size at which the bound image will be displayed.</value>
927 public Eina.Rect Fill {
928 get { return GetFill(); }
929 set { SetFill(value); }
931 /// <summary>Gets the code of the filter program set on this object. May be <c>null</c>.</summary>
932 /// <value>The Lua program source code.</value>
933 public (System.String, System.String) FilterProgram {
935 System.String _out_code = default(System.String);
936 System.String _out_name = default(System.String);
937 GetFilterProgram(out _out_code,out _out_name);
938 return (_out_code,_out_name);
940 set { SetFilterProgram( value.Item1, value.Item2); }
942 /// <summary>Set the current state of the filter.
943 /// This should be used by Edje (EFL's internal layout engine), but could also be used when implementing animations programmatically.
945 /// 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>
946 /// <value>Current state of the filter</value>
947 public (System.String, double, System.String, double, double) FilterState {
949 System.String _out_cur_state = default(System.String);
950 double _out_cur_val = default(double);
951 System.String _out_next_state = default(System.String);
952 double _out_next_val = default(double);
953 double _out_pos = default(double);
954 GetFilterState(out _out_cur_state,out _out_cur_val,out _out_next_state,out _out_next_val,out _out_pos);
955 return (_out_cur_state,_out_cur_val,_out_next_state,_out_next_val,_out_pos);
957 set { SetFilterState( value.Item1, value.Item2, value.Item3, value.Item4, value.Item5); }
959 /// <summary>Required padding to apply this filter without cropping.
960 /// Read-only property that can be used to calculate the object's final geometry. This can be overridden (set) from inside the filter program by using the function 'padding_set' in the Lua program.</summary>
961 public (int, int, int, int) FilterPadding {
963 int _out_l = default(int);
964 int _out_r = default(int);
965 int _out_t = default(int);
966 int _out_b = default(int);
967 GetFilterPadding(out _out_l,out _out_r,out _out_t,out _out_b);
968 return (_out_l,_out_r,_out_t,_out_b);
971 /// <summary>Whether to use high-quality image scaling algorithm for this image.
972 /// 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.
974 /// <c>true</c> by default</summary>
975 /// <value>Whether to use smooth scale or not.</value>
976 public bool SmoothScale {
977 get { return GetSmoothScale(); }
978 set { SetSmoothScale(value); }
980 /// <summary>Control how the image is scaled.</summary>
981 /// <value>Image scale type</value>
982 public Efl.Gfx.ImageScaleType ScaleType {
983 get { return GetScaleType(); }
984 set { SetScaleType(value); }
986 /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
987 /// <value>Allow image upscaling</value>
988 public bool CanUpscale {
989 get { return GetCanUpscale(); }
990 set { SetCanUpscale(value); }
992 /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
993 /// <value>Allow image downscaling</value>
994 public bool CanDownscale {
995 get { return GetCanDownscale(); }
996 set { SetCanDownscale(value); }
998 /// <summary>The native width/height ratio of the image.</summary>
999 /// <value>The image's ratio.</value>
1000 public double Ratio {
1001 get { return GetRatio(); }
1003 /// <summary>Return the relative area enclosed inside the image where content is expected.
1004 /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
1006 /// The geometry of the area is expressed relative to the geometry of the object.</summary>
1007 /// <value>A rectangle inside the object boundary that where content is expected.</value>
1008 public Eina.Rect ContentRegion {
1009 get { return GetContentRegion(); }
1011 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
1012 /// 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.
1014 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
1016 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
1018 /// 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.
1020 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
1021 /// <value>The border's left width.</value>
1022 public (int, int, int, int) Border {
1024 int _out_l = default(int);
1025 int _out_r = default(int);
1026 int _out_t = default(int);
1027 int _out_b = default(int);
1028 GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
1029 return (_out_l,_out_r,_out_t,_out_b);
1031 set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
1033 /// <summary>Scaling factor applied to the image borders.
1034 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
1036 /// Default value is 1.0 (no scaling).</summary>
1037 /// <value>The scale factor.</value>
1038 public double BorderScale {
1039 get { return GetBorderScale(); }
1040 set { SetBorderScale(value); }
1042 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
1043 /// 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.
1045 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
1046 /// <value>Fill mode of the center region.</value>
1047 public Efl.Gfx.BorderFillMode BorderCenterFill {
1048 get { return GetBorderCenterFill(); }
1049 set { SetBorderCenterFill(value); }
1051 /// <summary>This property defines the stretchable pixels region of an image.
1052 /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
1053 /// <value>Representation of area that are stretchable in the image horizontal space.</value>
1054 public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
1056 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
1057 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
1058 GetStretchRegion(out _out_horizontal,out _out_vertical);
1059 return (_out_horizontal,_out_vertical);
1061 set { SetStretchRegion( value.Item1, value.Item2); }
1063 /// <summary>This represents the size of the original image in pixels.
1064 /// 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.
1066 /// This is a read-only property, and may return 0x0.</summary>
1067 /// <value>The size in pixels.</value>
1068 public Eina.Size2D ImageSize {
1069 get { return GetImageSize(); }
1071 /// <summary>Get the content hint setting of a given image object of the canvas.
1072 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
1073 /// <value>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></value>
1074 public Efl.Gfx.ImageContentHint ContentHint {
1075 get { return GetContentHint(); }
1076 set { SetContentHint(value); }
1078 /// <summary>Get the scale hint of a given image of the canvas.
1079 /// This function returns the scale hint value of the given image object of the canvas.</summary>
1080 /// <value>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></value>
1081 public Efl.Gfx.ImageScaleHint ScaleHint {
1082 get { return GetScaleHint(); }
1083 set { SetScaleHint(value); }
1085 /// <summary>Gets the (last) file loading error for a given object.</summary>
1086 /// <value>The load error code.</value>
1087 public Eina.Error ImageLoadError {
1088 get { return GetImageLoadError(); }
1090 /// <summary>Control the orientation (rotation and flipping) of a visual object.
1091 /// This can be used to set the rotation on an image or a window, for instance.</summary>
1092 /// <value>The final orientation of the object.</value>
1093 public Efl.Gfx.ImageOrientation ImageOrientation {
1094 get { return GetImageOrientation(); }
1095 set { SetImageOrientation(value); }
1097 /// <summary>The dimensions of this object's viewport.
1098 /// 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.
1100 /// 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.
1102 /// In most cases the view should have the same dimensions as the object on the canvas, for best quality.
1104 /// <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.
1106 /// Refer to each implementing class specific documentation for more details.</summary>
1107 /// <value>Size of the view.</value>
1108 public Eina.Size2D ViewSize {
1109 get { return GetViewSize(); }
1110 set { SetViewSize(value); }
1112 private static IntPtr GetEflClassStatic()
1114 return Efl.Canvas.ImageInternal.efl_canvas_image_internal_class_get();
1116 /// <summary>Wrapper for native methods and virtual method delegates.
1117 /// For internal use by generated code only.</summary>
1118 public new class NativeMethods : Efl.Canvas.Object.NativeMethods
1120 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
1121 /// <summary>Gets the list of Eo operations to override.</summary>
1122 /// <returns>The list of Eo operations to be overload.</returns>
1123 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
1125 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
1126 var methods = Efl.Eo.Globals.GetUserMethods(type);
1128 if (efl_file_save_static_delegate == null)
1130 efl_file_save_static_delegate = new efl_file_save_delegate(save);
1133 if (methods.FirstOrDefault(m => m.Name == "Save") != null)
1135 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) });
1138 if (evas_filter_changed_set_static_delegate == null)
1140 evas_filter_changed_set_static_delegate = new evas_filter_changed_set_delegate(filter_changed_set);
1143 if (methods.FirstOrDefault(m => m.Name == "SetFilterChanged") != null)
1145 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) });
1148 if (evas_filter_invalid_set_static_delegate == null)
1150 evas_filter_invalid_set_static_delegate = new evas_filter_invalid_set_delegate(filter_invalid_set);
1153 if (methods.FirstOrDefault(m => m.Name == "SetFilterInvalid") != null)
1155 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) });
1158 if (evas_filter_output_buffer_get_static_delegate == null)
1160 evas_filter_output_buffer_get_static_delegate = new evas_filter_output_buffer_get_delegate(filter_output_buffer_get);
1163 if (methods.FirstOrDefault(m => m.Name == "GetFilterOutputBuffer") != null)
1165 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) });
1168 if (evas_filter_input_alpha_static_delegate == null)
1170 evas_filter_input_alpha_static_delegate = new evas_filter_input_alpha_delegate(filter_input_alpha);
1173 if (methods.FirstOrDefault(m => m.Name == "FilterInputAlpha") != null)
1175 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) });
1178 if (evas_filter_state_prepare_static_delegate == null)
1180 evas_filter_state_prepare_static_delegate = new evas_filter_state_prepare_delegate(filter_state_prepare);
1183 if (methods.FirstOrDefault(m => m.Name == "FilterStatePrepare") != null)
1185 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) });
1188 if (evas_filter_input_render_static_delegate == null)
1190 evas_filter_input_render_static_delegate = new evas_filter_input_render_delegate(filter_input_render);
1193 if (methods.FirstOrDefault(m => m.Name == "FilterInputRender") != null)
1195 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) });
1198 if (evas_filter_dirty_static_delegate == null)
1200 evas_filter_dirty_static_delegate = new evas_filter_dirty_delegate(filter_dirty);
1203 if (methods.FirstOrDefault(m => m.Name == "FilterDirty") != null)
1205 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) });
1208 if (efl_gfx_buffer_size_get_static_delegate == null)
1210 efl_gfx_buffer_size_get_static_delegate = new efl_gfx_buffer_size_get_delegate(buffer_size_get);
1213 if (methods.FirstOrDefault(m => m.Name == "GetBufferSize") != null)
1215 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) });
1218 if (efl_gfx_buffer_size_set_static_delegate == null)
1220 efl_gfx_buffer_size_set_static_delegate = new efl_gfx_buffer_size_set_delegate(buffer_size_set);
1223 if (methods.FirstOrDefault(m => m.Name == "SetBufferSize") != null)
1225 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) });
1228 if (efl_gfx_buffer_colorspace_get_static_delegate == null)
1230 efl_gfx_buffer_colorspace_get_static_delegate = new efl_gfx_buffer_colorspace_get_delegate(colorspace_get);
1233 if (methods.FirstOrDefault(m => m.Name == "GetColorspace") != null)
1235 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) });
1238 if (efl_gfx_buffer_alpha_get_static_delegate == null)
1240 efl_gfx_buffer_alpha_get_static_delegate = new efl_gfx_buffer_alpha_get_delegate(alpha_get);
1243 if (methods.FirstOrDefault(m => m.Name == "GetAlpha") != null)
1245 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) });
1248 if (efl_gfx_buffer_alpha_set_static_delegate == null)
1250 efl_gfx_buffer_alpha_set_static_delegate = new efl_gfx_buffer_alpha_set_delegate(alpha_set);
1253 if (methods.FirstOrDefault(m => m.Name == "SetAlpha") != null)
1255 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) });
1258 if (efl_gfx_buffer_stride_get_static_delegate == null)
1260 efl_gfx_buffer_stride_get_static_delegate = new efl_gfx_buffer_stride_get_delegate(stride_get);
1263 if (methods.FirstOrDefault(m => m.Name == "GetStride") != null)
1265 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) });
1268 if (efl_gfx_buffer_borders_get_static_delegate == null)
1270 efl_gfx_buffer_borders_get_static_delegate = new efl_gfx_buffer_borders_get_delegate(buffer_borders_get);
1273 if (methods.FirstOrDefault(m => m.Name == "GetBufferBorders") != null)
1275 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) });
1278 if (efl_gfx_buffer_update_add_static_delegate == null)
1280 efl_gfx_buffer_update_add_static_delegate = new efl_gfx_buffer_update_add_delegate(buffer_update_add);
1283 if (methods.FirstOrDefault(m => m.Name == "AddBufferUpdate") != null)
1285 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) });
1288 if (efl_gfx_buffer_map_static_delegate == null)
1290 efl_gfx_buffer_map_static_delegate = new efl_gfx_buffer_map_delegate(buffer_map);
1293 if (methods.FirstOrDefault(m => m.Name == "BufferMap") != null)
1295 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) });
1298 if (efl_gfx_buffer_unmap_static_delegate == null)
1300 efl_gfx_buffer_unmap_static_delegate = new efl_gfx_buffer_unmap_delegate(buffer_unmap);
1303 if (methods.FirstOrDefault(m => m.Name == "BufferUnmap") != null)
1305 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) });
1308 if (efl_gfx_buffer_copy_set_static_delegate == null)
1310 efl_gfx_buffer_copy_set_static_delegate = new efl_gfx_buffer_copy_set_delegate(buffer_copy_set);
1313 if (methods.FirstOrDefault(m => m.Name == "SetBufferCopy") != null)
1315 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) });
1318 if (efl_gfx_buffer_managed_set_static_delegate == null)
1320 efl_gfx_buffer_managed_set_static_delegate = new efl_gfx_buffer_managed_set_delegate(buffer_managed_set);
1323 if (methods.FirstOrDefault(m => m.Name == "SetBufferManaged") != null)
1325 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) });
1328 if (efl_gfx_buffer_managed_get_static_delegate == null)
1330 efl_gfx_buffer_managed_get_static_delegate = new efl_gfx_buffer_managed_get_delegate(buffer_managed_get);
1333 if (methods.FirstOrDefault(m => m.Name == "GetBufferManaged") != null)
1335 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) });
1338 if (efl_gfx_fill_auto_get_static_delegate == null)
1340 efl_gfx_fill_auto_get_static_delegate = new efl_gfx_fill_auto_get_delegate(fill_auto_get);
1343 if (methods.FirstOrDefault(m => m.Name == "GetFillAuto") != null)
1345 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) });
1348 if (efl_gfx_fill_auto_set_static_delegate == null)
1350 efl_gfx_fill_auto_set_static_delegate = new efl_gfx_fill_auto_set_delegate(fill_auto_set);
1353 if (methods.FirstOrDefault(m => m.Name == "SetFillAuto") != null)
1355 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) });
1358 if (efl_gfx_fill_get_static_delegate == null)
1360 efl_gfx_fill_get_static_delegate = new efl_gfx_fill_get_delegate(fill_get);
1363 if (methods.FirstOrDefault(m => m.Name == "GetFill") != null)
1365 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) });
1368 if (efl_gfx_fill_set_static_delegate == null)
1370 efl_gfx_fill_set_static_delegate = new efl_gfx_fill_set_delegate(fill_set);
1373 if (methods.FirstOrDefault(m => m.Name == "SetFill") != null)
1375 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) });
1378 if (efl_gfx_filter_program_get_static_delegate == null)
1380 efl_gfx_filter_program_get_static_delegate = new efl_gfx_filter_program_get_delegate(filter_program_get);
1383 if (methods.FirstOrDefault(m => m.Name == "GetFilterProgram") != null)
1385 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) });
1388 if (efl_gfx_filter_program_set_static_delegate == null)
1390 efl_gfx_filter_program_set_static_delegate = new efl_gfx_filter_program_set_delegate(filter_program_set);
1393 if (methods.FirstOrDefault(m => m.Name == "SetFilterProgram") != null)
1395 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) });
1398 if (efl_gfx_filter_state_get_static_delegate == null)
1400 efl_gfx_filter_state_get_static_delegate = new efl_gfx_filter_state_get_delegate(filter_state_get);
1403 if (methods.FirstOrDefault(m => m.Name == "GetFilterState") != null)
1405 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) });
1408 if (efl_gfx_filter_state_set_static_delegate == null)
1410 efl_gfx_filter_state_set_static_delegate = new efl_gfx_filter_state_set_delegate(filter_state_set);
1413 if (methods.FirstOrDefault(m => m.Name == "SetFilterState") != null)
1415 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) });
1418 if (efl_gfx_filter_padding_get_static_delegate == null)
1420 efl_gfx_filter_padding_get_static_delegate = new efl_gfx_filter_padding_get_delegate(filter_padding_get);
1423 if (methods.FirstOrDefault(m => m.Name == "GetFilterPadding") != null)
1425 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) });
1428 if (efl_gfx_filter_source_get_static_delegate == null)
1430 efl_gfx_filter_source_get_static_delegate = new efl_gfx_filter_source_get_delegate(filter_source_get);
1433 if (methods.FirstOrDefault(m => m.Name == "GetFilterSource") != null)
1435 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) });
1438 if (efl_gfx_filter_source_set_static_delegate == null)
1440 efl_gfx_filter_source_set_static_delegate = new efl_gfx_filter_source_set_delegate(filter_source_set);
1443 if (methods.FirstOrDefault(m => m.Name == "SetFilterSource") != null)
1445 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) });
1448 if (efl_gfx_filter_data_get_static_delegate == null)
1450 efl_gfx_filter_data_get_static_delegate = new efl_gfx_filter_data_get_delegate(filter_data_get);
1453 if (methods.FirstOrDefault(m => m.Name == "GetFilterData") != null)
1455 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) });
1458 if (efl_gfx_filter_data_set_static_delegate == null)
1460 efl_gfx_filter_data_set_static_delegate = new efl_gfx_filter_data_set_delegate(filter_data_set);
1463 if (methods.FirstOrDefault(m => m.Name == "SetFilterData") != null)
1465 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) });
1468 if (efl_gfx_image_smooth_scale_get_static_delegate == null)
1470 efl_gfx_image_smooth_scale_get_static_delegate = new efl_gfx_image_smooth_scale_get_delegate(smooth_scale_get);
1473 if (methods.FirstOrDefault(m => m.Name == "GetSmoothScale") != null)
1475 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) });
1478 if (efl_gfx_image_smooth_scale_set_static_delegate == null)
1480 efl_gfx_image_smooth_scale_set_static_delegate = new efl_gfx_image_smooth_scale_set_delegate(smooth_scale_set);
1483 if (methods.FirstOrDefault(m => m.Name == "SetSmoothScale") != null)
1485 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) });
1488 if (efl_gfx_image_scale_type_get_static_delegate == null)
1490 efl_gfx_image_scale_type_get_static_delegate = new efl_gfx_image_scale_type_get_delegate(scale_type_get);
1493 if (methods.FirstOrDefault(m => m.Name == "GetScaleType") != null)
1495 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) });
1498 if (efl_gfx_image_scale_type_set_static_delegate == null)
1500 efl_gfx_image_scale_type_set_static_delegate = new efl_gfx_image_scale_type_set_delegate(scale_type_set);
1503 if (methods.FirstOrDefault(m => m.Name == "SetScaleType") != null)
1505 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) });
1508 if (efl_gfx_image_can_upscale_get_static_delegate == null)
1510 efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
1513 if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
1515 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
1518 if (efl_gfx_image_can_upscale_set_static_delegate == null)
1520 efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
1523 if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
1525 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
1528 if (efl_gfx_image_can_downscale_get_static_delegate == null)
1530 efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
1533 if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
1535 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
1538 if (efl_gfx_image_can_downscale_set_static_delegate == null)
1540 efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
1543 if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
1545 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
1548 if (efl_gfx_image_ratio_get_static_delegate == null)
1550 efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
1553 if (methods.FirstOrDefault(m => m.Name == "GetRatio") != null)
1555 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) });
1558 if (efl_gfx_image_content_region_get_static_delegate == null)
1560 efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
1563 if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
1565 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
1568 if (efl_gfx_image_border_get_static_delegate == null)
1570 efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
1573 if (methods.FirstOrDefault(m => m.Name == "GetBorder") != null)
1575 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) });
1578 if (efl_gfx_image_border_set_static_delegate == null)
1580 efl_gfx_image_border_set_static_delegate = new efl_gfx_image_border_set_delegate(border_set);
1583 if (methods.FirstOrDefault(m => m.Name == "SetBorder") != null)
1585 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) });
1588 if (efl_gfx_image_border_scale_get_static_delegate == null)
1590 efl_gfx_image_border_scale_get_static_delegate = new efl_gfx_image_border_scale_get_delegate(border_scale_get);
1593 if (methods.FirstOrDefault(m => m.Name == "GetBorderScale") != null)
1595 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) });
1598 if (efl_gfx_image_border_scale_set_static_delegate == null)
1600 efl_gfx_image_border_scale_set_static_delegate = new efl_gfx_image_border_scale_set_delegate(border_scale_set);
1603 if (methods.FirstOrDefault(m => m.Name == "SetBorderScale") != null)
1605 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) });
1608 if (efl_gfx_image_border_center_fill_get_static_delegate == null)
1610 efl_gfx_image_border_center_fill_get_static_delegate = new efl_gfx_image_border_center_fill_get_delegate(border_center_fill_get);
1613 if (methods.FirstOrDefault(m => m.Name == "GetBorderCenterFill") != null)
1615 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) });
1618 if (efl_gfx_image_border_center_fill_set_static_delegate == null)
1620 efl_gfx_image_border_center_fill_set_static_delegate = new efl_gfx_image_border_center_fill_set_delegate(border_center_fill_set);
1623 if (methods.FirstOrDefault(m => m.Name == "SetBorderCenterFill") != null)
1625 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) });
1628 if (efl_gfx_image_stretch_region_get_static_delegate == null)
1630 efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
1633 if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
1635 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
1638 if (efl_gfx_image_stretch_region_set_static_delegate == null)
1640 efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
1643 if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
1645 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
1648 if (efl_gfx_image_size_get_static_delegate == null)
1650 efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
1653 if (methods.FirstOrDefault(m => m.Name == "GetImageSize") != null)
1655 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) });
1658 if (efl_gfx_image_content_hint_get_static_delegate == null)
1660 efl_gfx_image_content_hint_get_static_delegate = new efl_gfx_image_content_hint_get_delegate(content_hint_get);
1663 if (methods.FirstOrDefault(m => m.Name == "GetContentHint") != null)
1665 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) });
1668 if (efl_gfx_image_content_hint_set_static_delegate == null)
1670 efl_gfx_image_content_hint_set_static_delegate = new efl_gfx_image_content_hint_set_delegate(content_hint_set);
1673 if (methods.FirstOrDefault(m => m.Name == "SetContentHint") != null)
1675 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) });
1678 if (efl_gfx_image_scale_hint_get_static_delegate == null)
1680 efl_gfx_image_scale_hint_get_static_delegate = new efl_gfx_image_scale_hint_get_delegate(scale_hint_get);
1683 if (methods.FirstOrDefault(m => m.Name == "GetScaleHint") != null)
1685 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) });
1688 if (efl_gfx_image_scale_hint_set_static_delegate == null)
1690 efl_gfx_image_scale_hint_set_static_delegate = new efl_gfx_image_scale_hint_set_delegate(scale_hint_set);
1693 if (methods.FirstOrDefault(m => m.Name == "SetScaleHint") != null)
1695 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) });
1698 if (efl_gfx_image_load_error_get_static_delegate == null)
1700 efl_gfx_image_load_error_get_static_delegate = new efl_gfx_image_load_error_get_delegate(image_load_error_get);
1703 if (methods.FirstOrDefault(m => m.Name == "GetImageLoadError") != null)
1705 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) });
1708 if (efl_gfx_image_orientation_get_static_delegate == null)
1710 efl_gfx_image_orientation_get_static_delegate = new efl_gfx_image_orientation_get_delegate(image_orientation_get);
1713 if (methods.FirstOrDefault(m => m.Name == "GetImageOrientation") != null)
1715 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_get_static_delegate) });
1718 if (efl_gfx_image_orientation_set_static_delegate == null)
1720 efl_gfx_image_orientation_set_static_delegate = new efl_gfx_image_orientation_set_delegate(image_orientation_set);
1723 if (methods.FirstOrDefault(m => m.Name == "SetImageOrientation") != null)
1725 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_orientation_set_static_delegate) });
1728 if (efl_gfx_view_size_get_static_delegate == null)
1730 efl_gfx_view_size_get_static_delegate = new efl_gfx_view_size_get_delegate(view_size_get);
1733 if (methods.FirstOrDefault(m => m.Name == "GetViewSize") != null)
1735 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) });
1738 if (efl_gfx_view_size_set_static_delegate == null)
1740 efl_gfx_view_size_set_static_delegate = new efl_gfx_view_size_set_delegate(view_size_set);
1743 if (methods.FirstOrDefault(m => m.Name == "SetViewSize") != null)
1745 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) });
1748 descs.AddRange(base.GetEoOps(type));
1751 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1752 /// <returns>The native class pointer.</returns>
1753 public override IntPtr GetEflClass()
1755 return Efl.Canvas.ImageInternal.efl_canvas_image_internal_class_get();
1758 #pragma warning disable CA1707, CS1591, SA1300, SA1600
1760 [return: MarshalAs(UnmanagedType.U1)]
1761 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);
1763 [return: MarshalAs(UnmanagedType.U1)]
1764 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);
1766 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");
1768 private static bool save(System.IntPtr obj, System.IntPtr pd, System.String file, System.String key, ref Efl.FileSaveInfo.NativeStruct info)
1770 Eina.Log.Debug("function efl_file_save was called");
1771 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1774 Efl.FileSaveInfo _in_info = info;
1775 bool _ret_var = default(bool);
1778 _ret_var = ((ImageInternal)ws.Target).Save(file, key, ref _in_info);
1782 Eina.Log.Warning($"Callback error: {e.ToString()}");
1783 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1792 return efl_file_save_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file, key, ref info);
1796 private static efl_file_save_delegate efl_file_save_static_delegate;
1799 private delegate void evas_filter_changed_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
1802 public delegate void evas_filter_changed_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
1804 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");
1806 private static void filter_changed_set(System.IntPtr obj, System.IntPtr pd, bool val)
1808 Eina.Log.Debug("function evas_filter_changed_set was called");
1809 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1815 ((ImageInternal)ws.Target).SetFilterChanged(val);
1819 Eina.Log.Warning($"Callback error: {e.ToString()}");
1820 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1827 evas_filter_changed_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1831 private static evas_filter_changed_set_delegate evas_filter_changed_set_static_delegate;
1834 private delegate void evas_filter_invalid_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool val);
1837 public delegate void evas_filter_invalid_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool val);
1839 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");
1841 private static void filter_invalid_set(System.IntPtr obj, System.IntPtr pd, bool val)
1843 Eina.Log.Debug("function evas_filter_invalid_set was called");
1844 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1850 ((ImageInternal)ws.Target).SetFilterInvalid(val);
1854 Eina.Log.Warning($"Callback error: {e.ToString()}");
1855 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1862 evas_filter_invalid_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val);
1866 private static evas_filter_invalid_set_delegate evas_filter_invalid_set_static_delegate;
1869 private delegate System.IntPtr evas_filter_output_buffer_get_delegate(System.IntPtr obj, System.IntPtr pd);
1872 public delegate System.IntPtr evas_filter_output_buffer_get_api_delegate(System.IntPtr obj);
1874 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");
1876 private static System.IntPtr filter_output_buffer_get(System.IntPtr obj, System.IntPtr pd)
1878 Eina.Log.Debug("function evas_filter_output_buffer_get was called");
1879 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1882 System.IntPtr _ret_var = default(System.IntPtr);
1885 _ret_var = ((ImageInternal)ws.Target).GetFilterOutputBuffer();
1889 Eina.Log.Warning($"Callback error: {e.ToString()}");
1890 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1898 return evas_filter_output_buffer_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1902 private static evas_filter_output_buffer_get_delegate evas_filter_output_buffer_get_static_delegate;
1904 [return: MarshalAs(UnmanagedType.U1)]
1905 private delegate bool evas_filter_input_alpha_delegate(System.IntPtr obj, System.IntPtr pd);
1907 [return: MarshalAs(UnmanagedType.U1)]
1908 public delegate bool evas_filter_input_alpha_api_delegate(System.IntPtr obj);
1910 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");
1912 private static bool filter_input_alpha(System.IntPtr obj, System.IntPtr pd)
1914 Eina.Log.Debug("function evas_filter_input_alpha was called");
1915 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1918 bool _ret_var = default(bool);
1921 _ret_var = ((ImageInternal)ws.Target).FilterInputAlpha();
1925 Eina.Log.Warning($"Callback error: {e.ToString()}");
1926 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1934 return evas_filter_input_alpha_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1938 private static evas_filter_input_alpha_delegate evas_filter_input_alpha_static_delegate;
1941 private delegate void evas_filter_state_prepare_delegate(System.IntPtr obj, System.IntPtr pd, out Efl.Canvas.Filter.State.NativeStruct state, System.IntPtr data);
1944 public delegate void evas_filter_state_prepare_api_delegate(System.IntPtr obj, out Efl.Canvas.Filter.State.NativeStruct state, System.IntPtr data);
1946 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");
1948 private static void filter_state_prepare(System.IntPtr obj, System.IntPtr pd, out Efl.Canvas.Filter.State.NativeStruct state, System.IntPtr data)
1950 Eina.Log.Debug("function evas_filter_state_prepare was called");
1951 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1954 Efl.Canvas.Filter.State _out_state = default(Efl.Canvas.Filter.State);
1958 ((ImageInternal)ws.Target).FilterStatePrepare(out _out_state, data);
1962 Eina.Log.Warning($"Callback error: {e.ToString()}");
1963 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1971 evas_filter_state_prepare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out state, data);
1975 private static evas_filter_state_prepare_delegate evas_filter_state_prepare_static_delegate;
1977 [return: MarshalAs(UnmanagedType.U1)]
1978 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);
1980 [return: MarshalAs(UnmanagedType.U1)]
1981 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);
1983 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");
1985 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)
1987 Eina.Log.Debug("function evas_filter_input_render was called");
1988 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1991 bool _ret_var = default(bool);
1994 _ret_var = ((ImageInternal)ws.Target).FilterInputRender(filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async);
1998 Eina.Log.Warning($"Callback error: {e.ToString()}");
1999 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2007 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);
2011 private static evas_filter_input_render_delegate evas_filter_input_render_static_delegate;
2014 private delegate void evas_filter_dirty_delegate(System.IntPtr obj, System.IntPtr pd);
2017 public delegate void evas_filter_dirty_api_delegate(System.IntPtr obj);
2019 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");
2021 private static void filter_dirty(System.IntPtr obj, System.IntPtr pd)
2023 Eina.Log.Debug("function evas_filter_dirty was called");
2024 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2030 ((ImageInternal)ws.Target).FilterDirty();
2034 Eina.Log.Warning($"Callback error: {e.ToString()}");
2035 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2042 evas_filter_dirty_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2046 private static evas_filter_dirty_delegate evas_filter_dirty_static_delegate;
2049 private delegate Eina.Size2D.NativeStruct efl_gfx_buffer_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2052 public delegate Eina.Size2D.NativeStruct efl_gfx_buffer_size_get_api_delegate(System.IntPtr obj);
2054 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");
2056 private static Eina.Size2D.NativeStruct buffer_size_get(System.IntPtr obj, System.IntPtr pd)
2058 Eina.Log.Debug("function efl_gfx_buffer_size_get was called");
2059 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2062 Eina.Size2D _ret_var = default(Eina.Size2D);
2065 _ret_var = ((ImageInternal)ws.Target).GetBufferSize();
2069 Eina.Log.Warning($"Callback error: {e.ToString()}");
2070 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2078 return efl_gfx_buffer_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2082 private static efl_gfx_buffer_size_get_delegate efl_gfx_buffer_size_get_static_delegate;
2085 private delegate void efl_gfx_buffer_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz);
2088 public delegate void efl_gfx_buffer_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct sz);
2090 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");
2092 private static void buffer_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct sz)
2094 Eina.Log.Debug("function efl_gfx_buffer_size_set was called");
2095 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2098 Eina.Size2D _in_sz = sz;
2102 ((ImageInternal)ws.Target).SetBufferSize(_in_sz);
2106 Eina.Log.Warning($"Callback error: {e.ToString()}");
2107 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2114 efl_gfx_buffer_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), sz);
2118 private static efl_gfx_buffer_size_set_delegate efl_gfx_buffer_size_set_static_delegate;
2121 private delegate Efl.Gfx.Colorspace efl_gfx_buffer_colorspace_get_delegate(System.IntPtr obj, System.IntPtr pd);
2124 public delegate Efl.Gfx.Colorspace efl_gfx_buffer_colorspace_get_api_delegate(System.IntPtr obj);
2126 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");
2128 private static Efl.Gfx.Colorspace colorspace_get(System.IntPtr obj, System.IntPtr pd)
2130 Eina.Log.Debug("function efl_gfx_buffer_colorspace_get was called");
2131 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2134 Efl.Gfx.Colorspace _ret_var = default(Efl.Gfx.Colorspace);
2137 _ret_var = ((ImageInternal)ws.Target).GetColorspace();
2141 Eina.Log.Warning($"Callback error: {e.ToString()}");
2142 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2150 return efl_gfx_buffer_colorspace_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2154 private static efl_gfx_buffer_colorspace_get_delegate efl_gfx_buffer_colorspace_get_static_delegate;
2156 [return: MarshalAs(UnmanagedType.U1)]
2157 private delegate bool efl_gfx_buffer_alpha_get_delegate(System.IntPtr obj, System.IntPtr pd);
2159 [return: MarshalAs(UnmanagedType.U1)]
2160 public delegate bool efl_gfx_buffer_alpha_get_api_delegate(System.IntPtr obj);
2162 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");
2164 private static bool alpha_get(System.IntPtr obj, System.IntPtr pd)
2166 Eina.Log.Debug("function efl_gfx_buffer_alpha_get was called");
2167 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2170 bool _ret_var = default(bool);
2173 _ret_var = ((ImageInternal)ws.Target).GetAlpha();
2177 Eina.Log.Warning($"Callback error: {e.ToString()}");
2178 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2186 return efl_gfx_buffer_alpha_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2190 private static efl_gfx_buffer_alpha_get_delegate efl_gfx_buffer_alpha_get_static_delegate;
2193 private delegate void efl_gfx_buffer_alpha_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool alpha);
2196 public delegate void efl_gfx_buffer_alpha_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool alpha);
2198 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");
2200 private static void alpha_set(System.IntPtr obj, System.IntPtr pd, bool alpha)
2202 Eina.Log.Debug("function efl_gfx_buffer_alpha_set was called");
2203 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2209 ((ImageInternal)ws.Target).SetAlpha(alpha);
2213 Eina.Log.Warning($"Callback error: {e.ToString()}");
2214 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2221 efl_gfx_buffer_alpha_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), alpha);
2225 private static efl_gfx_buffer_alpha_set_delegate efl_gfx_buffer_alpha_set_static_delegate;
2228 private delegate int efl_gfx_buffer_stride_get_delegate(System.IntPtr obj, System.IntPtr pd);
2231 public delegate int efl_gfx_buffer_stride_get_api_delegate(System.IntPtr obj);
2233 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");
2235 private static int stride_get(System.IntPtr obj, System.IntPtr pd)
2237 Eina.Log.Debug("function efl_gfx_buffer_stride_get was called");
2238 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2241 int _ret_var = default(int);
2244 _ret_var = ((ImageInternal)ws.Target).GetStride();
2248 Eina.Log.Warning($"Callback error: {e.ToString()}");
2249 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2257 return efl_gfx_buffer_stride_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2261 private static efl_gfx_buffer_stride_get_delegate efl_gfx_buffer_stride_get_static_delegate;
2264 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);
2267 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);
2269 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");
2271 private static void buffer_borders_get(System.IntPtr obj, System.IntPtr pd, out uint l, out uint r, out uint t, out uint b)
2273 Eina.Log.Debug("function efl_gfx_buffer_borders_get was called");
2274 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2277 l = default(uint); r = default(uint); t = default(uint); b = default(uint);
2280 ((ImageInternal)ws.Target).GetBufferBorders(out l, out r, out t, out b);
2284 Eina.Log.Warning($"Callback error: {e.ToString()}");
2285 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2292 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);
2296 private static efl_gfx_buffer_borders_get_delegate efl_gfx_buffer_borders_get_static_delegate;
2299 private delegate void efl_gfx_buffer_update_add_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Rect.NativeStruct region);
2302 public delegate void efl_gfx_buffer_update_add_api_delegate(System.IntPtr obj, ref Eina.Rect.NativeStruct region);
2304 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");
2306 private static void buffer_update_add(System.IntPtr obj, System.IntPtr pd, ref Eina.Rect.NativeStruct region)
2308 Eina.Log.Debug("function efl_gfx_buffer_update_add was called");
2309 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2312 Eina.Rect _in_region = region;
2316 ((ImageInternal)ws.Target).AddBufferUpdate(ref _in_region);
2320 Eina.Log.Warning($"Callback error: {e.ToString()}");
2321 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2324 region = _in_region;
2329 efl_gfx_buffer_update_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref region);
2333 private static efl_gfx_buffer_update_add_delegate efl_gfx_buffer_update_add_static_delegate;
2336 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);
2339 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);
2341 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");
2343 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)
2345 Eina.Log.Debug("function efl_gfx_buffer_map was called");
2346 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2349 Eina.Rect _in_region = region;
2350 stride = default(int); Eina.RwSlice _ret_var = default(Eina.RwSlice);
2353 _ret_var = ((ImageInternal)ws.Target).BufferMap(mode, ref _in_region, cspace, plane, out stride);
2357 Eina.Log.Warning($"Callback error: {e.ToString()}");
2358 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2361 region = _in_region;
2367 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);
2371 private static efl_gfx_buffer_map_delegate efl_gfx_buffer_map_static_delegate;
2373 [return: MarshalAs(UnmanagedType.U1)]
2374 private delegate bool efl_gfx_buffer_unmap_delegate(System.IntPtr obj, System.IntPtr pd, Eina.RwSlice slice);
2376 [return: MarshalAs(UnmanagedType.U1)]
2377 public delegate bool efl_gfx_buffer_unmap_api_delegate(System.IntPtr obj, Eina.RwSlice slice);
2379 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");
2381 private static bool buffer_unmap(System.IntPtr obj, System.IntPtr pd, Eina.RwSlice slice)
2383 Eina.Log.Debug("function efl_gfx_buffer_unmap was called");
2384 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2387 bool _ret_var = default(bool);
2390 _ret_var = ((ImageInternal)ws.Target).BufferUnmap(slice);
2394 Eina.Log.Warning($"Callback error: {e.ToString()}");
2395 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2403 return efl_gfx_buffer_unmap_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), slice);
2407 private static efl_gfx_buffer_unmap_delegate efl_gfx_buffer_unmap_static_delegate;
2409 [return: MarshalAs(UnmanagedType.U1)]
2410 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);
2412 [return: MarshalAs(UnmanagedType.U1)]
2413 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);
2415 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");
2417 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)
2419 Eina.Log.Debug("function efl_gfx_buffer_copy_set was called");
2420 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2423 var _in_slice = Eina.PrimitiveConversion.PointerToManaged<Eina.Slice>(slice);
2424 Eina.Size2D _in_size = size;
2425 bool _ret_var = default(bool);
2428 _ret_var = ((ImageInternal)ws.Target).SetBufferCopy(_in_slice, _in_size, stride, cspace, plane);
2432 Eina.Log.Warning($"Callback error: {e.ToString()}");
2433 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2441 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);
2445 private static efl_gfx_buffer_copy_set_delegate efl_gfx_buffer_copy_set_static_delegate;
2447 [return: MarshalAs(UnmanagedType.U1)]
2448 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);
2450 [return: MarshalAs(UnmanagedType.U1)]
2451 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);
2453 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");
2455 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)
2457 Eina.Log.Debug("function efl_gfx_buffer_managed_set was called");
2458 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2461 var _in_slice = Eina.PrimitiveConversion.PointerToManaged<Eina.Slice>(slice);
2462 Eina.Size2D _in_size = size;
2463 bool _ret_var = default(bool);
2466 _ret_var = ((ImageInternal)ws.Target).SetBufferManaged(_in_slice, _in_size, stride, cspace, plane);
2470 Eina.Log.Warning($"Callback error: {e.ToString()}");
2471 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2479 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);
2483 private static efl_gfx_buffer_managed_set_delegate efl_gfx_buffer_managed_set_static_delegate;
2486 private delegate Eina.Slice efl_gfx_buffer_managed_get_delegate(System.IntPtr obj, System.IntPtr pd, int plane);
2489 public delegate Eina.Slice efl_gfx_buffer_managed_get_api_delegate(System.IntPtr obj, int plane);
2491 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");
2493 private static Eina.Slice buffer_managed_get(System.IntPtr obj, System.IntPtr pd, int plane)
2495 Eina.Log.Debug("function efl_gfx_buffer_managed_get was called");
2496 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2499 Eina.Slice _ret_var = default(Eina.Slice);
2502 _ret_var = ((ImageInternal)ws.Target).GetBufferManaged(plane);
2506 Eina.Log.Warning($"Callback error: {e.ToString()}");
2507 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2515 return efl_gfx_buffer_managed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), plane);
2519 private static efl_gfx_buffer_managed_get_delegate efl_gfx_buffer_managed_get_static_delegate;
2521 [return: MarshalAs(UnmanagedType.U1)]
2522 private delegate bool efl_gfx_fill_auto_get_delegate(System.IntPtr obj, System.IntPtr pd);
2524 [return: MarshalAs(UnmanagedType.U1)]
2525 public delegate bool efl_gfx_fill_auto_get_api_delegate(System.IntPtr obj);
2527 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");
2529 private static bool fill_auto_get(System.IntPtr obj, System.IntPtr pd)
2531 Eina.Log.Debug("function efl_gfx_fill_auto_get was called");
2532 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2535 bool _ret_var = default(bool);
2538 _ret_var = ((ImageInternal)ws.Target).GetFillAuto();
2542 Eina.Log.Warning($"Callback error: {e.ToString()}");
2543 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2551 return efl_gfx_fill_auto_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2555 private static efl_gfx_fill_auto_get_delegate efl_gfx_fill_auto_get_static_delegate;
2558 private delegate void efl_gfx_fill_auto_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool filled);
2561 public delegate void efl_gfx_fill_auto_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool filled);
2563 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");
2565 private static void fill_auto_set(System.IntPtr obj, System.IntPtr pd, bool filled)
2567 Eina.Log.Debug("function efl_gfx_fill_auto_set was called");
2568 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2574 ((ImageInternal)ws.Target).SetFillAuto(filled);
2578 Eina.Log.Warning($"Callback error: {e.ToString()}");
2579 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2586 efl_gfx_fill_auto_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), filled);
2590 private static efl_gfx_fill_auto_set_delegate efl_gfx_fill_auto_set_static_delegate;
2593 private delegate Eina.Rect.NativeStruct efl_gfx_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
2596 public delegate Eina.Rect.NativeStruct efl_gfx_fill_get_api_delegate(System.IntPtr obj);
2598 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");
2600 private static Eina.Rect.NativeStruct fill_get(System.IntPtr obj, System.IntPtr pd)
2602 Eina.Log.Debug("function efl_gfx_fill_get was called");
2603 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2606 Eina.Rect _ret_var = default(Eina.Rect);
2609 _ret_var = ((ImageInternal)ws.Target).GetFill();
2613 Eina.Log.Warning($"Callback error: {e.ToString()}");
2614 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2622 return efl_gfx_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2626 private static efl_gfx_fill_get_delegate efl_gfx_fill_get_static_delegate;
2629 private delegate void efl_gfx_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct fill);
2632 public delegate void efl_gfx_fill_set_api_delegate(System.IntPtr obj, Eina.Rect.NativeStruct fill);
2634 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");
2636 private static void fill_set(System.IntPtr obj, System.IntPtr pd, Eina.Rect.NativeStruct fill)
2638 Eina.Log.Debug("function efl_gfx_fill_set was called");
2639 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2642 Eina.Rect _in_fill = fill;
2646 ((ImageInternal)ws.Target).SetFill(_in_fill);
2650 Eina.Log.Warning($"Callback error: {e.ToString()}");
2651 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2658 efl_gfx_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
2662 private static efl_gfx_fill_set_delegate efl_gfx_fill_set_static_delegate;
2665 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);
2668 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);
2670 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");
2672 private static void filter_program_get(System.IntPtr obj, System.IntPtr pd, out System.String code, out System.String name)
2674 Eina.Log.Debug("function efl_gfx_filter_program_get was called");
2675 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2678 System.String _out_code = default(System.String);
2679 System.String _out_name = default(System.String);
2683 ((ImageInternal)ws.Target).GetFilterProgram(out _out_code, out _out_name);
2687 Eina.Log.Warning($"Callback error: {e.ToString()}");
2688 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2697 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);
2701 private static efl_gfx_filter_program_get_delegate efl_gfx_filter_program_get_static_delegate;
2704 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);
2707 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);
2709 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");
2711 private static void filter_program_set(System.IntPtr obj, System.IntPtr pd, System.String code, System.String name)
2713 Eina.Log.Debug("function efl_gfx_filter_program_set was called");
2714 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2720 ((ImageInternal)ws.Target).SetFilterProgram(code, name);
2724 Eina.Log.Warning($"Callback error: {e.ToString()}");
2725 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2732 efl_gfx_filter_program_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), code, name);
2736 private static efl_gfx_filter_program_set_delegate efl_gfx_filter_program_set_static_delegate;
2739 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);
2742 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);
2744 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");
2746 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)
2748 Eina.Log.Debug("function efl_gfx_filter_state_get was called");
2749 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2752 System.String _out_cur_state = default(System.String);
2753 cur_val = default(double); System.String _out_next_state = default(System.String);
2754 next_val = default(double); pos = default(double);
2757 ((ImageInternal)ws.Target).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos);
2761 Eina.Log.Warning($"Callback error: {e.ToString()}");
2762 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2765 cur_state = _out_cur_state;
2766 next_state = _out_next_state;
2771 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);
2775 private static efl_gfx_filter_state_get_delegate efl_gfx_filter_state_get_static_delegate;
2778 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);
2781 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);
2783 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");
2785 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)
2787 Eina.Log.Debug("function efl_gfx_filter_state_set was called");
2788 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2794 ((ImageInternal)ws.Target).SetFilterState(cur_state, cur_val, next_state, next_val, pos);
2798 Eina.Log.Warning($"Callback error: {e.ToString()}");
2799 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2806 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);
2810 private static efl_gfx_filter_state_set_delegate efl_gfx_filter_state_set_static_delegate;
2813 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);
2816 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);
2818 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");
2820 private static void filter_padding_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
2822 Eina.Log.Debug("function efl_gfx_filter_padding_get was called");
2823 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2826 l = default(int); r = default(int); t = default(int); b = default(int);
2829 ((ImageInternal)ws.Target).GetFilterPadding(out l, out r, out t, out b);
2833 Eina.Log.Warning($"Callback error: {e.ToString()}");
2834 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2841 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);
2845 private static efl_gfx_filter_padding_get_delegate efl_gfx_filter_padding_get_static_delegate;
2847 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
2848 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);
2850 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
2851 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);
2853 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");
2855 private static Efl.Gfx.IEntity filter_source_get(System.IntPtr obj, System.IntPtr pd, System.String name)
2857 Eina.Log.Debug("function efl_gfx_filter_source_get was called");
2858 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2861 Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
2864 _ret_var = ((ImageInternal)ws.Target).GetFilterSource(name);
2868 Eina.Log.Warning($"Callback error: {e.ToString()}");
2869 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2877 return efl_gfx_filter_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name);
2881 private static efl_gfx_filter_source_get_delegate efl_gfx_filter_source_get_static_delegate;
2884 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);
2887 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);
2889 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");
2891 private static void filter_source_set(System.IntPtr obj, System.IntPtr pd, System.String name, Efl.Gfx.IEntity source)
2893 Eina.Log.Debug("function efl_gfx_filter_source_set was called");
2894 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2900 ((ImageInternal)ws.Target).SetFilterSource(name, source);
2904 Eina.Log.Warning($"Callback error: {e.ToString()}");
2905 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2912 efl_gfx_filter_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, source);
2916 private static efl_gfx_filter_source_set_delegate efl_gfx_filter_source_set_static_delegate;
2919 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);
2922 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);
2924 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");
2926 private static void filter_data_get(System.IntPtr obj, System.IntPtr pd, System.String name, out System.String value, out bool execute)
2928 Eina.Log.Debug("function efl_gfx_filter_data_get was called");
2929 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2932 System.String _out_value = default(System.String);
2933 execute = default(bool);
2936 ((ImageInternal)ws.Target).GetFilterData(name, out _out_value, out execute);
2940 Eina.Log.Warning($"Callback error: {e.ToString()}");
2941 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2949 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);
2953 private static efl_gfx_filter_data_get_delegate efl_gfx_filter_data_get_static_delegate;
2956 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);
2959 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);
2961 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");
2963 private static void filter_data_set(System.IntPtr obj, System.IntPtr pd, System.String name, System.String value, bool execute)
2965 Eina.Log.Debug("function efl_gfx_filter_data_set was called");
2966 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2972 ((ImageInternal)ws.Target).SetFilterData(name, value, execute);
2976 Eina.Log.Warning($"Callback error: {e.ToString()}");
2977 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2984 efl_gfx_filter_data_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), name, value, execute);
2988 private static efl_gfx_filter_data_set_delegate efl_gfx_filter_data_set_static_delegate;
2990 [return: MarshalAs(UnmanagedType.U1)]
2991 private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
2993 [return: MarshalAs(UnmanagedType.U1)]
2994 public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
2996 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");
2998 private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
3000 Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
3001 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3004 bool _ret_var = default(bool);
3007 _ret_var = ((ImageInternal)ws.Target).GetSmoothScale();
3011 Eina.Log.Warning($"Callback error: {e.ToString()}");
3012 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3020 return efl_gfx_image_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3024 private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
3027 private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
3030 public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
3032 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");
3034 private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
3036 Eina.Log.Debug("function efl_gfx_image_smooth_scale_set was called");
3037 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3043 ((ImageInternal)ws.Target).SetSmoothScale(smooth_scale);
3047 Eina.Log.Warning($"Callback error: {e.ToString()}");
3048 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3055 efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
3059 private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_static_delegate;
3062 private delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
3065 public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
3067 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");
3069 private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
3071 Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
3072 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3075 Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
3078 _ret_var = ((ImageInternal)ws.Target).GetScaleType();
3082 Eina.Log.Warning($"Callback error: {e.ToString()}");
3083 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3091 return efl_gfx_image_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3095 private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
3098 private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
3101 public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
3103 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");
3105 private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
3107 Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
3108 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3114 ((ImageInternal)ws.Target).SetScaleType(scale_type);
3118 Eina.Log.Warning($"Callback error: {e.ToString()}");
3119 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3126 efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
3130 private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
3132 [return: MarshalAs(UnmanagedType.U1)]
3133 private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
3135 [return: MarshalAs(UnmanagedType.U1)]
3136 public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
3138 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
3140 private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
3142 Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
3143 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3146 bool _ret_var = default(bool);
3149 _ret_var = ((ImageInternal)ws.Target).GetCanUpscale();
3153 Eina.Log.Warning($"Callback error: {e.ToString()}");
3154 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3162 return efl_gfx_image_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3166 private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
3169 private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
3172 public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
3174 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
3176 private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
3178 Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
3179 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3185 ((ImageInternal)ws.Target).SetCanUpscale(upscale);
3189 Eina.Log.Warning($"Callback error: {e.ToString()}");
3190 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3197 efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
3201 private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
3203 [return: MarshalAs(UnmanagedType.U1)]
3204 private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
3206 [return: MarshalAs(UnmanagedType.U1)]
3207 public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
3209 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
3211 private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
3213 Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
3214 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3217 bool _ret_var = default(bool);
3220 _ret_var = ((ImageInternal)ws.Target).GetCanDownscale();
3224 Eina.Log.Warning($"Callback error: {e.ToString()}");
3225 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3233 return efl_gfx_image_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3237 private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
3240 private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
3243 public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
3245 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
3247 private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
3249 Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
3250 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3256 ((ImageInternal)ws.Target).SetCanDownscale(downscale);
3260 Eina.Log.Warning($"Callback error: {e.ToString()}");
3261 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3268 efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
3272 private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
3275 private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
3278 public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
3280 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");
3282 private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
3284 Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
3285 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3288 double _ret_var = default(double);
3291 _ret_var = ((ImageInternal)ws.Target).GetRatio();
3295 Eina.Log.Warning($"Callback error: {e.ToString()}");
3296 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3304 return efl_gfx_image_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3308 private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
3311 private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
3314 public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
3316 public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
3318 private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
3320 Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
3321 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3324 Eina.Rect _ret_var = default(Eina.Rect);
3327 _ret_var = ((ImageInternal)ws.Target).GetContentRegion();
3331 Eina.Log.Warning($"Callback error: {e.ToString()}");
3332 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3340 return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3344 private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
3347 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);
3350 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);
3352 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");
3354 private static void border_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
3356 Eina.Log.Debug("function efl_gfx_image_border_get was called");
3357 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3360 l = default(int); r = default(int); t = default(int); b = default(int);
3363 ((ImageInternal)ws.Target).GetBorder(out l, out r, out t, out b);
3367 Eina.Log.Warning($"Callback error: {e.ToString()}");
3368 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3375 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);
3379 private static efl_gfx_image_border_get_delegate efl_gfx_image_border_get_static_delegate;
3382 private delegate void efl_gfx_image_border_set_delegate(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b);
3385 public delegate void efl_gfx_image_border_set_api_delegate(System.IntPtr obj, int l, int r, int t, int b);
3387 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");
3389 private static void border_set(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b)
3391 Eina.Log.Debug("function efl_gfx_image_border_set was called");
3392 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3398 ((ImageInternal)ws.Target).SetBorder(l, r, t, b);
3402 Eina.Log.Warning($"Callback error: {e.ToString()}");
3403 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3410 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);
3414 private static efl_gfx_image_border_set_delegate efl_gfx_image_border_set_static_delegate;
3417 private delegate double efl_gfx_image_border_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
3420 public delegate double efl_gfx_image_border_scale_get_api_delegate(System.IntPtr obj);
3422 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");
3424 private static double border_scale_get(System.IntPtr obj, System.IntPtr pd)
3426 Eina.Log.Debug("function efl_gfx_image_border_scale_get was called");
3427 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3430 double _ret_var = default(double);
3433 _ret_var = ((ImageInternal)ws.Target).GetBorderScale();
3437 Eina.Log.Warning($"Callback error: {e.ToString()}");
3438 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3446 return efl_gfx_image_border_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3450 private static efl_gfx_image_border_scale_get_delegate efl_gfx_image_border_scale_get_static_delegate;
3453 private delegate void efl_gfx_image_border_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double scale);
3456 public delegate void efl_gfx_image_border_scale_set_api_delegate(System.IntPtr obj, double scale);
3458 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");
3460 private static void border_scale_set(System.IntPtr obj, System.IntPtr pd, double scale)
3462 Eina.Log.Debug("function efl_gfx_image_border_scale_set was called");
3463 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3469 ((ImageInternal)ws.Target).SetBorderScale(scale);
3473 Eina.Log.Warning($"Callback error: {e.ToString()}");
3474 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3481 efl_gfx_image_border_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale);
3485 private static efl_gfx_image_border_scale_set_delegate efl_gfx_image_border_scale_set_static_delegate;
3488 private delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
3491 public delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_api_delegate(System.IntPtr obj);
3493 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");
3495 private static Efl.Gfx.BorderFillMode border_center_fill_get(System.IntPtr obj, System.IntPtr pd)
3497 Eina.Log.Debug("function efl_gfx_image_border_center_fill_get was called");
3498 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3501 Efl.Gfx.BorderFillMode _ret_var = default(Efl.Gfx.BorderFillMode);
3504 _ret_var = ((ImageInternal)ws.Target).GetBorderCenterFill();
3508 Eina.Log.Warning($"Callback error: {e.ToString()}");
3509 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3517 return efl_gfx_image_border_center_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3521 private static efl_gfx_image_border_center_fill_get_delegate efl_gfx_image_border_center_fill_get_static_delegate;
3524 private delegate void efl_gfx_image_border_center_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill);
3527 public delegate void efl_gfx_image_border_center_fill_set_api_delegate(System.IntPtr obj, Efl.Gfx.BorderFillMode fill);
3529 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");
3531 private static void border_center_fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill)
3533 Eina.Log.Debug("function efl_gfx_image_border_center_fill_set was called");
3534 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3540 ((ImageInternal)ws.Target).SetBorderCenterFill(fill);
3544 Eina.Log.Warning($"Callback error: {e.ToString()}");
3545 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3552 efl_gfx_image_border_center_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
3556 private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
3559 private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
3562 public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
3564 public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
3566 private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
3568 Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
3569 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3572 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
3573 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
3577 ((ImageInternal)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
3581 Eina.Log.Warning($"Callback error: {e.ToString()}");
3582 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3585 horizontal = _out_horizontal.Handle;
3586 vertical = _out_vertical.Handle;
3591 efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
3595 private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
3598 private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
3601 public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
3603 public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
3605 private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
3607 Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
3608 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3611 var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
3612 var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
3613 Eina.Error _ret_var = default(Eina.Error);
3616 _ret_var = ((ImageInternal)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
3620 Eina.Log.Warning($"Callback error: {e.ToString()}");
3621 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3629 return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
3633 private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
3636 private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
3639 public delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_api_delegate(System.IntPtr obj);
3641 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");
3643 private static Eina.Size2D.NativeStruct image_size_get(System.IntPtr obj, System.IntPtr pd)
3645 Eina.Log.Debug("function efl_gfx_image_size_get was called");
3646 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3649 Eina.Size2D _ret_var = default(Eina.Size2D);
3652 _ret_var = ((ImageInternal)ws.Target).GetImageSize();
3656 Eina.Log.Warning($"Callback error: {e.ToString()}");
3657 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3665 return efl_gfx_image_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3669 private static efl_gfx_image_size_get_delegate efl_gfx_image_size_get_static_delegate;
3672 private delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
3675 public delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_api_delegate(System.IntPtr obj);
3677 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");
3679 private static Efl.Gfx.ImageContentHint content_hint_get(System.IntPtr obj, System.IntPtr pd)
3681 Eina.Log.Debug("function efl_gfx_image_content_hint_get was called");
3682 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3685 Efl.Gfx.ImageContentHint _ret_var = default(Efl.Gfx.ImageContentHint);
3688 _ret_var = ((ImageInternal)ws.Target).GetContentHint();
3692 Eina.Log.Warning($"Callback error: {e.ToString()}");
3693 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3701 return efl_gfx_image_content_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3705 private static efl_gfx_image_content_hint_get_delegate efl_gfx_image_content_hint_get_static_delegate;
3708 private delegate void efl_gfx_image_content_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint);
3711 public delegate void efl_gfx_image_content_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageContentHint hint);
3713 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");
3715 private static void content_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint)
3717 Eina.Log.Debug("function efl_gfx_image_content_hint_set was called");
3718 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3724 ((ImageInternal)ws.Target).SetContentHint(hint);
3728 Eina.Log.Warning($"Callback error: {e.ToString()}");
3729 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3736 efl_gfx_image_content_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
3740 private static efl_gfx_image_content_hint_set_delegate efl_gfx_image_content_hint_set_static_delegate;
3743 private delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
3746 public delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_api_delegate(System.IntPtr obj);
3748 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");
3750 private static Efl.Gfx.ImageScaleHint scale_hint_get(System.IntPtr obj, System.IntPtr pd)
3752 Eina.Log.Debug("function efl_gfx_image_scale_hint_get was called");
3753 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3756 Efl.Gfx.ImageScaleHint _ret_var = default(Efl.Gfx.ImageScaleHint);
3759 _ret_var = ((ImageInternal)ws.Target).GetScaleHint();
3763 Eina.Log.Warning($"Callback error: {e.ToString()}");
3764 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3772 return efl_gfx_image_scale_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3776 private static efl_gfx_image_scale_hint_get_delegate efl_gfx_image_scale_hint_get_static_delegate;
3779 private delegate void efl_gfx_image_scale_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint);
3782 public delegate void efl_gfx_image_scale_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleHint hint);
3784 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");
3786 private static void scale_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint)
3788 Eina.Log.Debug("function efl_gfx_image_scale_hint_set was called");
3789 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3795 ((ImageInternal)ws.Target).SetScaleHint(hint);
3799 Eina.Log.Warning($"Callback error: {e.ToString()}");
3800 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3807 efl_gfx_image_scale_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
3811 private static efl_gfx_image_scale_hint_set_delegate efl_gfx_image_scale_hint_set_static_delegate;
3814 private delegate Eina.Error efl_gfx_image_load_error_get_delegate(System.IntPtr obj, System.IntPtr pd);
3817 public delegate Eina.Error efl_gfx_image_load_error_get_api_delegate(System.IntPtr obj);
3819 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");
3821 private static Eina.Error image_load_error_get(System.IntPtr obj, System.IntPtr pd)
3823 Eina.Log.Debug("function efl_gfx_image_load_error_get was called");
3824 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3827 Eina.Error _ret_var = default(Eina.Error);
3830 _ret_var = ((ImageInternal)ws.Target).GetImageLoadError();
3834 Eina.Log.Warning($"Callback error: {e.ToString()}");
3835 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3843 return efl_gfx_image_load_error_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3847 private static efl_gfx_image_load_error_get_delegate efl_gfx_image_load_error_get_static_delegate;
3850 private delegate Efl.Gfx.ImageOrientation efl_gfx_image_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd);
3853 public delegate Efl.Gfx.ImageOrientation efl_gfx_image_orientation_get_api_delegate(System.IntPtr obj);
3855 public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate> efl_gfx_image_orientation_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_get_api_delegate>(Module, "efl_gfx_image_orientation_get");
3857 private static Efl.Gfx.ImageOrientation image_orientation_get(System.IntPtr obj, System.IntPtr pd)
3859 Eina.Log.Debug("function efl_gfx_image_orientation_get was called");
3860 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3863 Efl.Gfx.ImageOrientation _ret_var = default(Efl.Gfx.ImageOrientation);
3866 _ret_var = ((ImageInternal)ws.Target).GetImageOrientation();
3870 Eina.Log.Warning($"Callback error: {e.ToString()}");
3871 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3879 return efl_gfx_image_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3883 private static efl_gfx_image_orientation_get_delegate efl_gfx_image_orientation_get_static_delegate;
3886 private delegate void efl_gfx_image_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir);
3889 public delegate void efl_gfx_image_orientation_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageOrientation dir);
3891 public static Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate> efl_gfx_image_orientation_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_orientation_set_api_delegate>(Module, "efl_gfx_image_orientation_set");
3893 private static void image_orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageOrientation dir)
3895 Eina.Log.Debug("function efl_gfx_image_orientation_set was called");
3896 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3902 ((ImageInternal)ws.Target).SetImageOrientation(dir);
3906 Eina.Log.Warning($"Callback error: {e.ToString()}");
3907 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3914 efl_gfx_image_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir);
3918 private static efl_gfx_image_orientation_set_delegate efl_gfx_image_orientation_set_static_delegate;
3921 private delegate Eina.Size2D.NativeStruct efl_gfx_view_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
3924 public delegate Eina.Size2D.NativeStruct efl_gfx_view_size_get_api_delegate(System.IntPtr obj);
3926 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");
3928 private static Eina.Size2D.NativeStruct view_size_get(System.IntPtr obj, System.IntPtr pd)
3930 Eina.Log.Debug("function efl_gfx_view_size_get was called");
3931 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3934 Eina.Size2D _ret_var = default(Eina.Size2D);
3937 _ret_var = ((ImageInternal)ws.Target).GetViewSize();
3941 Eina.Log.Warning($"Callback error: {e.ToString()}");
3942 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3950 return efl_gfx_view_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
3954 private static efl_gfx_view_size_get_delegate efl_gfx_view_size_get_static_delegate;
3957 private delegate void efl_gfx_view_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size);
3960 public delegate void efl_gfx_view_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size);
3962 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");
3964 private static void view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
3966 Eina.Log.Debug("function efl_gfx_view_size_set was called");
3967 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
3970 Eina.Size2D _in_size = size;
3974 ((ImageInternal)ws.Target).SetViewSize(_in_size);
3978 Eina.Log.Warning($"Callback error: {e.ToString()}");
3979 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
3986 efl_gfx_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
3990 private static efl_gfx_view_size_set_delegate efl_gfx_view_size_set_static_delegate;
3992 #pragma warning restore CA1707, CS1591, SA1300, SA1600
4001 #pragma warning disable CS1591
4002 public static class Efl_CanvasImageInternal_ExtensionMethods {
4003 public static Efl.BindableProperty<bool> FilterChanged<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4004 return new Efl.BindableProperty<bool>("filter_changed", fac);
4007 public static Efl.BindableProperty<bool> FilterInvalid<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4008 return new Efl.BindableProperty<bool>("filter_invalid", fac);
4012 public static Efl.BindableProperty<Eina.Size2D> BufferSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4013 return new Efl.BindableProperty<Eina.Size2D>("buffer_size", fac);
4017 public static Efl.BindableProperty<bool> Alpha<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4018 return new Efl.BindableProperty<bool>("alpha", fac);
4023 public static Efl.BindableProperty<bool> FillAuto<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4024 return new Efl.BindableProperty<bool>("fill_auto", fac);
4027 public static Efl.BindableProperty<Eina.Rect> Fill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4028 return new Efl.BindableProperty<Eina.Rect>("fill", fac);
4036 public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4037 return new Efl.BindableProperty<bool>("smooth_scale", fac);
4040 public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4041 return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
4044 public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4045 return new Efl.BindableProperty<bool>("can_upscale", fac);
4048 public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4049 return new Efl.BindableProperty<bool>("can_downscale", fac);
4055 public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4056 return new Efl.BindableProperty<double>("border_scale", fac);
4059 public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4060 return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
4065 public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4066 return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
4069 public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4070 return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
4074 public static Efl.BindableProperty<Efl.Gfx.ImageOrientation> ImageOrientation<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4075 return new Efl.BindableProperty<Efl.Gfx.ImageOrientation>("image_orientation", fac);
4078 public static Efl.BindableProperty<Eina.Size2D> ViewSize<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Canvas.ImageInternal, T>magic = null) where T : Efl.Canvas.ImageInternal {
4079 return new Efl.BindableProperty<Eina.Size2D>("view_size", fac);
4083 #pragma warning restore CS1591