1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Gfx {
8 /// <summary>Texture UV mapping for all objects (rotation, perspective, 3d, ...).
9 /// Evas allows different transformations to be applied to all kinds of objects. These are applied by means of UV mapping.
11 /// With UV mapping, one maps points in the source object to a 3D space positioning at target. This allows rotation, perspective, scale and lots of other effects, depending on the map that is used.
13 /// Each map point may carry a multiplier color. If properly calculated, these can do shading effects on the object, producing 3D effects.
15 /// At the moment of writing, maps can only have 4 points (no more, no less).
16 /// (Since EFL 1.22)</summary>
17 [IMappingNativeInherit]
18 public interface IMapping :
19 Efl.Eo.IWrapper, IDisposable
21 /// <summary>Number of points of a map.
22 /// This sets the number of points of map. Currently, the number of points must be multiples of 4.
23 /// (Since EFL 1.22)</summary>
24 /// <returns>The number of points of map</returns>
25 int GetMappingPointCount();
26 /// <summary>Number of points of a map.
27 /// This sets the number of points of map. Currently, the number of points must be multiples of 4.
28 /// (Since EFL 1.22)</summary>
29 /// <param name="count">The number of points of map</param>
30 /// <returns></returns>
31 void SetMappingPointCount( int count);
32 /// <summary>Clockwise state of a map (read-only).
33 /// This determines if the output points (X and Y. Z is not used) are clockwise or counter-clockwise. This can be used for "back-face culling". This is where you hide objects that "face away" from you. In this case objects that are not clockwise.
34 /// (Since EFL 1.22)</summary>
35 /// <returns><c>true</c> if clockwise, <c>false</c> if counter clockwise</returns>
36 bool GetMappingClockwise();
37 /// <summary>Smoothing state for map rendering.
38 /// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
39 /// (Since EFL 1.22)</summary>
40 /// <returns><c>true</c> by default.</returns>
41 bool GetMappingSmooth();
42 /// <summary>Smoothing state for map rendering.
43 /// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
44 /// (Since EFL 1.22)</summary>
45 /// <param name="smooth"><c>true</c> by default.</param>
46 /// <returns></returns>
47 void SetMappingSmooth( bool smooth);
48 /// <summary>Alpha flag for map rendering.
49 /// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
51 /// Note that this may conflict with <see cref="Efl.Gfx.IMapping.MappingSmooth"/> depending on which algorithm is used for anti-aliasing.
52 /// (Since EFL 1.22)</summary>
53 /// <returns><c>true</c> by default.</returns>
54 bool GetMappingAlpha();
55 /// <summary>Alpha flag for map rendering.
56 /// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
58 /// Note that this may conflict with <see cref="Efl.Gfx.IMapping.MappingSmooth"/> depending on which algorithm is used for anti-aliasing.
59 /// (Since EFL 1.22)</summary>
60 /// <param name="alpha"><c>true</c> by default.</param>
61 /// <returns></returns>
62 void SetMappingAlpha( bool alpha);
63 /// <summary>A point's absolute coordinate on the canvas.
64 /// This sets/gets the fixed point's coordinate in the map. Note that points describe the outline of a quadrangle and are ordered either clockwise or counter-clockwise. Try to keep your quadrangles concave and non-complex. Though these polygon modes may work, they may not render a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 2 and 3, and 3 and 0 to describe the edges of the quadrangle.
66 /// The X and Y and Z coordinates are in canvas units. Z is optional and may or may not be honored in drawing. Z is a hint and does not affect the X and Y rendered coordinates. It may be used for calculating fills with perspective correct rendering.
68 /// Remember all coordinates are canvas global ones as with move and resize in the canvas.
70 /// This property can be read to get the 4 points positions on the canvas, or set to manually place them.
71 /// (Since EFL 1.22)</summary>
72 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
73 /// <param name="x">Point X coordinate in absolute pixel coordinates.</param>
74 /// <param name="y">Point Y coordinate in absolute pixel coordinates.</param>
75 /// <param name="z">Point Z coordinate hint (pre-perspective transform).</param>
76 /// <returns></returns>
77 void GetMappingCoordAbsolute( int idx, out double x, out double y, out double z);
78 /// <summary>A point's absolute coordinate on the canvas.
79 /// This sets/gets the fixed point's coordinate in the map. Note that points describe the outline of a quadrangle and are ordered either clockwise or counter-clockwise. Try to keep your quadrangles concave and non-complex. Though these polygon modes may work, they may not render a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 2 and 3, and 3 and 0 to describe the edges of the quadrangle.
81 /// The X and Y and Z coordinates are in canvas units. Z is optional and may or may not be honored in drawing. Z is a hint and does not affect the X and Y rendered coordinates. It may be used for calculating fills with perspective correct rendering.
83 /// Remember all coordinates are canvas global ones as with move and resize in the canvas.
85 /// This property can be read to get the 4 points positions on the canvas, or set to manually place them.
86 /// (Since EFL 1.22)</summary>
87 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
88 /// <param name="x">Point X coordinate in absolute pixel coordinates.</param>
89 /// <param name="y">Point Y coordinate in absolute pixel coordinates.</param>
90 /// <param name="z">Point Z coordinate hint (pre-perspective transform).</param>
91 /// <returns></returns>
92 void SetMappingCoordAbsolute( int idx, double x, double y, double z);
93 /// <summary>Map point's U and V texture source point.
94 /// This sets/gets the U and V coordinates for the point. This determines which coordinate in the source image is mapped to the given point, much like OpenGL and textures. Valid values range from 0.0 to 1.0.
96 /// By default the points are set in a clockwise order, as such: - 0: top-left, i.e. (0.0, 0.0), - 1: top-right, i.e. (1.0, 0.0), - 2: bottom-right, i.e. (1.0, 1.0), - 3: bottom-left, i.e. (0.0, 1.0).
97 /// (Since EFL 1.22)</summary>
98 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
99 /// <param name="u">Relative X coordinate within the image, from 0 to 1.</param>
100 /// <param name="v">Relative Y coordinate within the image, from 0 to 1.</param>
101 /// <returns></returns>
102 void GetMappingUv( int idx, out double u, out double v);
103 /// <summary>Map point's U and V texture source point.
104 /// This sets/gets the U and V coordinates for the point. This determines which coordinate in the source image is mapped to the given point, much like OpenGL and textures. Valid values range from 0.0 to 1.0.
106 /// By default the points are set in a clockwise order, as such: - 0: top-left, i.e. (0.0, 0.0), - 1: top-right, i.e. (1.0, 0.0), - 2: bottom-right, i.e. (1.0, 1.0), - 3: bottom-left, i.e. (0.0, 1.0).
107 /// (Since EFL 1.22)</summary>
108 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
109 /// <param name="u">Relative X coordinate within the image, from 0 to 1.</param>
110 /// <param name="v">Relative Y coordinate within the image, from 0 to 1.</param>
111 /// <returns></returns>
112 void SetMappingUv( int idx, double u, double v);
113 /// <summary>Color of a vertex in the map.
114 /// This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.
116 /// The color values must be premultiplied (ie. <c>a</c> >= {<c>r</c>, <c>g</c>, <c>b</c>}).
117 /// (Since EFL 1.22)</summary>
118 /// <param name="idx">ID of the point, from 0 to 3 (included). -1 can be used to set the color for all points, but it is invalid for get().</param>
119 /// <param name="r">Red (0 - 255)</param>
120 /// <param name="g">Green (0 - 255)</param>
121 /// <param name="b">Blue (0 - 255)</param>
122 /// <param name="a">Alpha (0 - 255)</param>
123 /// <returns></returns>
124 void GetMappingColor( int idx, out int r, out int g, out int b, out int a);
125 /// <summary>Color of a vertex in the map.
126 /// This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.
128 /// The color values must be premultiplied (ie. <c>a</c> >= {<c>r</c>, <c>g</c>, <c>b</c>}).
129 /// (Since EFL 1.22)</summary>
130 /// <param name="idx">ID of the point, from 0 to 3 (included). -1 can be used to set the color for all points, but it is invalid for get().</param>
131 /// <param name="r">Red (0 - 255)</param>
132 /// <param name="g">Green (0 - 255)</param>
133 /// <param name="b">Blue (0 - 255)</param>
134 /// <param name="a">Alpha (0 - 255)</param>
135 /// <returns></returns>
136 void SetMappingColor( int idx, int r, int g, int b, int a);
137 /// <summary>Read-only property indicating whether an object is mapped.
138 /// This will be <c>true</c> if any transformation is applied to this object.
139 /// (Since EFL 1.22)</summary>
140 /// <returns><c>true</c> if the object is mapped.</returns>
142 /// <summary>Resets the map transformation to its default state.
143 /// This will reset all transformations to identity, meaning the points' colors, positions and UV coordinates will be reset to their default values. <see cref="Efl.Gfx.IMapping.HasMapping"/> will then return <c>false</c>. This function will not modify the values of <see cref="Efl.Gfx.IMapping.MappingSmooth"/> or <see cref="Efl.Gfx.IMapping.MappingAlpha"/>.
144 /// (Since EFL 1.22)</summary>
145 /// <returns></returns>
147 /// <summary>Apply a translation to the object using map.
148 /// This does not change the real geometry of the object but will affect its visible position.
149 /// (Since EFL 1.22)</summary>
150 /// <param name="dx">Distance in pixels along the X axis.</param>
151 /// <param name="dy">Distance in pixels along the Y axis.</param>
152 /// <param name="dz">Distance in pixels along the Z axis.</param>
153 /// <returns></returns>
154 void Translate( double dx, double dy, double dz);
155 /// <summary>Apply a rotation to the object.
156 /// This rotates the object clockwise by <c>degrees</c> degrees, around the center specified by the relative position (<c>cx</c>, <c>cy</c>) in the <c>pivot</c> object. If <c>pivot</c> is <c>null</c> then this object is used as its own pivot center. 360 degrees is a full rotation, equivalent to no rotation. Negative values for <c>degrees</c> will rotate clockwise by that amount.
158 /// The coordinates are set relative to the given <c>pivot</c> object. If its geometry changes, then the absolute position of the rotation center will change accordingly.
160 /// By default, the center is at (0.5, 0.5). 0.0 means left or top while 1.0 means right or bottom of the <c>pivot</c> object.
161 /// (Since EFL 1.22)</summary>
162 /// <param name="degrees">CCW rotation in degrees.</param>
163 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
164 /// <param name="cx">X relative coordinate of the center point.</param>
165 /// <param name="cy">y relative coordinate of the center point.</param>
166 /// <returns></returns>
167 void Rotate( double degrees, Efl.Gfx.IEntity pivot, double cx, double cy);
168 /// <summary>Rotate the object around 3 axes in 3D.
169 /// This will rotate in 3D, not just around the "Z" axis as is the case with <see cref="Efl.Gfx.IMapping.Rotate"/>. You can rotate around the X, Y and Z axes. The Z axis points "into" the screen with low values at the screen and higher values further away. The X axis runs from left to right on the screen and the Y axis from top to bottom.
171 /// As with <see cref="Efl.Gfx.IMapping.Rotate"/>, you provide a pivot and center point to rotate around (in 3D). The Z coordinate of this center point is an absolute value, and not a relative one like X and Y, as objects are flat in a 2D space.
172 /// (Since EFL 1.22)</summary>
173 /// <param name="dx">Rotation in degrees around X axis (0 to 360).</param>
174 /// <param name="dy">Rotation in degrees around Y axis (0 to 360).</param>
175 /// <param name="dz">Rotation in degrees around Z axis (0 to 360).</param>
176 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
177 /// <param name="cx">X relative coordinate of the center point.</param>
178 /// <param name="cy">y relative coordinate of the center point.</param>
179 /// <param name="cz">Z absolute coordinate of the center point.</param>
180 /// <returns></returns>
181 void Rotate3d( double dx, double dy, double dz, Efl.Gfx.IEntity pivot, double cx, double cy, double cz);
182 /// <summary>Rotate the object in 3D using a unit quaternion.
183 /// This is similar to <see cref="Efl.Gfx.IMapping.Rotate3d"/> but uses a unit quaternion (also known as versor) rather than a direct angle-based rotation around a center point. Use this to avoid gimbal locks.
185 /// As with <see cref="Efl.Gfx.IMapping.Rotate"/>, you provide a pivot and center point to rotate around (in 3D). The Z coordinate of this center point is an absolute value, and not a relative one like X and Y, as objects are flat in a 2D space.
186 /// (Since EFL 1.22)</summary>
187 /// <param name="qx">The x component of the imaginary part of the quaternion.</param>
188 /// <param name="qy">The y component of the imaginary part of the quaternion.</param>
189 /// <param name="qz">The z component of the imaginary part of the quaternion.</param>
190 /// <param name="qw">The w component of the real part of the quaternion.</param>
191 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
192 /// <param name="cx">X relative coordinate of the center point.</param>
193 /// <param name="cy">y relative coordinate of the center point.</param>
194 /// <param name="cz">Z absolute coordinate of the center point.</param>
195 /// <returns></returns>
196 void RotateQuat( double qx, double qy, double qz, double qw, Efl.Gfx.IEntity pivot, double cx, double cy, double cz);
197 /// <summary>Apply a zoom to the object.
198 /// This zooms the points of the map from a center point. That center is defined by <c>cx</c> and <c>cy</c>. The <c>zoomx</c> and <c>zoomy</c> parameters specify how much to zoom in the X and Y direction respectively. A value of 1.0 means "don't zoom". 2.0 means "double the size". 0.5 is "half the size" etc.
200 /// By default, the center is at (0.5, 0.5). 0.0 means left or top while 1.0 means right or bottom.
201 /// (Since EFL 1.22)</summary>
202 /// <param name="zoomx">Zoom in X direction</param>
203 /// <param name="zoomy">Zoom in Y direction</param>
204 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
205 /// <param name="cx">X relative coordinate of the center point.</param>
206 /// <param name="cy">y relative coordinate of the center point.</param>
207 /// <returns></returns>
208 void Zoom( double zoomx, double zoomy, Efl.Gfx.IEntity pivot, double cx, double cy);
209 /// <summary>Apply a lighting effect on the object.
210 /// This is used to apply lighting calculations (from a single light source) to a given mapped object. The R, G and B values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.
212 /// The coordinates are set relative to the given <c>pivot</c> object. If its geometry changes, then the absolute position of the rotation center will change accordingly. The Z position is absolute. If the <c>pivot</c> is <c>null</c> then this object will be its own pivot.
213 /// (Since EFL 1.22)</summary>
214 /// <param name="pivot">A pivot object for the light point, can be <c>null</c>.</param>
215 /// <param name="lx">X relative coordinate in space of light point.</param>
216 /// <param name="ly">Y relative coordinate in space of light point.</param>
217 /// <param name="lz">Z absolute coordinate in space of light point.</param>
218 /// <param name="lr">Light red value (0 - 255).</param>
219 /// <param name="lg">Light green value (0 - 255).</param>
220 /// <param name="lb">Light blue value (0 - 255).</param>
221 /// <param name="ar">Ambient color red value (0 - 255).</param>
222 /// <param name="ag">Ambient color green value (0 - 255).</param>
223 /// <param name="ab">Ambient color blue value (0 - 255).</param>
224 /// <returns></returns>
225 void Lighting3d( Efl.Gfx.IEntity pivot, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab);
226 /// <summary>Apply a perspective transform to the map
227 /// This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The <c>z0</c> value specifies the z value at which there is a 1:1 mapping between spatial coordinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those under this value will expand and become bigger. The <c>foc</c> value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and <c>foc</c> must be greater than 0.
229 /// The coordinates are set relative to the given <c>pivot</c> object. If its geometry changes, then the absolute position of the rotation center will change accordingly. The Z position is absolute. If the <c>pivot</c> is <c>null</c> then this object will be its own pivot.
230 /// (Since EFL 1.22)</summary>
231 /// <param name="pivot">A pivot object for the infinite point, can be <c>null</c>.</param>
232 /// <param name="px">The perspective distance X relative coordinate.</param>
233 /// <param name="py">The perspective distance Y relative coordinate.</param>
234 /// <param name="z0">The "0" Z plane value.</param>
235 /// <param name="foc">The focal distance, must be greater than 0.</param>
236 /// <returns></returns>
237 void Perspective3d( Efl.Gfx.IEntity pivot, double px, double py, double z0, double foc);
238 /// <summary>Apply a rotation to the object, using absolute coordinates.
239 /// This rotates the object clockwise by <c>degrees</c> degrees, around the center specified by the relative position (<c>cx</c>, <c>cy</c>) in the <c>pivot</c> object. If <c>pivot</c> is <c>null</c> then this object is used as its own pivot center. 360 degrees is a full rotation, equivalent to no rotation. Negative values for <c>degrees</c> will rotate clockwise by that amount.
241 /// The given coordinates are absolute values in pixels. See also <see cref="Efl.Gfx.IMapping.Rotate"/> for a relative coordinate version.
242 /// (Since EFL 1.22)</summary>
243 /// <param name="degrees">CCW rotation in degrees.</param>
244 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
245 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
246 /// <returns></returns>
247 void RotateAbsolute( double degrees, double cx, double cy);
248 /// <summary>Rotate the object around 3 axes in 3D, using absolute coordinates.
249 /// This will rotate in 3D and not just around the "Z" axis as the case with <see cref="Efl.Gfx.IMapping.Rotate"/>. This will rotate around the X, Y and Z axes. The Z axis points "into" the screen with low values at the screen and higher values further away. The X axis runs from left to right on the screen and the Y axis from top to bottom.
251 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Rotate3d"/> for a pivot-based 3D rotation.
252 /// (Since EFL 1.22)</summary>
253 /// <param name="dx">Rotation in degrees around X axis (0 to 360).</param>
254 /// <param name="dy">Rotation in degrees around Y axis (0 to 360).</param>
255 /// <param name="dz">Rotation in degrees around Z axis (0 to 360).</param>
256 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
257 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
258 /// <param name="cz">Z absolute coordinate of the center point.</param>
259 /// <returns></returns>
260 void Rotate3dAbsolute( double dx, double dy, double dz, double cx, double cy, double cz);
261 /// <summary>Rotate the object in 3D using a unit quaternion, using absolute coordinates.
262 /// This is similar to <see cref="Efl.Gfx.IMapping.Rotate3d"/> but uses a unit quaternion (also known as versor) rather than a direct angle-based rotation around a center point. Use this to avoid gimbal locks.
264 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.RotateQuat"/> for a pivot-based 3D rotation.
265 /// (Since EFL 1.22)</summary>
266 /// <param name="qx">The x component of the imaginary part of the quaternion.</param>
267 /// <param name="qy">The y component of the imaginary part of the quaternion.</param>
268 /// <param name="qz">The z component of the imaginary part of the quaternion.</param>
269 /// <param name="qw">The w component of the real part of the quaternion.</param>
270 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
271 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
272 /// <param name="cz">Z absolute coordinate of the center point.</param>
273 /// <returns></returns>
274 void RotateQuatAbsolute( double qx, double qy, double qz, double qw, double cx, double cy, double cz);
275 /// <summary>Apply a zoom to the object, using absolute coordinates.
276 /// This zooms the points of the map from a center point. That center is defined by <c>cx</c> and <c>cy</c>. The <c>zoomx</c> and <c>zoomy</c> parameters specify how much to zoom in the X and Y direction respectively. A value of 1.0 means "don't zoom". 2.0 means "double the size". 0.5 is "half the size" etc.
278 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Zoom"/> for a pivot-based zoom.
279 /// (Since EFL 1.22)</summary>
280 /// <param name="zoomx">Zoom in X direction</param>
281 /// <param name="zoomy">Zoom in Y direction</param>
282 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
283 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
284 /// <returns></returns>
285 void ZoomAbsolute( double zoomx, double zoomy, double cx, double cy);
286 /// <summary>Apply a lighting effect to the object.
287 /// This is used to apply lighting calculations (from a single light source) to a given mapped object. The RGB values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color, the ambient color and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.
289 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Lighting3d"/> for a pivot-based lighting effect.
290 /// (Since EFL 1.22)</summary>
291 /// <param name="lx">X absolute coordinate in pixels of the light point.</param>
292 /// <param name="ly">y absolute coordinate in pixels of the light point.</param>
293 /// <param name="lz">Z absolute coordinate in space of light point.</param>
294 /// <param name="lr">Light red value (0 - 255).</param>
295 /// <param name="lg">Light green value (0 - 255).</param>
296 /// <param name="lb">Light blue value (0 - 255).</param>
297 /// <param name="ar">Ambient color red value (0 - 255).</param>
298 /// <param name="ag">Ambient color green value (0 - 255).</param>
299 /// <param name="ab">Ambient color blue value (0 - 255).</param>
300 /// <returns></returns>
301 void Lighting3dAbsolute( double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab);
302 /// <summary>Apply a perspective transform to the map
303 /// This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The <c>z0</c> value specifies the z value at which there is a 1:1 mapping between spatial coordinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those less than this value will expand and become bigger. The <c>foc</c> value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and <c>foc</c> must be greater than 0.
305 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Perspective3d"/> for a pivot-based perspective effect.
306 /// (Since EFL 1.22)</summary>
307 /// <param name="px">The perspective distance X relative coordinate.</param>
308 /// <param name="py">The perspective distance Y relative coordinate.</param>
309 /// <param name="z0">The "0" Z plane value.</param>
310 /// <param name="foc">The focal distance, must be greater than 0.</param>
311 /// <returns></returns>
312 void Perspective3dAbsolute( double px, double py, double z0, double foc);
313 /// <summary>Number of points of a map.
314 /// This sets the number of points of map. Currently, the number of points must be multiples of 4.
315 /// (Since EFL 1.22)</summary>
316 /// <value>The number of points of map</value>
317 int MappingPointCount {
321 /// <summary>Clockwise state of a map (read-only).
322 /// This determines if the output points (X and Y. Z is not used) are clockwise or counter-clockwise. This can be used for "back-face culling". This is where you hide objects that "face away" from you. In this case objects that are not clockwise.
323 /// (Since EFL 1.22)</summary>
324 /// <value><c>true</c> if clockwise, <c>false</c> if counter clockwise</value>
325 bool MappingClockwise {
328 /// <summary>Smoothing state for map rendering.
329 /// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
330 /// (Since EFL 1.22)</summary>
331 /// <value><c>true</c> by default.</value>
336 /// <summary>Alpha flag for map rendering.
337 /// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
339 /// Note that this may conflict with <see cref="Efl.Gfx.IMapping.MappingSmooth"/> depending on which algorithm is used for anti-aliasing.
340 /// (Since EFL 1.22)</summary>
341 /// <value><c>true</c> by default.</value>
347 /// <summary>Texture UV mapping for all objects (rotation, perspective, 3d, ...).
348 /// Evas allows different transformations to be applied to all kinds of objects. These are applied by means of UV mapping.
350 /// With UV mapping, one maps points in the source object to a 3D space positioning at target. This allows rotation, perspective, scale and lots of other effects, depending on the map that is used.
352 /// Each map point may carry a multiplier color. If properly calculated, these can do shading effects on the object, producing 3D effects.
354 /// At the moment of writing, maps can only have 4 points (no more, no less).
355 /// (Since EFL 1.22)</summary>
356 sealed public class IMappingConcrete :
361 ///<summary>Pointer to the native class description.</summary>
362 public System.IntPtr NativeClass {
364 if (((object)this).GetType() == typeof (IMappingConcrete))
365 return Efl.Gfx.IMappingNativeInherit.GetEflClassStatic();
367 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
370 private System.IntPtr handle;
371 ///<summary>Pointer to the native instance.</summary>
372 public System.IntPtr NativeHandle {
373 get { return handle; }
375 [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
376 efl_gfx_mapping_mixin_get();
377 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
378 private IMappingConcrete(System.IntPtr raw)
381 RegisterEventProxies();
383 ///<summary>Destructor.</summary>
388 ///<summary>Releases the underlying native instance.</summary>
389 void Dispose(bool disposing)
391 if (handle != System.IntPtr.Zero) {
392 Efl.Eo.Globals.efl_unref(handle);
393 handle = System.IntPtr.Zero;
396 ///<summary>Releases the underlying native instance.</summary>
397 public void Dispose()
400 GC.SuppressFinalize(this);
402 ///<summary>Verifies if the given object is equal to this one.</summary>
403 public override bool Equals(object obj)
405 var other = obj as Efl.Object;
408 return this.NativeHandle == other.NativeHandle;
410 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
411 public override int GetHashCode()
413 return this.NativeHandle.ToInt32();
415 ///<summary>Turns the native pointer into a string representation.</summary>
416 public override String ToString()
418 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
420 ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
421 void RegisterEventProxies()
424 /// <summary>Number of points of a map.
425 /// This sets the number of points of map. Currently, the number of points must be multiples of 4.
426 /// (Since EFL 1.22)</summary>
427 /// <returns>The number of points of map</returns>
428 public int GetMappingPointCount() {
429 var _ret_var = Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_point_count_get_ptr.Value.Delegate(this.NativeHandle);
430 Eina.Error.RaiseIfUnhandledException();
433 /// <summary>Number of points of a map.
434 /// This sets the number of points of map. Currently, the number of points must be multiples of 4.
435 /// (Since EFL 1.22)</summary>
436 /// <param name="count">The number of points of map</param>
437 /// <returns></returns>
438 public void SetMappingPointCount( int count) {
439 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_point_count_set_ptr.Value.Delegate(this.NativeHandle, count);
440 Eina.Error.RaiseIfUnhandledException();
442 /// <summary>Clockwise state of a map (read-only).
443 /// This determines if the output points (X and Y. Z is not used) are clockwise or counter-clockwise. This can be used for "back-face culling". This is where you hide objects that "face away" from you. In this case objects that are not clockwise.
444 /// (Since EFL 1.22)</summary>
445 /// <returns><c>true</c> if clockwise, <c>false</c> if counter clockwise</returns>
446 public bool GetMappingClockwise() {
447 var _ret_var = Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_clockwise_get_ptr.Value.Delegate(this.NativeHandle);
448 Eina.Error.RaiseIfUnhandledException();
451 /// <summary>Smoothing state for map rendering.
452 /// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
453 /// (Since EFL 1.22)</summary>
454 /// <returns><c>true</c> by default.</returns>
455 public bool GetMappingSmooth() {
456 var _ret_var = Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_smooth_get_ptr.Value.Delegate(this.NativeHandle);
457 Eina.Error.RaiseIfUnhandledException();
460 /// <summary>Smoothing state for map rendering.
461 /// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
462 /// (Since EFL 1.22)</summary>
463 /// <param name="smooth"><c>true</c> by default.</param>
464 /// <returns></returns>
465 public void SetMappingSmooth( bool smooth) {
466 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_smooth_set_ptr.Value.Delegate(this.NativeHandle, smooth);
467 Eina.Error.RaiseIfUnhandledException();
469 /// <summary>Alpha flag for map rendering.
470 /// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
472 /// Note that this may conflict with <see cref="Efl.Gfx.IMapping.MappingSmooth"/> depending on which algorithm is used for anti-aliasing.
473 /// (Since EFL 1.22)</summary>
474 /// <returns><c>true</c> by default.</returns>
475 public bool GetMappingAlpha() {
476 var _ret_var = Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_alpha_get_ptr.Value.Delegate(this.NativeHandle);
477 Eina.Error.RaiseIfUnhandledException();
480 /// <summary>Alpha flag for map rendering.
481 /// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
483 /// Note that this may conflict with <see cref="Efl.Gfx.IMapping.MappingSmooth"/> depending on which algorithm is used for anti-aliasing.
484 /// (Since EFL 1.22)</summary>
485 /// <param name="alpha"><c>true</c> by default.</param>
486 /// <returns></returns>
487 public void SetMappingAlpha( bool alpha) {
488 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_alpha_set_ptr.Value.Delegate(this.NativeHandle, alpha);
489 Eina.Error.RaiseIfUnhandledException();
491 /// <summary>A point's absolute coordinate on the canvas.
492 /// This sets/gets the fixed point's coordinate in the map. Note that points describe the outline of a quadrangle and are ordered either clockwise or counter-clockwise. Try to keep your quadrangles concave and non-complex. Though these polygon modes may work, they may not render a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 2 and 3, and 3 and 0 to describe the edges of the quadrangle.
494 /// The X and Y and Z coordinates are in canvas units. Z is optional and may or may not be honored in drawing. Z is a hint and does not affect the X and Y rendered coordinates. It may be used for calculating fills with perspective correct rendering.
496 /// Remember all coordinates are canvas global ones as with move and resize in the canvas.
498 /// This property can be read to get the 4 points positions on the canvas, or set to manually place them.
499 /// (Since EFL 1.22)</summary>
500 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
501 /// <param name="x">Point X coordinate in absolute pixel coordinates.</param>
502 /// <param name="y">Point Y coordinate in absolute pixel coordinates.</param>
503 /// <param name="z">Point Z coordinate hint (pre-perspective transform).</param>
504 /// <returns></returns>
505 public void GetMappingCoordAbsolute( int idx, out double x, out double y, out double z) {
506 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_coord_absolute_get_ptr.Value.Delegate(this.NativeHandle, idx, out x, out y, out z);
507 Eina.Error.RaiseIfUnhandledException();
509 /// <summary>A point's absolute coordinate on the canvas.
510 /// This sets/gets the fixed point's coordinate in the map. Note that points describe the outline of a quadrangle and are ordered either clockwise or counter-clockwise. Try to keep your quadrangles concave and non-complex. Though these polygon modes may work, they may not render a desired set of output. The quadrangle will use points 0 and 1 , 1 and 2, 2 and 3, and 3 and 0 to describe the edges of the quadrangle.
512 /// The X and Y and Z coordinates are in canvas units. Z is optional and may or may not be honored in drawing. Z is a hint and does not affect the X and Y rendered coordinates. It may be used for calculating fills with perspective correct rendering.
514 /// Remember all coordinates are canvas global ones as with move and resize in the canvas.
516 /// This property can be read to get the 4 points positions on the canvas, or set to manually place them.
517 /// (Since EFL 1.22)</summary>
518 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
519 /// <param name="x">Point X coordinate in absolute pixel coordinates.</param>
520 /// <param name="y">Point Y coordinate in absolute pixel coordinates.</param>
521 /// <param name="z">Point Z coordinate hint (pre-perspective transform).</param>
522 /// <returns></returns>
523 public void SetMappingCoordAbsolute( int idx, double x, double y, double z) {
524 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_coord_absolute_set_ptr.Value.Delegate(this.NativeHandle, idx, x, y, z);
525 Eina.Error.RaiseIfUnhandledException();
527 /// <summary>Map point's U and V texture source point.
528 /// This sets/gets the U and V coordinates for the point. This determines which coordinate in the source image is mapped to the given point, much like OpenGL and textures. Valid values range from 0.0 to 1.0.
530 /// By default the points are set in a clockwise order, as such: - 0: top-left, i.e. (0.0, 0.0), - 1: top-right, i.e. (1.0, 0.0), - 2: bottom-right, i.e. (1.0, 1.0), - 3: bottom-left, i.e. (0.0, 1.0).
531 /// (Since EFL 1.22)</summary>
532 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
533 /// <param name="u">Relative X coordinate within the image, from 0 to 1.</param>
534 /// <param name="v">Relative Y coordinate within the image, from 0 to 1.</param>
535 /// <returns></returns>
536 public void GetMappingUv( int idx, out double u, out double v) {
537 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_uv_get_ptr.Value.Delegate(this.NativeHandle, idx, out u, out v);
538 Eina.Error.RaiseIfUnhandledException();
540 /// <summary>Map point's U and V texture source point.
541 /// This sets/gets the U and V coordinates for the point. This determines which coordinate in the source image is mapped to the given point, much like OpenGL and textures. Valid values range from 0.0 to 1.0.
543 /// By default the points are set in a clockwise order, as such: - 0: top-left, i.e. (0.0, 0.0), - 1: top-right, i.e. (1.0, 0.0), - 2: bottom-right, i.e. (1.0, 1.0), - 3: bottom-left, i.e. (0.0, 1.0).
544 /// (Since EFL 1.22)</summary>
545 /// <param name="idx">ID of the point, from 0 to 3 (included).</param>
546 /// <param name="u">Relative X coordinate within the image, from 0 to 1.</param>
547 /// <param name="v">Relative Y coordinate within the image, from 0 to 1.</param>
548 /// <returns></returns>
549 public void SetMappingUv( int idx, double u, double v) {
550 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_uv_set_ptr.Value.Delegate(this.NativeHandle, idx, u, v);
551 Eina.Error.RaiseIfUnhandledException();
553 /// <summary>Color of a vertex in the map.
554 /// This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.
556 /// The color values must be premultiplied (ie. <c>a</c> >= {<c>r</c>, <c>g</c>, <c>b</c>}).
557 /// (Since EFL 1.22)</summary>
558 /// <param name="idx">ID of the point, from 0 to 3 (included). -1 can be used to set the color for all points, but it is invalid for get().</param>
559 /// <param name="r">Red (0 - 255)</param>
560 /// <param name="g">Green (0 - 255)</param>
561 /// <param name="b">Blue (0 - 255)</param>
562 /// <param name="a">Alpha (0 - 255)</param>
563 /// <returns></returns>
564 public void GetMappingColor( int idx, out int r, out int g, out int b, out int a) {
565 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_color_get_ptr.Value.Delegate(this.NativeHandle, idx, out r, out g, out b, out a);
566 Eina.Error.RaiseIfUnhandledException();
568 /// <summary>Color of a vertex in the map.
569 /// This sets the color of the vertex in the map. Colors will be linearly interpolated between vertex points through the map. Color will multiply the "texture" pixels (like GL_MODULATE in OpenGL). The default color of a vertex in a map is white solid (255, 255, 255, 255) which means it will have no affect on modifying the texture pixels.
571 /// The color values must be premultiplied (ie. <c>a</c> >= {<c>r</c>, <c>g</c>, <c>b</c>}).
572 /// (Since EFL 1.22)</summary>
573 /// <param name="idx">ID of the point, from 0 to 3 (included). -1 can be used to set the color for all points, but it is invalid for get().</param>
574 /// <param name="r">Red (0 - 255)</param>
575 /// <param name="g">Green (0 - 255)</param>
576 /// <param name="b">Blue (0 - 255)</param>
577 /// <param name="a">Alpha (0 - 255)</param>
578 /// <returns></returns>
579 public void SetMappingColor( int idx, int r, int g, int b, int a) {
580 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_color_set_ptr.Value.Delegate(this.NativeHandle, idx, r, g, b, a);
581 Eina.Error.RaiseIfUnhandledException();
583 /// <summary>Read-only property indicating whether an object is mapped.
584 /// This will be <c>true</c> if any transformation is applied to this object.
585 /// (Since EFL 1.22)</summary>
586 /// <returns><c>true</c> if the object is mapped.</returns>
587 public bool HasMapping() {
588 var _ret_var = Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_has_ptr.Value.Delegate(this.NativeHandle);
589 Eina.Error.RaiseIfUnhandledException();
592 /// <summary>Resets the map transformation to its default state.
593 /// This will reset all transformations to identity, meaning the points' colors, positions and UV coordinates will be reset to their default values. <see cref="Efl.Gfx.IMapping.HasMapping"/> will then return <c>false</c>. This function will not modify the values of <see cref="Efl.Gfx.IMapping.MappingSmooth"/> or <see cref="Efl.Gfx.IMapping.MappingAlpha"/>.
594 /// (Since EFL 1.22)</summary>
595 /// <returns></returns>
596 public void ResetMapping() {
597 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_reset_ptr.Value.Delegate(this.NativeHandle);
598 Eina.Error.RaiseIfUnhandledException();
600 /// <summary>Apply a translation to the object using map.
601 /// This does not change the real geometry of the object but will affect its visible position.
602 /// (Since EFL 1.22)</summary>
603 /// <param name="dx">Distance in pixels along the X axis.</param>
604 /// <param name="dy">Distance in pixels along the Y axis.</param>
605 /// <param name="dz">Distance in pixels along the Z axis.</param>
606 /// <returns></returns>
607 public void Translate( double dx, double dy, double dz) {
608 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_translate_ptr.Value.Delegate(this.NativeHandle, dx, dy, dz);
609 Eina.Error.RaiseIfUnhandledException();
611 /// <summary>Apply a rotation to the object.
612 /// This rotates the object clockwise by <c>degrees</c> degrees, around the center specified by the relative position (<c>cx</c>, <c>cy</c>) in the <c>pivot</c> object. If <c>pivot</c> is <c>null</c> then this object is used as its own pivot center. 360 degrees is a full rotation, equivalent to no rotation. Negative values for <c>degrees</c> will rotate clockwise by that amount.
614 /// The coordinates are set relative to the given <c>pivot</c> object. If its geometry changes, then the absolute position of the rotation center will change accordingly.
616 /// By default, the center is at (0.5, 0.5). 0.0 means left or top while 1.0 means right or bottom of the <c>pivot</c> object.
617 /// (Since EFL 1.22)</summary>
618 /// <param name="degrees">CCW rotation in degrees.</param>
619 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
620 /// <param name="cx">X relative coordinate of the center point.</param>
621 /// <param name="cy">y relative coordinate of the center point.</param>
622 /// <returns></returns>
623 public void Rotate( double degrees, Efl.Gfx.IEntity pivot, double cx, double cy) {
624 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_rotate_ptr.Value.Delegate(this.NativeHandle, degrees, pivot, cx, cy);
625 Eina.Error.RaiseIfUnhandledException();
627 /// <summary>Rotate the object around 3 axes in 3D.
628 /// This will rotate in 3D, not just around the "Z" axis as is the case with <see cref="Efl.Gfx.IMapping.Rotate"/>. You can rotate around the X, Y and Z axes. The Z axis points "into" the screen with low values at the screen and higher values further away. The X axis runs from left to right on the screen and the Y axis from top to bottom.
630 /// As with <see cref="Efl.Gfx.IMapping.Rotate"/>, you provide a pivot and center point to rotate around (in 3D). The Z coordinate of this center point is an absolute value, and not a relative one like X and Y, as objects are flat in a 2D space.
631 /// (Since EFL 1.22)</summary>
632 /// <param name="dx">Rotation in degrees around X axis (0 to 360).</param>
633 /// <param name="dy">Rotation in degrees around Y axis (0 to 360).</param>
634 /// <param name="dz">Rotation in degrees around Z axis (0 to 360).</param>
635 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
636 /// <param name="cx">X relative coordinate of the center point.</param>
637 /// <param name="cy">y relative coordinate of the center point.</param>
638 /// <param name="cz">Z absolute coordinate of the center point.</param>
639 /// <returns></returns>
640 public void Rotate3d( double dx, double dy, double dz, Efl.Gfx.IEntity pivot, double cx, double cy, double cz) {
641 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_rotate_3d_ptr.Value.Delegate(this.NativeHandle, dx, dy, dz, pivot, cx, cy, cz);
642 Eina.Error.RaiseIfUnhandledException();
644 /// <summary>Rotate the object in 3D using a unit quaternion.
645 /// This is similar to <see cref="Efl.Gfx.IMapping.Rotate3d"/> but uses a unit quaternion (also known as versor) rather than a direct angle-based rotation around a center point. Use this to avoid gimbal locks.
647 /// As with <see cref="Efl.Gfx.IMapping.Rotate"/>, you provide a pivot and center point to rotate around (in 3D). The Z coordinate of this center point is an absolute value, and not a relative one like X and Y, as objects are flat in a 2D space.
648 /// (Since EFL 1.22)</summary>
649 /// <param name="qx">The x component of the imaginary part of the quaternion.</param>
650 /// <param name="qy">The y component of the imaginary part of the quaternion.</param>
651 /// <param name="qz">The z component of the imaginary part of the quaternion.</param>
652 /// <param name="qw">The w component of the real part of the quaternion.</param>
653 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
654 /// <param name="cx">X relative coordinate of the center point.</param>
655 /// <param name="cy">y relative coordinate of the center point.</param>
656 /// <param name="cz">Z absolute coordinate of the center point.</param>
657 /// <returns></returns>
658 public void RotateQuat( double qx, double qy, double qz, double qw, Efl.Gfx.IEntity pivot, double cx, double cy, double cz) {
659 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_rotate_quat_ptr.Value.Delegate(this.NativeHandle, qx, qy, qz, qw, pivot, cx, cy, cz);
660 Eina.Error.RaiseIfUnhandledException();
662 /// <summary>Apply a zoom to the object.
663 /// This zooms the points of the map from a center point. That center is defined by <c>cx</c> and <c>cy</c>. The <c>zoomx</c> and <c>zoomy</c> parameters specify how much to zoom in the X and Y direction respectively. A value of 1.0 means "don't zoom". 2.0 means "double the size". 0.5 is "half the size" etc.
665 /// By default, the center is at (0.5, 0.5). 0.0 means left or top while 1.0 means right or bottom.
666 /// (Since EFL 1.22)</summary>
667 /// <param name="zoomx">Zoom in X direction</param>
668 /// <param name="zoomy">Zoom in Y direction</param>
669 /// <param name="pivot">A pivot object for the center point, can be <c>null</c>.</param>
670 /// <param name="cx">X relative coordinate of the center point.</param>
671 /// <param name="cy">y relative coordinate of the center point.</param>
672 /// <returns></returns>
673 public void Zoom( double zoomx, double zoomy, Efl.Gfx.IEntity pivot, double cx, double cy) {
674 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_zoom_ptr.Value.Delegate(this.NativeHandle, zoomx, zoomy, pivot, cx, cy);
675 Eina.Error.RaiseIfUnhandledException();
677 /// <summary>Apply a lighting effect on the object.
678 /// This is used to apply lighting calculations (from a single light source) to a given mapped object. The R, G and B values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color and the ambient color, and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.
680 /// The coordinates are set relative to the given <c>pivot</c> object. If its geometry changes, then the absolute position of the rotation center will change accordingly. The Z position is absolute. If the <c>pivot</c> is <c>null</c> then this object will be its own pivot.
681 /// (Since EFL 1.22)</summary>
682 /// <param name="pivot">A pivot object for the light point, can be <c>null</c>.</param>
683 /// <param name="lx">X relative coordinate in space of light point.</param>
684 /// <param name="ly">Y relative coordinate in space of light point.</param>
685 /// <param name="lz">Z absolute coordinate in space of light point.</param>
686 /// <param name="lr">Light red value (0 - 255).</param>
687 /// <param name="lg">Light green value (0 - 255).</param>
688 /// <param name="lb">Light blue value (0 - 255).</param>
689 /// <param name="ar">Ambient color red value (0 - 255).</param>
690 /// <param name="ag">Ambient color green value (0 - 255).</param>
691 /// <param name="ab">Ambient color blue value (0 - 255).</param>
692 /// <returns></returns>
693 public void Lighting3d( Efl.Gfx.IEntity pivot, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab) {
694 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_lighting_3d_ptr.Value.Delegate(this.NativeHandle, pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab);
695 Eina.Error.RaiseIfUnhandledException();
697 /// <summary>Apply a perspective transform to the map
698 /// This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The <c>z0</c> value specifies the z value at which there is a 1:1 mapping between spatial coordinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those under this value will expand and become bigger. The <c>foc</c> value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and <c>foc</c> must be greater than 0.
700 /// The coordinates are set relative to the given <c>pivot</c> object. If its geometry changes, then the absolute position of the rotation center will change accordingly. The Z position is absolute. If the <c>pivot</c> is <c>null</c> then this object will be its own pivot.
701 /// (Since EFL 1.22)</summary>
702 /// <param name="pivot">A pivot object for the infinite point, can be <c>null</c>.</param>
703 /// <param name="px">The perspective distance X relative coordinate.</param>
704 /// <param name="py">The perspective distance Y relative coordinate.</param>
705 /// <param name="z0">The "0" Z plane value.</param>
706 /// <param name="foc">The focal distance, must be greater than 0.</param>
707 /// <returns></returns>
708 public void Perspective3d( Efl.Gfx.IEntity pivot, double px, double py, double z0, double foc) {
709 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_perspective_3d_ptr.Value.Delegate(this.NativeHandle, pivot, px, py, z0, foc);
710 Eina.Error.RaiseIfUnhandledException();
712 /// <summary>Apply a rotation to the object, using absolute coordinates.
713 /// This rotates the object clockwise by <c>degrees</c> degrees, around the center specified by the relative position (<c>cx</c>, <c>cy</c>) in the <c>pivot</c> object. If <c>pivot</c> is <c>null</c> then this object is used as its own pivot center. 360 degrees is a full rotation, equivalent to no rotation. Negative values for <c>degrees</c> will rotate clockwise by that amount.
715 /// The given coordinates are absolute values in pixels. See also <see cref="Efl.Gfx.IMapping.Rotate"/> for a relative coordinate version.
716 /// (Since EFL 1.22)</summary>
717 /// <param name="degrees">CCW rotation in degrees.</param>
718 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
719 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
720 /// <returns></returns>
721 public void RotateAbsolute( double degrees, double cx, double cy) {
722 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_rotate_absolute_ptr.Value.Delegate(this.NativeHandle, degrees, cx, cy);
723 Eina.Error.RaiseIfUnhandledException();
725 /// <summary>Rotate the object around 3 axes in 3D, using absolute coordinates.
726 /// This will rotate in 3D and not just around the "Z" axis as the case with <see cref="Efl.Gfx.IMapping.Rotate"/>. This will rotate around the X, Y and Z axes. The Z axis points "into" the screen with low values at the screen and higher values further away. The X axis runs from left to right on the screen and the Y axis from top to bottom.
728 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Rotate3d"/> for a pivot-based 3D rotation.
729 /// (Since EFL 1.22)</summary>
730 /// <param name="dx">Rotation in degrees around X axis (0 to 360).</param>
731 /// <param name="dy">Rotation in degrees around Y axis (0 to 360).</param>
732 /// <param name="dz">Rotation in degrees around Z axis (0 to 360).</param>
733 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
734 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
735 /// <param name="cz">Z absolute coordinate of the center point.</param>
736 /// <returns></returns>
737 public void Rotate3dAbsolute( double dx, double dy, double dz, double cx, double cy, double cz) {
738 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_rotate_3d_absolute_ptr.Value.Delegate(this.NativeHandle, dx, dy, dz, cx, cy, cz);
739 Eina.Error.RaiseIfUnhandledException();
741 /// <summary>Rotate the object in 3D using a unit quaternion, using absolute coordinates.
742 /// This is similar to <see cref="Efl.Gfx.IMapping.Rotate3d"/> but uses a unit quaternion (also known as versor) rather than a direct angle-based rotation around a center point. Use this to avoid gimbal locks.
744 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.RotateQuat"/> for a pivot-based 3D rotation.
745 /// (Since EFL 1.22)</summary>
746 /// <param name="qx">The x component of the imaginary part of the quaternion.</param>
747 /// <param name="qy">The y component of the imaginary part of the quaternion.</param>
748 /// <param name="qz">The z component of the imaginary part of the quaternion.</param>
749 /// <param name="qw">The w component of the real part of the quaternion.</param>
750 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
751 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
752 /// <param name="cz">Z absolute coordinate of the center point.</param>
753 /// <returns></returns>
754 public void RotateQuatAbsolute( double qx, double qy, double qz, double qw, double cx, double cy, double cz) {
755 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_rotate_quat_absolute_ptr.Value.Delegate(this.NativeHandle, qx, qy, qz, qw, cx, cy, cz);
756 Eina.Error.RaiseIfUnhandledException();
758 /// <summary>Apply a zoom to the object, using absolute coordinates.
759 /// This zooms the points of the map from a center point. That center is defined by <c>cx</c> and <c>cy</c>. The <c>zoomx</c> and <c>zoomy</c> parameters specify how much to zoom in the X and Y direction respectively. A value of 1.0 means "don't zoom". 2.0 means "double the size". 0.5 is "half the size" etc.
761 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Zoom"/> for a pivot-based zoom.
762 /// (Since EFL 1.22)</summary>
763 /// <param name="zoomx">Zoom in X direction</param>
764 /// <param name="zoomy">Zoom in Y direction</param>
765 /// <param name="cx">X absolute coordinate in pixels of the center point.</param>
766 /// <param name="cy">y absolute coordinate in pixels of the center point.</param>
767 /// <returns></returns>
768 public void ZoomAbsolute( double zoomx, double zoomy, double cx, double cy) {
769 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_zoom_absolute_ptr.Value.Delegate(this.NativeHandle, zoomx, zoomy, cx, cy);
770 Eina.Error.RaiseIfUnhandledException();
772 /// <summary>Apply a lighting effect to the object.
773 /// This is used to apply lighting calculations (from a single light source) to a given mapped object. The RGB values of each vertex will be modified to reflect the lighting based on the light point coordinates, the light color, the ambient color and at what angle the map is facing the light source. A surface should have its points be declared in a clockwise fashion if the face is "facing" towards you (as opposed to away from you) as faces have a "logical" side for lighting.
775 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Lighting3d"/> for a pivot-based lighting effect.
776 /// (Since EFL 1.22)</summary>
777 /// <param name="lx">X absolute coordinate in pixels of the light point.</param>
778 /// <param name="ly">y absolute coordinate in pixels of the light point.</param>
779 /// <param name="lz">Z absolute coordinate in space of light point.</param>
780 /// <param name="lr">Light red value (0 - 255).</param>
781 /// <param name="lg">Light green value (0 - 255).</param>
782 /// <param name="lb">Light blue value (0 - 255).</param>
783 /// <param name="ar">Ambient color red value (0 - 255).</param>
784 /// <param name="ag">Ambient color green value (0 - 255).</param>
785 /// <param name="ab">Ambient color blue value (0 - 255).</param>
786 /// <returns></returns>
787 public void Lighting3dAbsolute( double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab) {
788 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_lighting_3d_absolute_ptr.Value.Delegate(this.NativeHandle, lx, ly, lz, lr, lg, lb, ar, ag, ab);
789 Eina.Error.RaiseIfUnhandledException();
791 /// <summary>Apply a perspective transform to the map
792 /// This applies a given perspective (3D) to the map coordinates. X, Y and Z values are used. The px and py points specify the "infinite distance" point in the 3D conversion (where all lines converge to like when artists draw 3D by hand). The <c>z0</c> value specifies the z value at which there is a 1:1 mapping between spatial coordinates and screen coordinates. Any points on this z value will not have their X and Y values modified in the transform. Those further away (Z value higher) will shrink into the distance, and those less than this value will expand and become bigger. The <c>foc</c> value determines the "focal length" of the camera. This is in reality the distance between the camera lens plane itself (at or closer than this rendering results are undefined) and the "z0" z value. This allows for some "depth" control and <c>foc</c> must be greater than 0.
794 /// The coordinates of the center point are given in absolute canvas coordinates. See also <see cref="Efl.Gfx.IMapping.Perspective3d"/> for a pivot-based perspective effect.
795 /// (Since EFL 1.22)</summary>
796 /// <param name="px">The perspective distance X relative coordinate.</param>
797 /// <param name="py">The perspective distance Y relative coordinate.</param>
798 /// <param name="z0">The "0" Z plane value.</param>
799 /// <param name="foc">The focal distance, must be greater than 0.</param>
800 /// <returns></returns>
801 public void Perspective3dAbsolute( double px, double py, double z0, double foc) {
802 Efl.Gfx.IMappingNativeInherit.efl_gfx_mapping_perspective_3d_absolute_ptr.Value.Delegate(this.NativeHandle, px, py, z0, foc);
803 Eina.Error.RaiseIfUnhandledException();
805 /// <summary>Number of points of a map.
806 /// This sets the number of points of map. Currently, the number of points must be multiples of 4.
807 /// (Since EFL 1.22)</summary>
808 /// <value>The number of points of map</value>
809 public int MappingPointCount {
810 get { return GetMappingPointCount(); }
811 set { SetMappingPointCount( value); }
813 /// <summary>Clockwise state of a map (read-only).
814 /// This determines if the output points (X and Y. Z is not used) are clockwise or counter-clockwise. This can be used for "back-face culling". This is where you hide objects that "face away" from you. In this case objects that are not clockwise.
815 /// (Since EFL 1.22)</summary>
816 /// <value><c>true</c> if clockwise, <c>false</c> if counter clockwise</value>
817 public bool MappingClockwise {
818 get { return GetMappingClockwise(); }
820 /// <summary>Smoothing state for map rendering.
821 /// This sets smoothing for map rendering. If the object is a type that has its own smoothing settings, then both the smooth settings for this object and the map must be turned off. By default smooth maps are enabled.
822 /// (Since EFL 1.22)</summary>
823 /// <value><c>true</c> by default.</value>
824 public bool MappingSmooth {
825 get { return GetMappingSmooth(); }
826 set { SetMappingSmooth( value); }
828 /// <summary>Alpha flag for map rendering.
829 /// This sets alpha flag for map rendering. If the object is a type that has its own alpha settings, then this will take precedence. Only image objects support this currently (<see cref="Efl.Canvas.Image"/> and its friends). Setting this to off stops alpha blending of the map area, and is useful if you know the object and/or all sub-objects is 100% solid.
831 /// Note that this may conflict with <see cref="Efl.Gfx.IMapping.MappingSmooth"/> depending on which algorithm is used for anti-aliasing.
832 /// (Since EFL 1.22)</summary>
833 /// <value><c>true</c> by default.</value>
834 public bool MappingAlpha {
835 get { return GetMappingAlpha(); }
836 set { SetMappingAlpha( value); }
838 private static IntPtr GetEflClassStatic()
840 return Efl.Gfx.IMappingConcrete.efl_gfx_mapping_mixin_get();
843 public class IMappingNativeInherit : Efl.Eo.NativeClass{
844 public static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Evas);
845 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
847 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
848 var methods = Efl.Eo.Globals.GetUserMethods(type);
849 if (efl_gfx_mapping_point_count_get_static_delegate == null)
850 efl_gfx_mapping_point_count_get_static_delegate = new efl_gfx_mapping_point_count_get_delegate(mapping_point_count_get);
851 if (methods.FirstOrDefault(m => m.Name == "GetMappingPointCount") != null)
852 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_point_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_point_count_get_static_delegate)});
853 if (efl_gfx_mapping_point_count_set_static_delegate == null)
854 efl_gfx_mapping_point_count_set_static_delegate = new efl_gfx_mapping_point_count_set_delegate(mapping_point_count_set);
855 if (methods.FirstOrDefault(m => m.Name == "SetMappingPointCount") != null)
856 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_point_count_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_point_count_set_static_delegate)});
857 if (efl_gfx_mapping_clockwise_get_static_delegate == null)
858 efl_gfx_mapping_clockwise_get_static_delegate = new efl_gfx_mapping_clockwise_get_delegate(mapping_clockwise_get);
859 if (methods.FirstOrDefault(m => m.Name == "GetMappingClockwise") != null)
860 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_clockwise_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_clockwise_get_static_delegate)});
861 if (efl_gfx_mapping_smooth_get_static_delegate == null)
862 efl_gfx_mapping_smooth_get_static_delegate = new efl_gfx_mapping_smooth_get_delegate(mapping_smooth_get);
863 if (methods.FirstOrDefault(m => m.Name == "GetMappingSmooth") != null)
864 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_smooth_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_smooth_get_static_delegate)});
865 if (efl_gfx_mapping_smooth_set_static_delegate == null)
866 efl_gfx_mapping_smooth_set_static_delegate = new efl_gfx_mapping_smooth_set_delegate(mapping_smooth_set);
867 if (methods.FirstOrDefault(m => m.Name == "SetMappingSmooth") != null)
868 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_smooth_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_smooth_set_static_delegate)});
869 if (efl_gfx_mapping_alpha_get_static_delegate == null)
870 efl_gfx_mapping_alpha_get_static_delegate = new efl_gfx_mapping_alpha_get_delegate(mapping_alpha_get);
871 if (methods.FirstOrDefault(m => m.Name == "GetMappingAlpha") != null)
872 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_alpha_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_alpha_get_static_delegate)});
873 if (efl_gfx_mapping_alpha_set_static_delegate == null)
874 efl_gfx_mapping_alpha_set_static_delegate = new efl_gfx_mapping_alpha_set_delegate(mapping_alpha_set);
875 if (methods.FirstOrDefault(m => m.Name == "SetMappingAlpha") != null)
876 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_alpha_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_alpha_set_static_delegate)});
877 if (efl_gfx_mapping_coord_absolute_get_static_delegate == null)
878 efl_gfx_mapping_coord_absolute_get_static_delegate = new efl_gfx_mapping_coord_absolute_get_delegate(mapping_coord_absolute_get);
879 if (methods.FirstOrDefault(m => m.Name == "GetMappingCoordAbsolute") != null)
880 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_coord_absolute_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_coord_absolute_get_static_delegate)});
881 if (efl_gfx_mapping_coord_absolute_set_static_delegate == null)
882 efl_gfx_mapping_coord_absolute_set_static_delegate = new efl_gfx_mapping_coord_absolute_set_delegate(mapping_coord_absolute_set);
883 if (methods.FirstOrDefault(m => m.Name == "SetMappingCoordAbsolute") != null)
884 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_coord_absolute_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_coord_absolute_set_static_delegate)});
885 if (efl_gfx_mapping_uv_get_static_delegate == null)
886 efl_gfx_mapping_uv_get_static_delegate = new efl_gfx_mapping_uv_get_delegate(mapping_uv_get);
887 if (methods.FirstOrDefault(m => m.Name == "GetMappingUv") != null)
888 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_uv_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_uv_get_static_delegate)});
889 if (efl_gfx_mapping_uv_set_static_delegate == null)
890 efl_gfx_mapping_uv_set_static_delegate = new efl_gfx_mapping_uv_set_delegate(mapping_uv_set);
891 if (methods.FirstOrDefault(m => m.Name == "SetMappingUv") != null)
892 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_uv_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_uv_set_static_delegate)});
893 if (efl_gfx_mapping_color_get_static_delegate == null)
894 efl_gfx_mapping_color_get_static_delegate = new efl_gfx_mapping_color_get_delegate(mapping_color_get);
895 if (methods.FirstOrDefault(m => m.Name == "GetMappingColor") != null)
896 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_color_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_color_get_static_delegate)});
897 if (efl_gfx_mapping_color_set_static_delegate == null)
898 efl_gfx_mapping_color_set_static_delegate = new efl_gfx_mapping_color_set_delegate(mapping_color_set);
899 if (methods.FirstOrDefault(m => m.Name == "SetMappingColor") != null)
900 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_color_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_color_set_static_delegate)});
901 if (efl_gfx_mapping_has_static_delegate == null)
902 efl_gfx_mapping_has_static_delegate = new efl_gfx_mapping_has_delegate(mapping_has);
903 if (methods.FirstOrDefault(m => m.Name == "HasMapping") != null)
904 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_has"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_has_static_delegate)});
905 if (efl_gfx_mapping_reset_static_delegate == null)
906 efl_gfx_mapping_reset_static_delegate = new efl_gfx_mapping_reset_delegate(mapping_reset);
907 if (methods.FirstOrDefault(m => m.Name == "ResetMapping") != null)
908 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_reset"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_reset_static_delegate)});
909 if (efl_gfx_mapping_translate_static_delegate == null)
910 efl_gfx_mapping_translate_static_delegate = new efl_gfx_mapping_translate_delegate(translate);
911 if (methods.FirstOrDefault(m => m.Name == "Translate") != null)
912 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_translate"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_translate_static_delegate)});
913 if (efl_gfx_mapping_rotate_static_delegate == null)
914 efl_gfx_mapping_rotate_static_delegate = new efl_gfx_mapping_rotate_delegate(rotate);
915 if (methods.FirstOrDefault(m => m.Name == "Rotate") != null)
916 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_rotate"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_rotate_static_delegate)});
917 if (efl_gfx_mapping_rotate_3d_static_delegate == null)
918 efl_gfx_mapping_rotate_3d_static_delegate = new efl_gfx_mapping_rotate_3d_delegate(rotate_3d);
919 if (methods.FirstOrDefault(m => m.Name == "Rotate3d") != null)
920 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_rotate_3d"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_rotate_3d_static_delegate)});
921 if (efl_gfx_mapping_rotate_quat_static_delegate == null)
922 efl_gfx_mapping_rotate_quat_static_delegate = new efl_gfx_mapping_rotate_quat_delegate(rotate_quat);
923 if (methods.FirstOrDefault(m => m.Name == "RotateQuat") != null)
924 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_rotate_quat"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_rotate_quat_static_delegate)});
925 if (efl_gfx_mapping_zoom_static_delegate == null)
926 efl_gfx_mapping_zoom_static_delegate = new efl_gfx_mapping_zoom_delegate(zoom);
927 if (methods.FirstOrDefault(m => m.Name == "Zoom") != null)
928 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_zoom"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_zoom_static_delegate)});
929 if (efl_gfx_mapping_lighting_3d_static_delegate == null)
930 efl_gfx_mapping_lighting_3d_static_delegate = new efl_gfx_mapping_lighting_3d_delegate(lighting_3d);
931 if (methods.FirstOrDefault(m => m.Name == "Lighting3d") != null)
932 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_lighting_3d"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_lighting_3d_static_delegate)});
933 if (efl_gfx_mapping_perspective_3d_static_delegate == null)
934 efl_gfx_mapping_perspective_3d_static_delegate = new efl_gfx_mapping_perspective_3d_delegate(perspective_3d);
935 if (methods.FirstOrDefault(m => m.Name == "Perspective3d") != null)
936 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_perspective_3d"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_perspective_3d_static_delegate)});
937 if (efl_gfx_mapping_rotate_absolute_static_delegate == null)
938 efl_gfx_mapping_rotate_absolute_static_delegate = new efl_gfx_mapping_rotate_absolute_delegate(rotate_absolute);
939 if (methods.FirstOrDefault(m => m.Name == "RotateAbsolute") != null)
940 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_rotate_absolute"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_rotate_absolute_static_delegate)});
941 if (efl_gfx_mapping_rotate_3d_absolute_static_delegate == null)
942 efl_gfx_mapping_rotate_3d_absolute_static_delegate = new efl_gfx_mapping_rotate_3d_absolute_delegate(rotate_3d_absolute);
943 if (methods.FirstOrDefault(m => m.Name == "Rotate3dAbsolute") != null)
944 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_rotate_3d_absolute"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_rotate_3d_absolute_static_delegate)});
945 if (efl_gfx_mapping_rotate_quat_absolute_static_delegate == null)
946 efl_gfx_mapping_rotate_quat_absolute_static_delegate = new efl_gfx_mapping_rotate_quat_absolute_delegate(rotate_quat_absolute);
947 if (methods.FirstOrDefault(m => m.Name == "RotateQuatAbsolute") != null)
948 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_rotate_quat_absolute"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_rotate_quat_absolute_static_delegate)});
949 if (efl_gfx_mapping_zoom_absolute_static_delegate == null)
950 efl_gfx_mapping_zoom_absolute_static_delegate = new efl_gfx_mapping_zoom_absolute_delegate(zoom_absolute);
951 if (methods.FirstOrDefault(m => m.Name == "ZoomAbsolute") != null)
952 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_zoom_absolute"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_zoom_absolute_static_delegate)});
953 if (efl_gfx_mapping_lighting_3d_absolute_static_delegate == null)
954 efl_gfx_mapping_lighting_3d_absolute_static_delegate = new efl_gfx_mapping_lighting_3d_absolute_delegate(lighting_3d_absolute);
955 if (methods.FirstOrDefault(m => m.Name == "Lighting3dAbsolute") != null)
956 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_lighting_3d_absolute"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_lighting_3d_absolute_static_delegate)});
957 if (efl_gfx_mapping_perspective_3d_absolute_static_delegate == null)
958 efl_gfx_mapping_perspective_3d_absolute_static_delegate = new efl_gfx_mapping_perspective_3d_absolute_delegate(perspective_3d_absolute);
959 if (methods.FirstOrDefault(m => m.Name == "Perspective3dAbsolute") != null)
960 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_mapping_perspective_3d_absolute"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_mapping_perspective_3d_absolute_static_delegate)});
963 public override IntPtr GetEflClass()
965 return Efl.Gfx.IMappingConcrete.efl_gfx_mapping_mixin_get();
967 public static IntPtr GetEflClassStatic()
969 return Efl.Gfx.IMappingConcrete.efl_gfx_mapping_mixin_get();
973 private delegate int efl_gfx_mapping_point_count_get_delegate(System.IntPtr obj, System.IntPtr pd);
976 public delegate int efl_gfx_mapping_point_count_get_api_delegate(System.IntPtr obj);
977 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_point_count_get_api_delegate> efl_gfx_mapping_point_count_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_point_count_get_api_delegate>(_Module, "efl_gfx_mapping_point_count_get");
978 private static int mapping_point_count_get(System.IntPtr obj, System.IntPtr pd)
980 Eina.Log.Debug("function efl_gfx_mapping_point_count_get was called");
981 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
982 if(wrapper != null) {
983 int _ret_var = default(int);
985 _ret_var = ((IMappingConcrete)wrapper).GetMappingPointCount();
986 } catch (Exception e) {
987 Eina.Log.Warning($"Callback error: {e.ToString()}");
988 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
992 return efl_gfx_mapping_point_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
995 private static efl_gfx_mapping_point_count_get_delegate efl_gfx_mapping_point_count_get_static_delegate;
998 private delegate void efl_gfx_mapping_point_count_set_delegate(System.IntPtr obj, System.IntPtr pd, int count);
1001 public delegate void efl_gfx_mapping_point_count_set_api_delegate(System.IntPtr obj, int count);
1002 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_point_count_set_api_delegate> efl_gfx_mapping_point_count_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_point_count_set_api_delegate>(_Module, "efl_gfx_mapping_point_count_set");
1003 private static void mapping_point_count_set(System.IntPtr obj, System.IntPtr pd, int count)
1005 Eina.Log.Debug("function efl_gfx_mapping_point_count_set was called");
1006 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1007 if(wrapper != null) {
1010 ((IMappingConcrete)wrapper).SetMappingPointCount( count);
1011 } catch (Exception e) {
1012 Eina.Log.Warning($"Callback error: {e.ToString()}");
1013 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1016 efl_gfx_mapping_point_count_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), count);
1019 private static efl_gfx_mapping_point_count_set_delegate efl_gfx_mapping_point_count_set_static_delegate;
1022 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_mapping_clockwise_get_delegate(System.IntPtr obj, System.IntPtr pd);
1025 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_mapping_clockwise_get_api_delegate(System.IntPtr obj);
1026 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_clockwise_get_api_delegate> efl_gfx_mapping_clockwise_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_clockwise_get_api_delegate>(_Module, "efl_gfx_mapping_clockwise_get");
1027 private static bool mapping_clockwise_get(System.IntPtr obj, System.IntPtr pd)
1029 Eina.Log.Debug("function efl_gfx_mapping_clockwise_get was called");
1030 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1031 if(wrapper != null) {
1032 bool _ret_var = default(bool);
1034 _ret_var = ((IMappingConcrete)wrapper).GetMappingClockwise();
1035 } catch (Exception e) {
1036 Eina.Log.Warning($"Callback error: {e.ToString()}");
1037 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1041 return efl_gfx_mapping_clockwise_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1044 private static efl_gfx_mapping_clockwise_get_delegate efl_gfx_mapping_clockwise_get_static_delegate;
1047 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_mapping_smooth_get_delegate(System.IntPtr obj, System.IntPtr pd);
1050 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_mapping_smooth_get_api_delegate(System.IntPtr obj);
1051 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_smooth_get_api_delegate> efl_gfx_mapping_smooth_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_smooth_get_api_delegate>(_Module, "efl_gfx_mapping_smooth_get");
1052 private static bool mapping_smooth_get(System.IntPtr obj, System.IntPtr pd)
1054 Eina.Log.Debug("function efl_gfx_mapping_smooth_get was called");
1055 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1056 if(wrapper != null) {
1057 bool _ret_var = default(bool);
1059 _ret_var = ((IMappingConcrete)wrapper).GetMappingSmooth();
1060 } catch (Exception e) {
1061 Eina.Log.Warning($"Callback error: {e.ToString()}");
1062 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1066 return efl_gfx_mapping_smooth_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1069 private static efl_gfx_mapping_smooth_get_delegate efl_gfx_mapping_smooth_get_static_delegate;
1072 private delegate void efl_gfx_mapping_smooth_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth);
1075 public delegate void efl_gfx_mapping_smooth_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth);
1076 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_smooth_set_api_delegate> efl_gfx_mapping_smooth_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_smooth_set_api_delegate>(_Module, "efl_gfx_mapping_smooth_set");
1077 private static void mapping_smooth_set(System.IntPtr obj, System.IntPtr pd, bool smooth)
1079 Eina.Log.Debug("function efl_gfx_mapping_smooth_set was called");
1080 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1081 if(wrapper != null) {
1084 ((IMappingConcrete)wrapper).SetMappingSmooth( smooth);
1085 } catch (Exception e) {
1086 Eina.Log.Warning($"Callback error: {e.ToString()}");
1087 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1090 efl_gfx_mapping_smooth_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth);
1093 private static efl_gfx_mapping_smooth_set_delegate efl_gfx_mapping_smooth_set_static_delegate;
1096 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_mapping_alpha_get_delegate(System.IntPtr obj, System.IntPtr pd);
1099 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_mapping_alpha_get_api_delegate(System.IntPtr obj);
1100 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_alpha_get_api_delegate> efl_gfx_mapping_alpha_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_alpha_get_api_delegate>(_Module, "efl_gfx_mapping_alpha_get");
1101 private static bool mapping_alpha_get(System.IntPtr obj, System.IntPtr pd)
1103 Eina.Log.Debug("function efl_gfx_mapping_alpha_get was called");
1104 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1105 if(wrapper != null) {
1106 bool _ret_var = default(bool);
1108 _ret_var = ((IMappingConcrete)wrapper).GetMappingAlpha();
1109 } catch (Exception e) {
1110 Eina.Log.Warning($"Callback error: {e.ToString()}");
1111 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1115 return efl_gfx_mapping_alpha_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1118 private static efl_gfx_mapping_alpha_get_delegate efl_gfx_mapping_alpha_get_static_delegate;
1121 private delegate void efl_gfx_mapping_alpha_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool alpha);
1124 public delegate void efl_gfx_mapping_alpha_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool alpha);
1125 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_alpha_set_api_delegate> efl_gfx_mapping_alpha_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_alpha_set_api_delegate>(_Module, "efl_gfx_mapping_alpha_set");
1126 private static void mapping_alpha_set(System.IntPtr obj, System.IntPtr pd, bool alpha)
1128 Eina.Log.Debug("function efl_gfx_mapping_alpha_set was called");
1129 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1130 if(wrapper != null) {
1133 ((IMappingConcrete)wrapper).SetMappingAlpha( alpha);
1134 } catch (Exception e) {
1135 Eina.Log.Warning($"Callback error: {e.ToString()}");
1136 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1139 efl_gfx_mapping_alpha_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), alpha);
1142 private static efl_gfx_mapping_alpha_set_delegate efl_gfx_mapping_alpha_set_static_delegate;
1145 private delegate void efl_gfx_mapping_coord_absolute_get_delegate(System.IntPtr obj, System.IntPtr pd, int idx, out double x, out double y, out double z);
1148 public delegate void efl_gfx_mapping_coord_absolute_get_api_delegate(System.IntPtr obj, int idx, out double x, out double y, out double z);
1149 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_coord_absolute_get_api_delegate> efl_gfx_mapping_coord_absolute_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_coord_absolute_get_api_delegate>(_Module, "efl_gfx_mapping_coord_absolute_get");
1150 private static void mapping_coord_absolute_get(System.IntPtr obj, System.IntPtr pd, int idx, out double x, out double y, out double z)
1152 Eina.Log.Debug("function efl_gfx_mapping_coord_absolute_get was called");
1153 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1154 if(wrapper != null) {
1155 x = default(double); y = default(double); z = default(double);
1157 ((IMappingConcrete)wrapper).GetMappingCoordAbsolute( idx, out x, out y, out z);
1158 } catch (Exception e) {
1159 Eina.Log.Warning($"Callback error: {e.ToString()}");
1160 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1163 efl_gfx_mapping_coord_absolute_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx, out x, out y, out z);
1166 private static efl_gfx_mapping_coord_absolute_get_delegate efl_gfx_mapping_coord_absolute_get_static_delegate;
1169 private delegate void efl_gfx_mapping_coord_absolute_set_delegate(System.IntPtr obj, System.IntPtr pd, int idx, double x, double y, double z);
1172 public delegate void efl_gfx_mapping_coord_absolute_set_api_delegate(System.IntPtr obj, int idx, double x, double y, double z);
1173 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_coord_absolute_set_api_delegate> efl_gfx_mapping_coord_absolute_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_coord_absolute_set_api_delegate>(_Module, "efl_gfx_mapping_coord_absolute_set");
1174 private static void mapping_coord_absolute_set(System.IntPtr obj, System.IntPtr pd, int idx, double x, double y, double z)
1176 Eina.Log.Debug("function efl_gfx_mapping_coord_absolute_set was called");
1177 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1178 if(wrapper != null) {
1181 ((IMappingConcrete)wrapper).SetMappingCoordAbsolute( idx, x, y, z);
1182 } catch (Exception e) {
1183 Eina.Log.Warning($"Callback error: {e.ToString()}");
1184 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1187 efl_gfx_mapping_coord_absolute_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx, x, y, z);
1190 private static efl_gfx_mapping_coord_absolute_set_delegate efl_gfx_mapping_coord_absolute_set_static_delegate;
1193 private delegate void efl_gfx_mapping_uv_get_delegate(System.IntPtr obj, System.IntPtr pd, int idx, out double u, out double v);
1196 public delegate void efl_gfx_mapping_uv_get_api_delegate(System.IntPtr obj, int idx, out double u, out double v);
1197 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_uv_get_api_delegate> efl_gfx_mapping_uv_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_uv_get_api_delegate>(_Module, "efl_gfx_mapping_uv_get");
1198 private static void mapping_uv_get(System.IntPtr obj, System.IntPtr pd, int idx, out double u, out double v)
1200 Eina.Log.Debug("function efl_gfx_mapping_uv_get was called");
1201 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1202 if(wrapper != null) {
1203 u = default(double); v = default(double);
1205 ((IMappingConcrete)wrapper).GetMappingUv( idx, out u, out v);
1206 } catch (Exception e) {
1207 Eina.Log.Warning($"Callback error: {e.ToString()}");
1208 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1211 efl_gfx_mapping_uv_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx, out u, out v);
1214 private static efl_gfx_mapping_uv_get_delegate efl_gfx_mapping_uv_get_static_delegate;
1217 private delegate void efl_gfx_mapping_uv_set_delegate(System.IntPtr obj, System.IntPtr pd, int idx, double u, double v);
1220 public delegate void efl_gfx_mapping_uv_set_api_delegate(System.IntPtr obj, int idx, double u, double v);
1221 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_uv_set_api_delegate> efl_gfx_mapping_uv_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_uv_set_api_delegate>(_Module, "efl_gfx_mapping_uv_set");
1222 private static void mapping_uv_set(System.IntPtr obj, System.IntPtr pd, int idx, double u, double v)
1224 Eina.Log.Debug("function efl_gfx_mapping_uv_set was called");
1225 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1226 if(wrapper != null) {
1229 ((IMappingConcrete)wrapper).SetMappingUv( idx, u, v);
1230 } catch (Exception e) {
1231 Eina.Log.Warning($"Callback error: {e.ToString()}");
1232 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1235 efl_gfx_mapping_uv_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx, u, v);
1238 private static efl_gfx_mapping_uv_set_delegate efl_gfx_mapping_uv_set_static_delegate;
1241 private delegate void efl_gfx_mapping_color_get_delegate(System.IntPtr obj, System.IntPtr pd, int idx, out int r, out int g, out int b, out int a);
1244 public delegate void efl_gfx_mapping_color_get_api_delegate(System.IntPtr obj, int idx, out int r, out int g, out int b, out int a);
1245 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_color_get_api_delegate> efl_gfx_mapping_color_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_color_get_api_delegate>(_Module, "efl_gfx_mapping_color_get");
1246 private static void mapping_color_get(System.IntPtr obj, System.IntPtr pd, int idx, out int r, out int g, out int b, out int a)
1248 Eina.Log.Debug("function efl_gfx_mapping_color_get was called");
1249 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1250 if(wrapper != null) {
1251 r = default(int); g = default(int); b = default(int); a = default(int);
1253 ((IMappingConcrete)wrapper).GetMappingColor( idx, out r, out g, out b, out a);
1254 } catch (Exception e) {
1255 Eina.Log.Warning($"Callback error: {e.ToString()}");
1256 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1259 efl_gfx_mapping_color_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx, out r, out g, out b, out a);
1262 private static efl_gfx_mapping_color_get_delegate efl_gfx_mapping_color_get_static_delegate;
1265 private delegate void efl_gfx_mapping_color_set_delegate(System.IntPtr obj, System.IntPtr pd, int idx, int r, int g, int b, int a);
1268 public delegate void efl_gfx_mapping_color_set_api_delegate(System.IntPtr obj, int idx, int r, int g, int b, int a);
1269 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_color_set_api_delegate> efl_gfx_mapping_color_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_color_set_api_delegate>(_Module, "efl_gfx_mapping_color_set");
1270 private static void mapping_color_set(System.IntPtr obj, System.IntPtr pd, int idx, int r, int g, int b, int a)
1272 Eina.Log.Debug("function efl_gfx_mapping_color_set was called");
1273 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1274 if(wrapper != null) {
1277 ((IMappingConcrete)wrapper).SetMappingColor( idx, r, g, b, a);
1278 } catch (Exception e) {
1279 Eina.Log.Warning($"Callback error: {e.ToString()}");
1280 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1283 efl_gfx_mapping_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), idx, r, g, b, a);
1286 private static efl_gfx_mapping_color_set_delegate efl_gfx_mapping_color_set_static_delegate;
1289 [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_gfx_mapping_has_delegate(System.IntPtr obj, System.IntPtr pd);
1292 [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_gfx_mapping_has_api_delegate(System.IntPtr obj);
1293 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_has_api_delegate> efl_gfx_mapping_has_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_has_api_delegate>(_Module, "efl_gfx_mapping_has");
1294 private static bool mapping_has(System.IntPtr obj, System.IntPtr pd)
1296 Eina.Log.Debug("function efl_gfx_mapping_has was called");
1297 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1298 if(wrapper != null) {
1299 bool _ret_var = default(bool);
1301 _ret_var = ((IMappingConcrete)wrapper).HasMapping();
1302 } catch (Exception e) {
1303 Eina.Log.Warning($"Callback error: {e.ToString()}");
1304 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1308 return efl_gfx_mapping_has_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1311 private static efl_gfx_mapping_has_delegate efl_gfx_mapping_has_static_delegate;
1314 private delegate void efl_gfx_mapping_reset_delegate(System.IntPtr obj, System.IntPtr pd);
1317 public delegate void efl_gfx_mapping_reset_api_delegate(System.IntPtr obj);
1318 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_reset_api_delegate> efl_gfx_mapping_reset_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_reset_api_delegate>(_Module, "efl_gfx_mapping_reset");
1319 private static void mapping_reset(System.IntPtr obj, System.IntPtr pd)
1321 Eina.Log.Debug("function efl_gfx_mapping_reset was called");
1322 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1323 if(wrapper != null) {
1326 ((IMappingConcrete)wrapper).ResetMapping();
1327 } catch (Exception e) {
1328 Eina.Log.Warning($"Callback error: {e.ToString()}");
1329 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1332 efl_gfx_mapping_reset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1335 private static efl_gfx_mapping_reset_delegate efl_gfx_mapping_reset_static_delegate;
1338 private delegate void efl_gfx_mapping_translate_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy, double dz);
1341 public delegate void efl_gfx_mapping_translate_api_delegate(System.IntPtr obj, double dx, double dy, double dz);
1342 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_translate_api_delegate> efl_gfx_mapping_translate_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_translate_api_delegate>(_Module, "efl_gfx_mapping_translate");
1343 private static void translate(System.IntPtr obj, System.IntPtr pd, double dx, double dy, double dz)
1345 Eina.Log.Debug("function efl_gfx_mapping_translate was called");
1346 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1347 if(wrapper != null) {
1350 ((IMappingConcrete)wrapper).Translate( dx, dy, dz);
1351 } catch (Exception e) {
1352 Eina.Log.Warning($"Callback error: {e.ToString()}");
1353 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1356 efl_gfx_mapping_translate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy, dz);
1359 private static efl_gfx_mapping_translate_delegate efl_gfx_mapping_translate_static_delegate;
1362 private delegate void efl_gfx_mapping_rotate_delegate(System.IntPtr obj, System.IntPtr pd, double degrees, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy);
1365 public delegate void efl_gfx_mapping_rotate_api_delegate(System.IntPtr obj, double degrees, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy);
1366 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_api_delegate> efl_gfx_mapping_rotate_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_api_delegate>(_Module, "efl_gfx_mapping_rotate");
1367 private static void rotate(System.IntPtr obj, System.IntPtr pd, double degrees, Efl.Gfx.IEntity pivot, double cx, double cy)
1369 Eina.Log.Debug("function efl_gfx_mapping_rotate was called");
1370 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1371 if(wrapper != null) {
1374 ((IMappingConcrete)wrapper).Rotate( degrees, pivot, cx, cy);
1375 } catch (Exception e) {
1376 Eina.Log.Warning($"Callback error: {e.ToString()}");
1377 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1380 efl_gfx_mapping_rotate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), degrees, pivot, cx, cy);
1383 private static efl_gfx_mapping_rotate_delegate efl_gfx_mapping_rotate_static_delegate;
1386 private delegate void efl_gfx_mapping_rotate_3d_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy, double dz, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy, double cz);
1389 public delegate void efl_gfx_mapping_rotate_3d_api_delegate(System.IntPtr obj, double dx, double dy, double dz, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy, double cz);
1390 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_3d_api_delegate> efl_gfx_mapping_rotate_3d_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_3d_api_delegate>(_Module, "efl_gfx_mapping_rotate_3d");
1391 private static void rotate_3d(System.IntPtr obj, System.IntPtr pd, double dx, double dy, double dz, Efl.Gfx.IEntity pivot, double cx, double cy, double cz)
1393 Eina.Log.Debug("function efl_gfx_mapping_rotate_3d was called");
1394 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1395 if(wrapper != null) {
1398 ((IMappingConcrete)wrapper).Rotate3d( dx, dy, dz, pivot, cx, cy, cz);
1399 } catch (Exception e) {
1400 Eina.Log.Warning($"Callback error: {e.ToString()}");
1401 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1404 efl_gfx_mapping_rotate_3d_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy, dz, pivot, cx, cy, cz);
1407 private static efl_gfx_mapping_rotate_3d_delegate efl_gfx_mapping_rotate_3d_static_delegate;
1410 private delegate void efl_gfx_mapping_rotate_quat_delegate(System.IntPtr obj, System.IntPtr pd, double qx, double qy, double qz, double qw, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy, double cz);
1413 public delegate void efl_gfx_mapping_rotate_quat_api_delegate(System.IntPtr obj, double qx, double qy, double qz, double qw, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy, double cz);
1414 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_quat_api_delegate> efl_gfx_mapping_rotate_quat_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_quat_api_delegate>(_Module, "efl_gfx_mapping_rotate_quat");
1415 private static void rotate_quat(System.IntPtr obj, System.IntPtr pd, double qx, double qy, double qz, double qw, Efl.Gfx.IEntity pivot, double cx, double cy, double cz)
1417 Eina.Log.Debug("function efl_gfx_mapping_rotate_quat was called");
1418 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1419 if(wrapper != null) {
1422 ((IMappingConcrete)wrapper).RotateQuat( qx, qy, qz, qw, pivot, cx, cy, cz);
1423 } catch (Exception e) {
1424 Eina.Log.Warning($"Callback error: {e.ToString()}");
1425 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1428 efl_gfx_mapping_rotate_quat_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), qx, qy, qz, qw, pivot, cx, cy, cz);
1431 private static efl_gfx_mapping_rotate_quat_delegate efl_gfx_mapping_rotate_quat_static_delegate;
1434 private delegate void efl_gfx_mapping_zoom_delegate(System.IntPtr obj, System.IntPtr pd, double zoomx, double zoomy, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy);
1437 public delegate void efl_gfx_mapping_zoom_api_delegate(System.IntPtr obj, double zoomx, double zoomy, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double cx, double cy);
1438 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_zoom_api_delegate> efl_gfx_mapping_zoom_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_zoom_api_delegate>(_Module, "efl_gfx_mapping_zoom");
1439 private static void zoom(System.IntPtr obj, System.IntPtr pd, double zoomx, double zoomy, Efl.Gfx.IEntity pivot, double cx, double cy)
1441 Eina.Log.Debug("function efl_gfx_mapping_zoom was called");
1442 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1443 if(wrapper != null) {
1446 ((IMappingConcrete)wrapper).Zoom( zoomx, zoomy, pivot, cx, cy);
1447 } catch (Exception e) {
1448 Eina.Log.Warning($"Callback error: {e.ToString()}");
1449 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1452 efl_gfx_mapping_zoom_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), zoomx, zoomy, pivot, cx, cy);
1455 private static efl_gfx_mapping_zoom_delegate efl_gfx_mapping_zoom_static_delegate;
1458 private delegate void efl_gfx_mapping_lighting_3d_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab);
1461 public delegate void efl_gfx_mapping_lighting_3d_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab);
1462 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_lighting_3d_api_delegate> efl_gfx_mapping_lighting_3d_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_lighting_3d_api_delegate>(_Module, "efl_gfx_mapping_lighting_3d");
1463 private static void lighting_3d(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity pivot, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab)
1465 Eina.Log.Debug("function efl_gfx_mapping_lighting_3d was called");
1466 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1467 if(wrapper != null) {
1470 ((IMappingConcrete)wrapper).Lighting3d( pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab);
1471 } catch (Exception e) {
1472 Eina.Log.Warning($"Callback error: {e.ToString()}");
1473 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1476 efl_gfx_mapping_lighting_3d_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab);
1479 private static efl_gfx_mapping_lighting_3d_delegate efl_gfx_mapping_lighting_3d_static_delegate;
1482 private delegate void efl_gfx_mapping_perspective_3d_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double px, double py, double z0, double foc);
1485 public delegate void efl_gfx_mapping_perspective_3d_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest<Efl.Gfx.IEntityConcrete, Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity pivot, double px, double py, double z0, double foc);
1486 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_perspective_3d_api_delegate> efl_gfx_mapping_perspective_3d_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_perspective_3d_api_delegate>(_Module, "efl_gfx_mapping_perspective_3d");
1487 private static void perspective_3d(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity pivot, double px, double py, double z0, double foc)
1489 Eina.Log.Debug("function efl_gfx_mapping_perspective_3d was called");
1490 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1491 if(wrapper != null) {
1494 ((IMappingConcrete)wrapper).Perspective3d( pivot, px, py, z0, foc);
1495 } catch (Exception e) {
1496 Eina.Log.Warning($"Callback error: {e.ToString()}");
1497 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1500 efl_gfx_mapping_perspective_3d_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), pivot, px, py, z0, foc);
1503 private static efl_gfx_mapping_perspective_3d_delegate efl_gfx_mapping_perspective_3d_static_delegate;
1506 private delegate void efl_gfx_mapping_rotate_absolute_delegate(System.IntPtr obj, System.IntPtr pd, double degrees, double cx, double cy);
1509 public delegate void efl_gfx_mapping_rotate_absolute_api_delegate(System.IntPtr obj, double degrees, double cx, double cy);
1510 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_absolute_api_delegate> efl_gfx_mapping_rotate_absolute_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_absolute_api_delegate>(_Module, "efl_gfx_mapping_rotate_absolute");
1511 private static void rotate_absolute(System.IntPtr obj, System.IntPtr pd, double degrees, double cx, double cy)
1513 Eina.Log.Debug("function efl_gfx_mapping_rotate_absolute was called");
1514 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1515 if(wrapper != null) {
1518 ((IMappingConcrete)wrapper).RotateAbsolute( degrees, cx, cy);
1519 } catch (Exception e) {
1520 Eina.Log.Warning($"Callback error: {e.ToString()}");
1521 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1524 efl_gfx_mapping_rotate_absolute_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), degrees, cx, cy);
1527 private static efl_gfx_mapping_rotate_absolute_delegate efl_gfx_mapping_rotate_absolute_static_delegate;
1530 private delegate void efl_gfx_mapping_rotate_3d_absolute_delegate(System.IntPtr obj, System.IntPtr pd, double dx, double dy, double dz, double cx, double cy, double cz);
1533 public delegate void efl_gfx_mapping_rotate_3d_absolute_api_delegate(System.IntPtr obj, double dx, double dy, double dz, double cx, double cy, double cz);
1534 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_3d_absolute_api_delegate> efl_gfx_mapping_rotate_3d_absolute_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_3d_absolute_api_delegate>(_Module, "efl_gfx_mapping_rotate_3d_absolute");
1535 private static void rotate_3d_absolute(System.IntPtr obj, System.IntPtr pd, double dx, double dy, double dz, double cx, double cy, double cz)
1537 Eina.Log.Debug("function efl_gfx_mapping_rotate_3d_absolute was called");
1538 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1539 if(wrapper != null) {
1542 ((IMappingConcrete)wrapper).Rotate3dAbsolute( dx, dy, dz, cx, cy, cz);
1543 } catch (Exception e) {
1544 Eina.Log.Warning($"Callback error: {e.ToString()}");
1545 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1548 efl_gfx_mapping_rotate_3d_absolute_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dx, dy, dz, cx, cy, cz);
1551 private static efl_gfx_mapping_rotate_3d_absolute_delegate efl_gfx_mapping_rotate_3d_absolute_static_delegate;
1554 private delegate void efl_gfx_mapping_rotate_quat_absolute_delegate(System.IntPtr obj, System.IntPtr pd, double qx, double qy, double qz, double qw, double cx, double cy, double cz);
1557 public delegate void efl_gfx_mapping_rotate_quat_absolute_api_delegate(System.IntPtr obj, double qx, double qy, double qz, double qw, double cx, double cy, double cz);
1558 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_quat_absolute_api_delegate> efl_gfx_mapping_rotate_quat_absolute_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_rotate_quat_absolute_api_delegate>(_Module, "efl_gfx_mapping_rotate_quat_absolute");
1559 private static void rotate_quat_absolute(System.IntPtr obj, System.IntPtr pd, double qx, double qy, double qz, double qw, double cx, double cy, double cz)
1561 Eina.Log.Debug("function efl_gfx_mapping_rotate_quat_absolute was called");
1562 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1563 if(wrapper != null) {
1566 ((IMappingConcrete)wrapper).RotateQuatAbsolute( qx, qy, qz, qw, cx, cy, cz);
1567 } catch (Exception e) {
1568 Eina.Log.Warning($"Callback error: {e.ToString()}");
1569 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1572 efl_gfx_mapping_rotate_quat_absolute_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), qx, qy, qz, qw, cx, cy, cz);
1575 private static efl_gfx_mapping_rotate_quat_absolute_delegate efl_gfx_mapping_rotate_quat_absolute_static_delegate;
1578 private delegate void efl_gfx_mapping_zoom_absolute_delegate(System.IntPtr obj, System.IntPtr pd, double zoomx, double zoomy, double cx, double cy);
1581 public delegate void efl_gfx_mapping_zoom_absolute_api_delegate(System.IntPtr obj, double zoomx, double zoomy, double cx, double cy);
1582 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_zoom_absolute_api_delegate> efl_gfx_mapping_zoom_absolute_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_zoom_absolute_api_delegate>(_Module, "efl_gfx_mapping_zoom_absolute");
1583 private static void zoom_absolute(System.IntPtr obj, System.IntPtr pd, double zoomx, double zoomy, double cx, double cy)
1585 Eina.Log.Debug("function efl_gfx_mapping_zoom_absolute was called");
1586 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1587 if(wrapper != null) {
1590 ((IMappingConcrete)wrapper).ZoomAbsolute( zoomx, zoomy, cx, cy);
1591 } catch (Exception e) {
1592 Eina.Log.Warning($"Callback error: {e.ToString()}");
1593 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1596 efl_gfx_mapping_zoom_absolute_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), zoomx, zoomy, cx, cy);
1599 private static efl_gfx_mapping_zoom_absolute_delegate efl_gfx_mapping_zoom_absolute_static_delegate;
1602 private delegate void efl_gfx_mapping_lighting_3d_absolute_delegate(System.IntPtr obj, System.IntPtr pd, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab);
1605 public delegate void efl_gfx_mapping_lighting_3d_absolute_api_delegate(System.IntPtr obj, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab);
1606 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_lighting_3d_absolute_api_delegate> efl_gfx_mapping_lighting_3d_absolute_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_lighting_3d_absolute_api_delegate>(_Module, "efl_gfx_mapping_lighting_3d_absolute");
1607 private static void lighting_3d_absolute(System.IntPtr obj, System.IntPtr pd, double lx, double ly, double lz, int lr, int lg, int lb, int ar, int ag, int ab)
1609 Eina.Log.Debug("function efl_gfx_mapping_lighting_3d_absolute was called");
1610 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1611 if(wrapper != null) {
1614 ((IMappingConcrete)wrapper).Lighting3dAbsolute( lx, ly, lz, lr, lg, lb, ar, ag, ab);
1615 } catch (Exception e) {
1616 Eina.Log.Warning($"Callback error: {e.ToString()}");
1617 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1620 efl_gfx_mapping_lighting_3d_absolute_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lx, ly, lz, lr, lg, lb, ar, ag, ab);
1623 private static efl_gfx_mapping_lighting_3d_absolute_delegate efl_gfx_mapping_lighting_3d_absolute_static_delegate;
1626 private delegate void efl_gfx_mapping_perspective_3d_absolute_delegate(System.IntPtr obj, System.IntPtr pd, double px, double py, double z0, double foc);
1629 public delegate void efl_gfx_mapping_perspective_3d_absolute_api_delegate(System.IntPtr obj, double px, double py, double z0, double foc);
1630 public static Efl.Eo.FunctionWrapper<efl_gfx_mapping_perspective_3d_absolute_api_delegate> efl_gfx_mapping_perspective_3d_absolute_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_mapping_perspective_3d_absolute_api_delegate>(_Module, "efl_gfx_mapping_perspective_3d_absolute");
1631 private static void perspective_3d_absolute(System.IntPtr obj, System.IntPtr pd, double px, double py, double z0, double foc)
1633 Eina.Log.Debug("function efl_gfx_mapping_perspective_3d_absolute was called");
1634 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1635 if(wrapper != null) {
1638 ((IMappingConcrete)wrapper).Perspective3dAbsolute( px, py, z0, foc);
1639 } catch (Exception e) {
1640 Eina.Log.Warning($"Callback error: {e.ToString()}");
1641 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1644 efl_gfx_mapping_perspective_3d_absolute_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), px, py, z0, foc);
1647 private static efl_gfx_mapping_perspective_3d_absolute_delegate efl_gfx_mapping_perspective_3d_absolute_static_delegate;