1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
14 /// <summary>Efl vector graphics shape class</summary>
15 [Efl.Canvas.Vg.Shape.NativeMethods]
16 public class Shape : Efl.Canvas.Vg.Node, Efl.Eo.IWrapper,Efl.Gfx.IShape
18 ///<summary>Pointer to the native class description.</summary>
19 public override System.IntPtr NativeClass
23 if (((object)this).GetType() == typeof(Shape))
25 return GetEflClassStatic();
29 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
34 [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
35 efl_canvas_vg_shape_class_get();
36 /// <summary>Initializes a new instance of the <see cref="Shape"/> class.</summary>
37 /// <param name="parent">Parent instance.</param>
38 public Shape(Efl.Object parent= null
39 ) : base(efl_canvas_vg_shape_class_get(), typeof(Shape), parent)
41 FinishInstantiation();
44 /// <summary>Initializes a new instance of the <see cref="Shape"/> class.
45 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
46 /// <param name="raw">The native pointer to be wrapped.</param>
47 protected Shape(System.IntPtr raw) : base(raw)
51 /// <summary>Initializes a new instance of the <see cref="Shape"/> class.
52 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
53 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
54 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
55 /// <param name="parent">The Efl.Object parent of this instance.</param>
56 protected Shape(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
60 /// <summary>Verifies if the given object is equal to this one.</summary>
61 /// <param name="instance">The object to compare to.</param>
62 /// <returns>True if both objects point to the same native object.</returns>
63 public override bool Equals(object instance)
65 var other = instance as Efl.Object;
70 return this.NativeHandle == other.NativeHandle;
73 /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
74 /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
75 public override int GetHashCode()
77 return this.NativeHandle.ToInt32();
80 /// <summary>Turns the native pointer into a string representation.</summary>
81 /// <returns>A string with the type and the native pointer for this object.</returns>
82 public override String ToString()
84 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
87 /// <summary>Fill of the shape object</summary>
88 /// <returns>Fill object</returns>
89 virtual public Efl.Canvas.Vg.Node GetFill() {
90 var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
91 Eina.Error.RaiseIfUnhandledException();
94 /// <summary>Fill of the shape object</summary>
95 /// <param name="f">Fill object</param>
96 virtual public void SetFill(Efl.Canvas.Vg.Node f) {
97 Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
98 Eina.Error.RaiseIfUnhandledException();
100 /// <summary>Stroke fill of the shape object</summary>
101 /// <returns>Stroke fill object</returns>
102 virtual public Efl.Canvas.Vg.Node GetStrokeFill() {
103 var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_fill_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
104 Eina.Error.RaiseIfUnhandledException();
107 /// <summary>Stroke fill of the shape object</summary>
108 /// <param name="f">Stroke fill object</param>
109 virtual public void SetStrokeFill(Efl.Canvas.Vg.Node f) {
110 Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_fill_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
111 Eina.Error.RaiseIfUnhandledException();
113 /// <summary>Stroke marker of the shape object</summary>
114 /// <returns>Stroke marker object</returns>
115 virtual public Efl.Canvas.Vg.Node GetStrokeMarker() {
116 var _ret_var = Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_marker_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
117 Eina.Error.RaiseIfUnhandledException();
120 /// <summary>Stroke marker of the shape object</summary>
121 /// <param name="m">Stroke marker object</param>
122 virtual public void SetStrokeMarker(Efl.Canvas.Vg.Node m) {
123 Efl.Canvas.Vg.Shape.NativeMethods.efl_canvas_vg_shape_stroke_marker_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),m);
124 Eina.Error.RaiseIfUnhandledException();
126 /// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
127 /// <returns>Stroke scale value</returns>
128 virtual public double GetStrokeScale() {
129 var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_scale_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
130 Eina.Error.RaiseIfUnhandledException();
133 /// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
134 /// <param name="s">Stroke scale value</param>
135 virtual public void SetStrokeScale(double s) {
136 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_scale_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),s);
137 Eina.Error.RaiseIfUnhandledException();
139 /// <summary>The color to be used for stroking the path.</summary>
140 /// <param name="r">The red component of the given color.</param>
141 /// <param name="g">The green component of the given color.</param>
142 /// <param name="b">The blue component of the given color.</param>
143 /// <param name="a">The alpha component of the given color.</param>
144 virtual public void GetStrokeColor(out int r, out int g, out int b, out int a) {
145 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_color_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out r, out g, out b, out a);
146 Eina.Error.RaiseIfUnhandledException();
148 /// <summary>The color to be used for stroking the path.</summary>
149 /// <param name="r">The red component of the given color.</param>
150 /// <param name="g">The green component of the given color.</param>
151 /// <param name="b">The blue component of the given color.</param>
152 /// <param name="a">The alpha component of the given color.</param>
153 virtual public void SetStrokeColor(int r, int g, int b, int a) {
154 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_color_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),r, g, b, a);
155 Eina.Error.RaiseIfUnhandledException();
157 /// <summary>The stroke width to be used for stroking the path.</summary>
158 /// <returns>Stroke width to be used</returns>
159 virtual public double GetStrokeWidth() {
160 var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_width_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
161 Eina.Error.RaiseIfUnhandledException();
164 /// <summary>The stroke width to be used for stroking the path.</summary>
165 /// <param name="w">Stroke width to be used</param>
166 virtual public void SetStrokeWidth(double w) {
167 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_width_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),w);
168 Eina.Error.RaiseIfUnhandledException();
170 /// <summary>Not implemented</summary>
171 /// <returns>Centered stroke location</returns>
172 virtual public double GetStrokeLocation() {
173 var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_location_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
174 Eina.Error.RaiseIfUnhandledException();
177 /// <summary>Not implemented</summary>
178 /// <param name="centered">Centered stroke location</param>
179 virtual public void SetStrokeLocation(double centered) {
180 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_location_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),centered);
181 Eina.Error.RaiseIfUnhandledException();
183 /// <summary>Set stroke dash pattern. A dash pattern is specified by dashes, an array of <see cref="Efl.Gfx.Dash"/>. <see cref="Efl.Gfx.Dash"/> values(length, gap) must be positive.
184 /// See also <see cref="Efl.Gfx.Dash"/></summary>
185 /// <param name="dash">Stroke dash</param>
186 /// <param name="length">Stroke dash length</param>
187 virtual public void GetStrokeDash(out Efl.Gfx.Dash dash, out uint length) {
188 var _out_dash = new System.IntPtr();
189 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_dash_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out _out_dash, out length);
190 Eina.Error.RaiseIfUnhandledException();
191 dash = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.Dash>(_out_dash);
193 /// <summary>Set stroke dash pattern. A dash pattern is specified by dashes, an array of <see cref="Efl.Gfx.Dash"/>. <see cref="Efl.Gfx.Dash"/> values(length, gap) must be positive.
194 /// See also <see cref="Efl.Gfx.Dash"/></summary>
195 /// <param name="dash">Stroke dash</param>
196 /// <param name="length">Stroke dash length</param>
197 virtual public void SetStrokeDash(ref Efl.Gfx.Dash dash, uint length) {
198 Efl.Gfx.Dash.NativeStruct _in_dash = dash;
199 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_dash_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_dash, length);
200 Eina.Error.RaiseIfUnhandledException();
203 /// <summary>The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
204 /// See also <see cref="Efl.Gfx.Cap"/>.</summary>
205 /// <returns>Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></returns>
206 virtual public Efl.Gfx.Cap GetStrokeCap() {
207 var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_cap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
208 Eina.Error.RaiseIfUnhandledException();
211 /// <summary>The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
212 /// See also <see cref="Efl.Gfx.Cap"/>.</summary>
213 /// <param name="c">Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></param>
214 virtual public void SetStrokeCap(Efl.Gfx.Cap c) {
215 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_cap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),c);
216 Eina.Error.RaiseIfUnhandledException();
218 /// <summary>The join style to be used for stroking the path. The join style will be used for joining the two line segment while stroking the path.
219 /// See also <see cref="Efl.Gfx.Join"/>.</summary>
220 /// <returns>Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></returns>
221 virtual public Efl.Gfx.Join GetStrokeJoin() {
222 var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
223 Eina.Error.RaiseIfUnhandledException();
226 /// <summary>The join style to be used for stroking the path. The join style will be used for joining the two line segment while stroking the path.
227 /// See also <see cref="Efl.Gfx.Join"/>.</summary>
228 /// <param name="j">Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></param>
229 virtual public void SetStrokeJoin(Efl.Gfx.Join j) {
230 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_stroke_join_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),j);
231 Eina.Error.RaiseIfUnhandledException();
233 /// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
234 /// <returns>The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></returns>
235 virtual public Efl.Gfx.FillRule GetFillRule() {
236 var _ret_var = Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_fill_rule_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
237 Eina.Error.RaiseIfUnhandledException();
240 /// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
241 /// <param name="fill_rule">The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></param>
242 virtual public void SetFillRule(Efl.Gfx.FillRule fill_rule) {
243 Efl.Gfx.IShapeConcrete.NativeMethods.efl_gfx_shape_fill_rule_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),fill_rule);
244 Eina.Error.RaiseIfUnhandledException();
246 /// <summary>Fill of the shape object</summary>
247 /// <value>Fill object</value>
248 public Efl.Canvas.Vg.Node Fill {
249 get { return GetFill(); }
250 set { SetFill(value); }
252 /// <summary>Stroke fill of the shape object</summary>
253 /// <value>Stroke fill object</value>
254 public Efl.Canvas.Vg.Node StrokeFill {
255 get { return GetStrokeFill(); }
256 set { SetStrokeFill(value); }
258 /// <summary>Stroke marker of the shape object</summary>
259 /// <value>Stroke marker object</value>
260 public Efl.Canvas.Vg.Node StrokeMarker {
261 get { return GetStrokeMarker(); }
262 set { SetStrokeMarker(value); }
264 /// <summary>The stroke scale to be used for stroking the path. Will be used along with stroke width property.</summary>
265 /// <value>Stroke scale value</value>
266 public double StrokeScale {
267 get { return GetStrokeScale(); }
268 set { SetStrokeScale(value); }
270 /// <summary>The stroke width to be used for stroking the path.</summary>
271 /// <value>Stroke width to be used</value>
272 public double StrokeWidth {
273 get { return GetStrokeWidth(); }
274 set { SetStrokeWidth(value); }
276 /// <summary>Not implemented</summary>
277 /// <value>Centered stroke location</value>
278 public double StrokeLocation {
279 get { return GetStrokeLocation(); }
280 set { SetStrokeLocation(value); }
282 /// <summary>The cap style to be used for stroking the path. The cap will be used for capping the end point of a open subpath.
283 /// See also <see cref="Efl.Gfx.Cap"/>.</summary>
284 /// <value>Cap style to use, default is <see cref="Efl.Gfx.Cap.Butt"/></value>
285 public Efl.Gfx.Cap StrokeCap {
286 get { return GetStrokeCap(); }
287 set { SetStrokeCap(value); }
289 /// <summary>The join style to be used for stroking the path. The join style will be used for joining the two line segment while stroking the path.
290 /// See also <see cref="Efl.Gfx.Join"/>.</summary>
291 /// <value>Join style to use, default is <see cref="Efl.Gfx.Join.Miter"/></value>
292 public Efl.Gfx.Join StrokeJoin {
293 get { return GetStrokeJoin(); }
294 set { SetStrokeJoin(value); }
296 /// <summary>The fill rule of the given shape object. <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/>.</summary>
297 /// <value>The current fill rule of the shape object. One of <see cref="Efl.Gfx.FillRule.Winding"/> or <see cref="Efl.Gfx.FillRule.OddEven"/></value>
298 public Efl.Gfx.FillRule FillRule {
299 get { return GetFillRule(); }
300 set { SetFillRule(value); }
302 private static IntPtr GetEflClassStatic()
304 return Efl.Canvas.Vg.Shape.efl_canvas_vg_shape_class_get();
306 /// <summary>Wrapper for native methods and virtual method delegates.
307 /// For internal use by generated code only.</summary>
308 public new class NativeMethods : Efl.Canvas.Vg.Node.NativeMethods
310 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Evas);
311 /// <summary>Gets the list of Eo operations to override.</summary>
312 /// <returns>The list of Eo operations to be overload.</returns>
313 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
315 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
316 var methods = Efl.Eo.Globals.GetUserMethods(type);
318 if (efl_canvas_vg_shape_fill_get_static_delegate == null)
320 efl_canvas_vg_shape_fill_get_static_delegate = new efl_canvas_vg_shape_fill_get_delegate(fill_get);
323 if (methods.FirstOrDefault(m => m.Name == "GetFill") != null)
325 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_shape_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_shape_fill_get_static_delegate) });
328 if (efl_canvas_vg_shape_fill_set_static_delegate == null)
330 efl_canvas_vg_shape_fill_set_static_delegate = new efl_canvas_vg_shape_fill_set_delegate(fill_set);
333 if (methods.FirstOrDefault(m => m.Name == "SetFill") != null)
335 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_shape_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_shape_fill_set_static_delegate) });
338 if (efl_canvas_vg_shape_stroke_fill_get_static_delegate == null)
340 efl_canvas_vg_shape_stroke_fill_get_static_delegate = new efl_canvas_vg_shape_stroke_fill_get_delegate(stroke_fill_get);
343 if (methods.FirstOrDefault(m => m.Name == "GetStrokeFill") != null)
345 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_shape_stroke_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_shape_stroke_fill_get_static_delegate) });
348 if (efl_canvas_vg_shape_stroke_fill_set_static_delegate == null)
350 efl_canvas_vg_shape_stroke_fill_set_static_delegate = new efl_canvas_vg_shape_stroke_fill_set_delegate(stroke_fill_set);
353 if (methods.FirstOrDefault(m => m.Name == "SetStrokeFill") != null)
355 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_shape_stroke_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_shape_stroke_fill_set_static_delegate) });
358 if (efl_canvas_vg_shape_stroke_marker_get_static_delegate == null)
360 efl_canvas_vg_shape_stroke_marker_get_static_delegate = new efl_canvas_vg_shape_stroke_marker_get_delegate(stroke_marker_get);
363 if (methods.FirstOrDefault(m => m.Name == "GetStrokeMarker") != null)
365 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_shape_stroke_marker_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_shape_stroke_marker_get_static_delegate) });
368 if (efl_canvas_vg_shape_stroke_marker_set_static_delegate == null)
370 efl_canvas_vg_shape_stroke_marker_set_static_delegate = new efl_canvas_vg_shape_stroke_marker_set_delegate(stroke_marker_set);
373 if (methods.FirstOrDefault(m => m.Name == "SetStrokeMarker") != null)
375 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_vg_shape_stroke_marker_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_vg_shape_stroke_marker_set_static_delegate) });
378 if (efl_gfx_shape_stroke_scale_get_static_delegate == null)
380 efl_gfx_shape_stroke_scale_get_static_delegate = new efl_gfx_shape_stroke_scale_get_delegate(stroke_scale_get);
383 if (methods.FirstOrDefault(m => m.Name == "GetStrokeScale") != null)
385 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_scale_get_static_delegate) });
388 if (efl_gfx_shape_stroke_scale_set_static_delegate == null)
390 efl_gfx_shape_stroke_scale_set_static_delegate = new efl_gfx_shape_stroke_scale_set_delegate(stroke_scale_set);
393 if (methods.FirstOrDefault(m => m.Name == "SetStrokeScale") != null)
395 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_scale_set_static_delegate) });
398 if (efl_gfx_shape_stroke_color_get_static_delegate == null)
400 efl_gfx_shape_stroke_color_get_static_delegate = new efl_gfx_shape_stroke_color_get_delegate(stroke_color_get);
403 if (methods.FirstOrDefault(m => m.Name == "GetStrokeColor") != null)
405 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_color_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_color_get_static_delegate) });
408 if (efl_gfx_shape_stroke_color_set_static_delegate == null)
410 efl_gfx_shape_stroke_color_set_static_delegate = new efl_gfx_shape_stroke_color_set_delegate(stroke_color_set);
413 if (methods.FirstOrDefault(m => m.Name == "SetStrokeColor") != null)
415 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_color_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_color_set_static_delegate) });
418 if (efl_gfx_shape_stroke_width_get_static_delegate == null)
420 efl_gfx_shape_stroke_width_get_static_delegate = new efl_gfx_shape_stroke_width_get_delegate(stroke_width_get);
423 if (methods.FirstOrDefault(m => m.Name == "GetStrokeWidth") != null)
425 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_width_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_width_get_static_delegate) });
428 if (efl_gfx_shape_stroke_width_set_static_delegate == null)
430 efl_gfx_shape_stroke_width_set_static_delegate = new efl_gfx_shape_stroke_width_set_delegate(stroke_width_set);
433 if (methods.FirstOrDefault(m => m.Name == "SetStrokeWidth") != null)
435 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_width_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_width_set_static_delegate) });
438 if (efl_gfx_shape_stroke_location_get_static_delegate == null)
440 efl_gfx_shape_stroke_location_get_static_delegate = new efl_gfx_shape_stroke_location_get_delegate(stroke_location_get);
443 if (methods.FirstOrDefault(m => m.Name == "GetStrokeLocation") != null)
445 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_location_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_location_get_static_delegate) });
448 if (efl_gfx_shape_stroke_location_set_static_delegate == null)
450 efl_gfx_shape_stroke_location_set_static_delegate = new efl_gfx_shape_stroke_location_set_delegate(stroke_location_set);
453 if (methods.FirstOrDefault(m => m.Name == "SetStrokeLocation") != null)
455 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_location_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_location_set_static_delegate) });
458 if (efl_gfx_shape_stroke_dash_get_static_delegate == null)
460 efl_gfx_shape_stroke_dash_get_static_delegate = new efl_gfx_shape_stroke_dash_get_delegate(stroke_dash_get);
463 if (methods.FirstOrDefault(m => m.Name == "GetStrokeDash") != null)
465 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_dash_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_dash_get_static_delegate) });
468 if (efl_gfx_shape_stroke_dash_set_static_delegate == null)
470 efl_gfx_shape_stroke_dash_set_static_delegate = new efl_gfx_shape_stroke_dash_set_delegate(stroke_dash_set);
473 if (methods.FirstOrDefault(m => m.Name == "SetStrokeDash") != null)
475 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_dash_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_dash_set_static_delegate) });
478 if (efl_gfx_shape_stroke_cap_get_static_delegate == null)
480 efl_gfx_shape_stroke_cap_get_static_delegate = new efl_gfx_shape_stroke_cap_get_delegate(stroke_cap_get);
483 if (methods.FirstOrDefault(m => m.Name == "GetStrokeCap") != null)
485 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_cap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_cap_get_static_delegate) });
488 if (efl_gfx_shape_stroke_cap_set_static_delegate == null)
490 efl_gfx_shape_stroke_cap_set_static_delegate = new efl_gfx_shape_stroke_cap_set_delegate(stroke_cap_set);
493 if (methods.FirstOrDefault(m => m.Name == "SetStrokeCap") != null)
495 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_cap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_cap_set_static_delegate) });
498 if (efl_gfx_shape_stroke_join_get_static_delegate == null)
500 efl_gfx_shape_stroke_join_get_static_delegate = new efl_gfx_shape_stroke_join_get_delegate(stroke_join_get);
503 if (methods.FirstOrDefault(m => m.Name == "GetStrokeJoin") != null)
505 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_join_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_join_get_static_delegate) });
508 if (efl_gfx_shape_stroke_join_set_static_delegate == null)
510 efl_gfx_shape_stroke_join_set_static_delegate = new efl_gfx_shape_stroke_join_set_delegate(stroke_join_set);
513 if (methods.FirstOrDefault(m => m.Name == "SetStrokeJoin") != null)
515 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_stroke_join_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_stroke_join_set_static_delegate) });
518 if (efl_gfx_shape_fill_rule_get_static_delegate == null)
520 efl_gfx_shape_fill_rule_get_static_delegate = new efl_gfx_shape_fill_rule_get_delegate(fill_rule_get);
523 if (methods.FirstOrDefault(m => m.Name == "GetFillRule") != null)
525 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_fill_rule_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_fill_rule_get_static_delegate) });
528 if (efl_gfx_shape_fill_rule_set_static_delegate == null)
530 efl_gfx_shape_fill_rule_set_static_delegate = new efl_gfx_shape_fill_rule_set_delegate(fill_rule_set);
533 if (methods.FirstOrDefault(m => m.Name == "SetFillRule") != null)
535 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_shape_fill_rule_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_shape_fill_rule_set_static_delegate) });
538 descs.AddRange(base.GetEoOps(type));
541 /// <summary>Returns the Eo class for the native methods of this class.</summary>
542 /// <returns>The native class pointer.</returns>
543 public override IntPtr GetEflClass()
545 return Efl.Canvas.Vg.Shape.efl_canvas_vg_shape_class_get();
548 #pragma warning disable CA1707, SA1300, SA1600
550 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
551 private delegate Efl.Canvas.Vg.Node efl_canvas_vg_shape_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
553 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
554 public delegate Efl.Canvas.Vg.Node efl_canvas_vg_shape_fill_get_api_delegate(System.IntPtr obj);
556 public static Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_fill_get_api_delegate> efl_canvas_vg_shape_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_fill_get_api_delegate>(Module, "efl_canvas_vg_shape_fill_get");
558 private static Efl.Canvas.Vg.Node fill_get(System.IntPtr obj, System.IntPtr pd)
560 Eina.Log.Debug("function efl_canvas_vg_shape_fill_get was called");
561 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
564 Efl.Canvas.Vg.Node _ret_var = default(Efl.Canvas.Vg.Node);
567 _ret_var = ((Shape)wrapper).GetFill();
571 Eina.Log.Warning($"Callback error: {e.ToString()}");
572 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
580 return efl_canvas_vg_shape_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
584 private static efl_canvas_vg_shape_fill_get_delegate efl_canvas_vg_shape_fill_get_static_delegate;
587 private delegate void efl_canvas_vg_shape_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Vg.Node f);
590 public delegate void efl_canvas_vg_shape_fill_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Vg.Node f);
592 public static Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_fill_set_api_delegate> efl_canvas_vg_shape_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_fill_set_api_delegate>(Module, "efl_canvas_vg_shape_fill_set");
594 private static void fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Vg.Node f)
596 Eina.Log.Debug("function efl_canvas_vg_shape_fill_set was called");
597 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
603 ((Shape)wrapper).SetFill(f);
607 Eina.Log.Warning($"Callback error: {e.ToString()}");
608 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
615 efl_canvas_vg_shape_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
619 private static efl_canvas_vg_shape_fill_set_delegate efl_canvas_vg_shape_fill_set_static_delegate;
621 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
622 private delegate Efl.Canvas.Vg.Node efl_canvas_vg_shape_stroke_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
624 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
625 public delegate Efl.Canvas.Vg.Node efl_canvas_vg_shape_stroke_fill_get_api_delegate(System.IntPtr obj);
627 public static Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_fill_get_api_delegate> efl_canvas_vg_shape_stroke_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_fill_get_api_delegate>(Module, "efl_canvas_vg_shape_stroke_fill_get");
629 private static Efl.Canvas.Vg.Node stroke_fill_get(System.IntPtr obj, System.IntPtr pd)
631 Eina.Log.Debug("function efl_canvas_vg_shape_stroke_fill_get was called");
632 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
635 Efl.Canvas.Vg.Node _ret_var = default(Efl.Canvas.Vg.Node);
638 _ret_var = ((Shape)wrapper).GetStrokeFill();
642 Eina.Log.Warning($"Callback error: {e.ToString()}");
643 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
651 return efl_canvas_vg_shape_stroke_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
655 private static efl_canvas_vg_shape_stroke_fill_get_delegate efl_canvas_vg_shape_stroke_fill_get_static_delegate;
658 private delegate void efl_canvas_vg_shape_stroke_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Vg.Node f);
661 public delegate void efl_canvas_vg_shape_stroke_fill_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Vg.Node f);
663 public static Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_fill_set_api_delegate> efl_canvas_vg_shape_stroke_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_fill_set_api_delegate>(Module, "efl_canvas_vg_shape_stroke_fill_set");
665 private static void stroke_fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Vg.Node f)
667 Eina.Log.Debug("function efl_canvas_vg_shape_stroke_fill_set was called");
668 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
674 ((Shape)wrapper).SetStrokeFill(f);
678 Eina.Log.Warning($"Callback error: {e.ToString()}");
679 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
686 efl_canvas_vg_shape_stroke_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
690 private static efl_canvas_vg_shape_stroke_fill_set_delegate efl_canvas_vg_shape_stroke_fill_set_static_delegate;
692 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
693 private delegate Efl.Canvas.Vg.Node efl_canvas_vg_shape_stroke_marker_get_delegate(System.IntPtr obj, System.IntPtr pd);
695 [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
696 public delegate Efl.Canvas.Vg.Node efl_canvas_vg_shape_stroke_marker_get_api_delegate(System.IntPtr obj);
698 public static Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_marker_get_api_delegate> efl_canvas_vg_shape_stroke_marker_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_marker_get_api_delegate>(Module, "efl_canvas_vg_shape_stroke_marker_get");
700 private static Efl.Canvas.Vg.Node stroke_marker_get(System.IntPtr obj, System.IntPtr pd)
702 Eina.Log.Debug("function efl_canvas_vg_shape_stroke_marker_get was called");
703 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
706 Efl.Canvas.Vg.Node _ret_var = default(Efl.Canvas.Vg.Node);
709 _ret_var = ((Shape)wrapper).GetStrokeMarker();
713 Eina.Log.Warning($"Callback error: {e.ToString()}");
714 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
722 return efl_canvas_vg_shape_stroke_marker_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
726 private static efl_canvas_vg_shape_stroke_marker_get_delegate efl_canvas_vg_shape_stroke_marker_get_static_delegate;
729 private delegate void efl_canvas_vg_shape_stroke_marker_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Vg.Node m);
732 public delegate void efl_canvas_vg_shape_stroke_marker_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Vg.Node m);
734 public static Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_marker_set_api_delegate> efl_canvas_vg_shape_stroke_marker_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_vg_shape_stroke_marker_set_api_delegate>(Module, "efl_canvas_vg_shape_stroke_marker_set");
736 private static void stroke_marker_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Vg.Node m)
738 Eina.Log.Debug("function efl_canvas_vg_shape_stroke_marker_set was called");
739 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
745 ((Shape)wrapper).SetStrokeMarker(m);
749 Eina.Log.Warning($"Callback error: {e.ToString()}");
750 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
757 efl_canvas_vg_shape_stroke_marker_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), m);
761 private static efl_canvas_vg_shape_stroke_marker_set_delegate efl_canvas_vg_shape_stroke_marker_set_static_delegate;
764 private delegate double efl_gfx_shape_stroke_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
767 public delegate double efl_gfx_shape_stroke_scale_get_api_delegate(System.IntPtr obj);
769 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_scale_get_api_delegate> efl_gfx_shape_stroke_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_scale_get_api_delegate>(Module, "efl_gfx_shape_stroke_scale_get");
771 private static double stroke_scale_get(System.IntPtr obj, System.IntPtr pd)
773 Eina.Log.Debug("function efl_gfx_shape_stroke_scale_get was called");
774 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
777 double _ret_var = default(double);
780 _ret_var = ((Shape)wrapper).GetStrokeScale();
784 Eina.Log.Warning($"Callback error: {e.ToString()}");
785 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
793 return efl_gfx_shape_stroke_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
797 private static efl_gfx_shape_stroke_scale_get_delegate efl_gfx_shape_stroke_scale_get_static_delegate;
800 private delegate void efl_gfx_shape_stroke_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double s);
803 public delegate void efl_gfx_shape_stroke_scale_set_api_delegate(System.IntPtr obj, double s);
805 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_scale_set_api_delegate> efl_gfx_shape_stroke_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_scale_set_api_delegate>(Module, "efl_gfx_shape_stroke_scale_set");
807 private static void stroke_scale_set(System.IntPtr obj, System.IntPtr pd, double s)
809 Eina.Log.Debug("function efl_gfx_shape_stroke_scale_set was called");
810 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
816 ((Shape)wrapper).SetStrokeScale(s);
820 Eina.Log.Warning($"Callback error: {e.ToString()}");
821 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
828 efl_gfx_shape_stroke_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), s);
832 private static efl_gfx_shape_stroke_scale_set_delegate efl_gfx_shape_stroke_scale_set_static_delegate;
835 private delegate void efl_gfx_shape_stroke_color_get_delegate(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a);
838 public delegate void efl_gfx_shape_stroke_color_get_api_delegate(System.IntPtr obj, out int r, out int g, out int b, out int a);
840 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_color_get_api_delegate> efl_gfx_shape_stroke_color_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_color_get_api_delegate>(Module, "efl_gfx_shape_stroke_color_get");
842 private static void stroke_color_get(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a)
844 Eina.Log.Debug("function efl_gfx_shape_stroke_color_get was called");
845 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
848 r = default(int); g = default(int); b = default(int); a = default(int);
851 ((Shape)wrapper).GetStrokeColor(out r, out g, out b, out a);
855 Eina.Log.Warning($"Callback error: {e.ToString()}");
856 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
863 efl_gfx_shape_stroke_color_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out r, out g, out b, out a);
867 private static efl_gfx_shape_stroke_color_get_delegate efl_gfx_shape_stroke_color_get_static_delegate;
870 private delegate void efl_gfx_shape_stroke_color_set_delegate(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a);
873 public delegate void efl_gfx_shape_stroke_color_set_api_delegate(System.IntPtr obj, int r, int g, int b, int a);
875 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_color_set_api_delegate> efl_gfx_shape_stroke_color_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_color_set_api_delegate>(Module, "efl_gfx_shape_stroke_color_set");
877 private static void stroke_color_set(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a)
879 Eina.Log.Debug("function efl_gfx_shape_stroke_color_set was called");
880 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
886 ((Shape)wrapper).SetStrokeColor(r, g, b, a);
890 Eina.Log.Warning($"Callback error: {e.ToString()}");
891 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
898 efl_gfx_shape_stroke_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r, g, b, a);
902 private static efl_gfx_shape_stroke_color_set_delegate efl_gfx_shape_stroke_color_set_static_delegate;
905 private delegate double efl_gfx_shape_stroke_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
908 public delegate double efl_gfx_shape_stroke_width_get_api_delegate(System.IntPtr obj);
910 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_width_get_api_delegate> efl_gfx_shape_stroke_width_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_width_get_api_delegate>(Module, "efl_gfx_shape_stroke_width_get");
912 private static double stroke_width_get(System.IntPtr obj, System.IntPtr pd)
914 Eina.Log.Debug("function efl_gfx_shape_stroke_width_get was called");
915 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
918 double _ret_var = default(double);
921 _ret_var = ((Shape)wrapper).GetStrokeWidth();
925 Eina.Log.Warning($"Callback error: {e.ToString()}");
926 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
934 return efl_gfx_shape_stroke_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
938 private static efl_gfx_shape_stroke_width_get_delegate efl_gfx_shape_stroke_width_get_static_delegate;
941 private delegate void efl_gfx_shape_stroke_width_set_delegate(System.IntPtr obj, System.IntPtr pd, double w);
944 public delegate void efl_gfx_shape_stroke_width_set_api_delegate(System.IntPtr obj, double w);
946 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_width_set_api_delegate> efl_gfx_shape_stroke_width_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_width_set_api_delegate>(Module, "efl_gfx_shape_stroke_width_set");
948 private static void stroke_width_set(System.IntPtr obj, System.IntPtr pd, double w)
950 Eina.Log.Debug("function efl_gfx_shape_stroke_width_set was called");
951 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
957 ((Shape)wrapper).SetStrokeWidth(w);
961 Eina.Log.Warning($"Callback error: {e.ToString()}");
962 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
969 efl_gfx_shape_stroke_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), w);
973 private static efl_gfx_shape_stroke_width_set_delegate efl_gfx_shape_stroke_width_set_static_delegate;
976 private delegate double efl_gfx_shape_stroke_location_get_delegate(System.IntPtr obj, System.IntPtr pd);
979 public delegate double efl_gfx_shape_stroke_location_get_api_delegate(System.IntPtr obj);
981 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_location_get_api_delegate> efl_gfx_shape_stroke_location_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_location_get_api_delegate>(Module, "efl_gfx_shape_stroke_location_get");
983 private static double stroke_location_get(System.IntPtr obj, System.IntPtr pd)
985 Eina.Log.Debug("function efl_gfx_shape_stroke_location_get was called");
986 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
989 double _ret_var = default(double);
992 _ret_var = ((Shape)wrapper).GetStrokeLocation();
996 Eina.Log.Warning($"Callback error: {e.ToString()}");
997 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1005 return efl_gfx_shape_stroke_location_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1009 private static efl_gfx_shape_stroke_location_get_delegate efl_gfx_shape_stroke_location_get_static_delegate;
1012 private delegate void efl_gfx_shape_stroke_location_set_delegate(System.IntPtr obj, System.IntPtr pd, double centered);
1015 public delegate void efl_gfx_shape_stroke_location_set_api_delegate(System.IntPtr obj, double centered);
1017 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_location_set_api_delegate> efl_gfx_shape_stroke_location_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_location_set_api_delegate>(Module, "efl_gfx_shape_stroke_location_set");
1019 private static void stroke_location_set(System.IntPtr obj, System.IntPtr pd, double centered)
1021 Eina.Log.Debug("function efl_gfx_shape_stroke_location_set was called");
1022 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1023 if (wrapper != null)
1028 ((Shape)wrapper).SetStrokeLocation(centered);
1032 Eina.Log.Warning($"Callback error: {e.ToString()}");
1033 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1040 efl_gfx_shape_stroke_location_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), centered);
1044 private static efl_gfx_shape_stroke_location_set_delegate efl_gfx_shape_stroke_location_set_static_delegate;
1047 private delegate void efl_gfx_shape_stroke_dash_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr dash, out uint length);
1050 public delegate void efl_gfx_shape_stroke_dash_get_api_delegate(System.IntPtr obj, out System.IntPtr dash, out uint length);
1052 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_dash_get_api_delegate> efl_gfx_shape_stroke_dash_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_dash_get_api_delegate>(Module, "efl_gfx_shape_stroke_dash_get");
1054 private static void stroke_dash_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr dash, out uint length)
1056 Eina.Log.Debug("function efl_gfx_shape_stroke_dash_get was called");
1057 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1058 if (wrapper != null)
1060 Efl.Gfx.Dash _out_dash = default(Efl.Gfx.Dash);
1061 length = default(uint);
1064 ((Shape)wrapper).GetStrokeDash(out _out_dash, out length);
1068 Eina.Log.Warning($"Callback error: {e.ToString()}");
1069 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1072 dash = Eina.PrimitiveConversion.ManagedToPointerAlloc(_out_dash);
1077 efl_gfx_shape_stroke_dash_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out dash, out length);
1081 private static efl_gfx_shape_stroke_dash_get_delegate efl_gfx_shape_stroke_dash_get_static_delegate;
1084 private delegate void efl_gfx_shape_stroke_dash_set_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.Dash.NativeStruct dash, uint length);
1087 public delegate void efl_gfx_shape_stroke_dash_set_api_delegate(System.IntPtr obj, ref Efl.Gfx.Dash.NativeStruct dash, uint length);
1089 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_dash_set_api_delegate> efl_gfx_shape_stroke_dash_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_dash_set_api_delegate>(Module, "efl_gfx_shape_stroke_dash_set");
1091 private static void stroke_dash_set(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.Dash.NativeStruct dash, uint length)
1093 Eina.Log.Debug("function efl_gfx_shape_stroke_dash_set was called");
1094 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1095 if (wrapper != null)
1097 Efl.Gfx.Dash _in_dash = dash;
1101 ((Shape)wrapper).SetStrokeDash(ref _in_dash, length);
1105 Eina.Log.Warning($"Callback error: {e.ToString()}");
1106 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1114 efl_gfx_shape_stroke_dash_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref dash, length);
1118 private static efl_gfx_shape_stroke_dash_set_delegate efl_gfx_shape_stroke_dash_set_static_delegate;
1121 private delegate Efl.Gfx.Cap efl_gfx_shape_stroke_cap_get_delegate(System.IntPtr obj, System.IntPtr pd);
1124 public delegate Efl.Gfx.Cap efl_gfx_shape_stroke_cap_get_api_delegate(System.IntPtr obj);
1126 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_cap_get_api_delegate> efl_gfx_shape_stroke_cap_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_cap_get_api_delegate>(Module, "efl_gfx_shape_stroke_cap_get");
1128 private static Efl.Gfx.Cap stroke_cap_get(System.IntPtr obj, System.IntPtr pd)
1130 Eina.Log.Debug("function efl_gfx_shape_stroke_cap_get was called");
1131 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1132 if (wrapper != null)
1134 Efl.Gfx.Cap _ret_var = default(Efl.Gfx.Cap);
1137 _ret_var = ((Shape)wrapper).GetStrokeCap();
1141 Eina.Log.Warning($"Callback error: {e.ToString()}");
1142 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1150 return efl_gfx_shape_stroke_cap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1154 private static efl_gfx_shape_stroke_cap_get_delegate efl_gfx_shape_stroke_cap_get_static_delegate;
1157 private delegate void efl_gfx_shape_stroke_cap_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.Cap c);
1160 public delegate void efl_gfx_shape_stroke_cap_set_api_delegate(System.IntPtr obj, Efl.Gfx.Cap c);
1162 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_cap_set_api_delegate> efl_gfx_shape_stroke_cap_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_cap_set_api_delegate>(Module, "efl_gfx_shape_stroke_cap_set");
1164 private static void stroke_cap_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.Cap c)
1166 Eina.Log.Debug("function efl_gfx_shape_stroke_cap_set was called");
1167 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1168 if (wrapper != null)
1173 ((Shape)wrapper).SetStrokeCap(c);
1177 Eina.Log.Warning($"Callback error: {e.ToString()}");
1178 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1185 efl_gfx_shape_stroke_cap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), c);
1189 private static efl_gfx_shape_stroke_cap_set_delegate efl_gfx_shape_stroke_cap_set_static_delegate;
1192 private delegate Efl.Gfx.Join efl_gfx_shape_stroke_join_get_delegate(System.IntPtr obj, System.IntPtr pd);
1195 public delegate Efl.Gfx.Join efl_gfx_shape_stroke_join_get_api_delegate(System.IntPtr obj);
1197 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_join_get_api_delegate> efl_gfx_shape_stroke_join_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_join_get_api_delegate>(Module, "efl_gfx_shape_stroke_join_get");
1199 private static Efl.Gfx.Join stroke_join_get(System.IntPtr obj, System.IntPtr pd)
1201 Eina.Log.Debug("function efl_gfx_shape_stroke_join_get was called");
1202 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1203 if (wrapper != null)
1205 Efl.Gfx.Join _ret_var = default(Efl.Gfx.Join);
1208 _ret_var = ((Shape)wrapper).GetStrokeJoin();
1212 Eina.Log.Warning($"Callback error: {e.ToString()}");
1213 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1221 return efl_gfx_shape_stroke_join_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1225 private static efl_gfx_shape_stroke_join_get_delegate efl_gfx_shape_stroke_join_get_static_delegate;
1228 private delegate void efl_gfx_shape_stroke_join_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.Join j);
1231 public delegate void efl_gfx_shape_stroke_join_set_api_delegate(System.IntPtr obj, Efl.Gfx.Join j);
1233 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_join_set_api_delegate> efl_gfx_shape_stroke_join_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_stroke_join_set_api_delegate>(Module, "efl_gfx_shape_stroke_join_set");
1235 private static void stroke_join_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.Join j)
1237 Eina.Log.Debug("function efl_gfx_shape_stroke_join_set was called");
1238 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1239 if (wrapper != null)
1244 ((Shape)wrapper).SetStrokeJoin(j);
1248 Eina.Log.Warning($"Callback error: {e.ToString()}");
1249 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1256 efl_gfx_shape_stroke_join_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), j);
1260 private static efl_gfx_shape_stroke_join_set_delegate efl_gfx_shape_stroke_join_set_static_delegate;
1263 private delegate Efl.Gfx.FillRule efl_gfx_shape_fill_rule_get_delegate(System.IntPtr obj, System.IntPtr pd);
1266 public delegate Efl.Gfx.FillRule efl_gfx_shape_fill_rule_get_api_delegate(System.IntPtr obj);
1268 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_fill_rule_get_api_delegate> efl_gfx_shape_fill_rule_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_fill_rule_get_api_delegate>(Module, "efl_gfx_shape_fill_rule_get");
1270 private static Efl.Gfx.FillRule fill_rule_get(System.IntPtr obj, System.IntPtr pd)
1272 Eina.Log.Debug("function efl_gfx_shape_fill_rule_get was called");
1273 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1274 if (wrapper != null)
1276 Efl.Gfx.FillRule _ret_var = default(Efl.Gfx.FillRule);
1279 _ret_var = ((Shape)wrapper).GetFillRule();
1283 Eina.Log.Warning($"Callback error: {e.ToString()}");
1284 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1292 return efl_gfx_shape_fill_rule_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1296 private static efl_gfx_shape_fill_rule_get_delegate efl_gfx_shape_fill_rule_get_static_delegate;
1299 private delegate void efl_gfx_shape_fill_rule_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.FillRule fill_rule);
1302 public delegate void efl_gfx_shape_fill_rule_set_api_delegate(System.IntPtr obj, Efl.Gfx.FillRule fill_rule);
1304 public static Efl.Eo.FunctionWrapper<efl_gfx_shape_fill_rule_set_api_delegate> efl_gfx_shape_fill_rule_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_shape_fill_rule_set_api_delegate>(Module, "efl_gfx_shape_fill_rule_set");
1306 private static void fill_rule_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.FillRule fill_rule)
1308 Eina.Log.Debug("function efl_gfx_shape_fill_rule_set was called");
1309 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
1310 if (wrapper != null)
1315 ((Shape)wrapper).SetFillRule(fill_rule);
1319 Eina.Log.Warning($"Callback error: {e.ToString()}");
1320 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1327 efl_gfx_shape_fill_rule_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill_rule);
1331 private static efl_gfx_shape_fill_rule_set_delegate efl_gfx_shape_fill_rule_set_static_delegate;
1333 #pragma warning restore CA1707, SA1300, SA1600