[EflSharp] Update Circle and efl cs files (#995)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_text_font.eo.cs
1 #define EFL_BETA
2 #pragma warning disable CS1591
3 using System;
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
6 using System.Linq;
7 using System.Threading;
8 using System.ComponentModel;
9 namespace Efl {
10
11 /// <summary>Font settings of the text</summary>
12 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
13 [Efl.ITextFontConcrete.NativeMethods]
14 [Efl.Eo.BindingEntity]
15 public interface ITextFont : 
16     Efl.Eo.IWrapper, IDisposable
17 {
18     /// <summary>Retrieve the font family and size in use on a given text object.
19 /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
20 /// 
21 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
22 /// <param name="font">The font family name or filename.</param>
23 /// <param name="size">The font size, in points.</param>
24 void GetFont(out System.String font, out Efl.Font.Size size);
25     /// <summary>Set the font family, filename and size for a given text object.
26 /// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig&apos;s convention for naming fonts, as it&apos;s the underlying library used to query system fonts by Evas (see the fc-list command&apos;s output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
27 /// 
28 /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
29 /// 
30 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
31 /// <param name="font">The font family name or filename.</param>
32 /// <param name="size">The font size, in points.</param>
33 void SetFont(System.String font, Efl.Font.Size size);
34     /// <summary>Get the font file&apos;s path which is being used on a given text object.
35 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
36 /// <returns>The font file&apos;s path.</returns>
37 System.String GetFontSource();
38     /// <summary>Set the font (source) file to be used on a given text object.
39 /// This function allows the font file to be explicitly set for a given text object, overriding system lookup, which will first occur in the given file&apos;s contents.
40 /// 
41 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
42 /// <param name="font_source">The font file&apos;s path.</param>
43 void SetFontSource(System.String font_source);
44     /// <summary>Comma-separated list of font fallbacks
45 /// Will be used in case the primary font isn&apos;t available.</summary>
46 /// <returns>Font name fallbacks</returns>
47 System.String GetFontFallbacks();
48     /// <summary>Comma-separated list of font fallbacks
49 /// Will be used in case the primary font isn&apos;t available.</summary>
50 /// <param name="font_fallbacks">Font name fallbacks</param>
51 void SetFontFallbacks(System.String font_fallbacks);
52     /// <summary>Type of weight of the displayed font
53 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
54 /// <returns>Font weight</returns>
55 Efl.TextFontWeight GetFontWeight();
56     /// <summary>Type of weight of the displayed font
57 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
58 /// <param name="font_weight">Font weight</param>
59 void SetFontWeight(Efl.TextFontWeight font_weight);
60     /// <summary>Type of slant of the displayed font
61 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
62 /// <returns>Font slant</returns>
63 Efl.TextFontSlant GetFontSlant();
64     /// <summary>Type of slant of the displayed font
65 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
66 /// <param name="style">Font slant</param>
67 void SetFontSlant(Efl.TextFontSlant style);
68     /// <summary>Type of width of the displayed font
69 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
70 /// <returns>Font width</returns>
71 Efl.TextFontWidth GetFontWidth();
72     /// <summary>Type of width of the displayed font
73 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
74 /// <param name="width">Font width</param>
75 void SetFontWidth(Efl.TextFontWidth width);
76     /// <summary>Specific language of the displayed font
77 /// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g &quot;en_US&quot;, &quot;auto&quot; to use the system locale, or &quot;none&quot;.</summary>
78 /// <returns>Language</returns>
79 System.String GetFontLang();
80     /// <summary>Specific language of the displayed font
81 /// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g &quot;en_US&quot;, &quot;auto&quot; to use the system locale, or &quot;none&quot;.</summary>
82 /// <param name="lang">Language</param>
83 void SetFontLang(System.String lang);
84     /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
85 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
86 /// <returns>Scalable</returns>
87 Efl.TextFontBitmapScalable GetFontBitmapScalable();
88     /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
89 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
90 /// <param name="scalable">Scalable</param>
91 void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable);
92                                                                     /// <summary>Retrieve the font family and size in use on a given text object.
93     /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
94     /// 
95     /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
96     /// <value>The font family name or filename.</value>
97     (System.String, Efl.Font.Size) Font {
98         get;
99         set;
100     }
101     /// <summary>Get the font file&apos;s path which is being used on a given text object.
102     /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
103     /// <value>The font file&apos;s path.</value>
104     System.String FontSource {
105         get;
106         set;
107     }
108     /// <summary>Comma-separated list of font fallbacks
109     /// Will be used in case the primary font isn&apos;t available.</summary>
110     /// <value>Font name fallbacks</value>
111     System.String FontFallbacks {
112         get;
113         set;
114     }
115     /// <summary>Type of weight of the displayed font
116     /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
117     /// <value>Font weight</value>
118     Efl.TextFontWeight FontWeight {
119         get;
120         set;
121     }
122     /// <summary>Type of slant of the displayed font
123     /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
124     /// <value>Font slant</value>
125     Efl.TextFontSlant FontSlant {
126         get;
127         set;
128     }
129     /// <summary>Type of width of the displayed font
130     /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
131     /// <value>Font width</value>
132     Efl.TextFontWidth FontWidth {
133         get;
134         set;
135     }
136     /// <summary>Specific language of the displayed font
137     /// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g &quot;en_US&quot;, &quot;auto&quot; to use the system locale, or &quot;none&quot;.</summary>
138     /// <value>Language</value>
139     System.String FontLang {
140         get;
141         set;
142     }
143     /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
144     /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
145     /// <value>Scalable</value>
146     Efl.TextFontBitmapScalable FontBitmapScalable {
147         get;
148         set;
149     }
150 }
151 /// <summary>Font settings of the text</summary>
152 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
153 sealed public  class ITextFontConcrete :
154     Efl.Eo.EoWrapper
155     , ITextFont
156     
157 {
158     /// <summary>Pointer to the native class description.</summary>
159     public override System.IntPtr NativeClass
160     {
161         get
162         {
163             if (((object)this).GetType() == typeof(ITextFontConcrete))
164             {
165                 return GetEflClassStatic();
166             }
167             else
168             {
169                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
170             }
171         }
172     }
173
174     /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
175     /// Do not call this constructor directly.</summary>
176     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
177     private ITextFontConcrete(ConstructingHandle ch) : base(ch)
178     {
179     }
180
181     [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
182         efl_text_font_interface_get();
183     /// <summary>Initializes a new instance of the <see cref="ITextFont"/> class.
184     /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
185     /// <param name="wh">The native pointer to be wrapped.</param>
186     private ITextFontConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
187     {
188     }
189
190     /// <summary>Retrieve the font family and size in use on a given text object.
191     /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
192     /// 
193     /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
194     /// <param name="font">The font family name or filename.</param>
195     /// <param name="size">The font size, in points.</param>
196     public void GetFont(out System.String font, out Efl.Font.Size size) {
197                                                          Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate(this.NativeHandle,out font, out size);
198         Eina.Error.RaiseIfUnhandledException();
199                                          }
200     /// <summary>Set the font family, filename and size for a given text object.
201     /// This function allows the font name and size of a text object to be set. The font string has to follow fontconfig&apos;s convention for naming fonts, as it&apos;s the underlying library used to query system fonts by Evas (see the fc-list command&apos;s output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
202     /// 
203     /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
204     /// 
205     /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
206     /// <param name="font">The font family name or filename.</param>
207     /// <param name="size">The font size, in points.</param>
208     public void SetFont(System.String font, Efl.Font.Size size) {
209                                                          Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate(this.NativeHandle,font, size);
210         Eina.Error.RaiseIfUnhandledException();
211                                          }
212     /// <summary>Get the font file&apos;s path which is being used on a given text object.
213     /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
214     /// <returns>The font file&apos;s path.</returns>
215     public System.String GetFontSource() {
216          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate(this.NativeHandle);
217         Eina.Error.RaiseIfUnhandledException();
218         return _ret_var;
219  }
220     /// <summary>Set the font (source) file to be used on a given text object.
221     /// This function allows the font file to be explicitly set for a given text object, overriding system lookup, which will first occur in the given file&apos;s contents.
222     /// 
223     /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
224     /// <param name="font_source">The font file&apos;s path.</param>
225     public void SetFontSource(System.String font_source) {
226                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate(this.NativeHandle,font_source);
227         Eina.Error.RaiseIfUnhandledException();
228                          }
229     /// <summary>Comma-separated list of font fallbacks
230     /// Will be used in case the primary font isn&apos;t available.</summary>
231     /// <returns>Font name fallbacks</returns>
232     public System.String GetFontFallbacks() {
233          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate(this.NativeHandle);
234         Eina.Error.RaiseIfUnhandledException();
235         return _ret_var;
236  }
237     /// <summary>Comma-separated list of font fallbacks
238     /// Will be used in case the primary font isn&apos;t available.</summary>
239     /// <param name="font_fallbacks">Font name fallbacks</param>
240     public void SetFontFallbacks(System.String font_fallbacks) {
241                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate(this.NativeHandle,font_fallbacks);
242         Eina.Error.RaiseIfUnhandledException();
243                          }
244     /// <summary>Type of weight of the displayed font
245     /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
246     /// <returns>Font weight</returns>
247     public Efl.TextFontWeight GetFontWeight() {
248          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate(this.NativeHandle);
249         Eina.Error.RaiseIfUnhandledException();
250         return _ret_var;
251  }
252     /// <summary>Type of weight of the displayed font
253     /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
254     /// <param name="font_weight">Font weight</param>
255     public void SetFontWeight(Efl.TextFontWeight font_weight) {
256                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate(this.NativeHandle,font_weight);
257         Eina.Error.RaiseIfUnhandledException();
258                          }
259     /// <summary>Type of slant of the displayed font
260     /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
261     /// <returns>Font slant</returns>
262     public Efl.TextFontSlant GetFontSlant() {
263          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate(this.NativeHandle);
264         Eina.Error.RaiseIfUnhandledException();
265         return _ret_var;
266  }
267     /// <summary>Type of slant of the displayed font
268     /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
269     /// <param name="style">Font slant</param>
270     public void SetFontSlant(Efl.TextFontSlant style) {
271                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate(this.NativeHandle,style);
272         Eina.Error.RaiseIfUnhandledException();
273                          }
274     /// <summary>Type of width of the displayed font
275     /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
276     /// <returns>Font width</returns>
277     public Efl.TextFontWidth GetFontWidth() {
278          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate(this.NativeHandle);
279         Eina.Error.RaiseIfUnhandledException();
280         return _ret_var;
281  }
282     /// <summary>Type of width of the displayed font
283     /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
284     /// <param name="width">Font width</param>
285     public void SetFontWidth(Efl.TextFontWidth width) {
286                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate(this.NativeHandle,width);
287         Eina.Error.RaiseIfUnhandledException();
288                          }
289     /// <summary>Specific language of the displayed font
290     /// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g &quot;en_US&quot;, &quot;auto&quot; to use the system locale, or &quot;none&quot;.</summary>
291     /// <returns>Language</returns>
292     public System.String GetFontLang() {
293          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate(this.NativeHandle);
294         Eina.Error.RaiseIfUnhandledException();
295         return _ret_var;
296  }
297     /// <summary>Specific language of the displayed font
298     /// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g &quot;en_US&quot;, &quot;auto&quot; to use the system locale, or &quot;none&quot;.</summary>
299     /// <param name="lang">Language</param>
300     public void SetFontLang(System.String lang) {
301                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate(this.NativeHandle,lang);
302         Eina.Error.RaiseIfUnhandledException();
303                          }
304     /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
305     /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
306     /// <returns>Scalable</returns>
307     public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
308          var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(this.NativeHandle);
309         Eina.Error.RaiseIfUnhandledException();
310         return _ret_var;
311  }
312     /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
313     /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
314     /// <param name="scalable">Scalable</param>
315     public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
316                                  Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(this.NativeHandle,scalable);
317         Eina.Error.RaiseIfUnhandledException();
318                          }
319     /// <summary>Retrieve the font family and size in use on a given text object.
320     /// This function allows the font name and size of a text object to be queried. Remember that the font name string is still owned by Evas and should not have free() called on it by the caller of the function.
321     /// 
322     /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
323     /// <value>The font family name or filename.</value>
324     public (System.String, Efl.Font.Size) Font {
325         get {
326             System.String _out_font = default(System.String);
327             Efl.Font.Size _out_size = default(Efl.Font.Size);
328             GetFont(out _out_font,out _out_size);
329             return (_out_font,_out_size);
330         }
331         set { SetFont( value.Item1,  value.Item2); }
332     }
333     /// <summary>Get the font file&apos;s path which is being used on a given text object.
334     /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
335     /// <value>The font file&apos;s path.</value>
336     public System.String FontSource {
337         get { return GetFontSource(); }
338         set { SetFontSource(value); }
339     }
340     /// <summary>Comma-separated list of font fallbacks
341     /// Will be used in case the primary font isn&apos;t available.</summary>
342     /// <value>Font name fallbacks</value>
343     public System.String FontFallbacks {
344         get { return GetFontFallbacks(); }
345         set { SetFontFallbacks(value); }
346     }
347     /// <summary>Type of weight of the displayed font
348     /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
349     /// <value>Font weight</value>
350     public Efl.TextFontWeight FontWeight {
351         get { return GetFontWeight(); }
352         set { SetFontWeight(value); }
353     }
354     /// <summary>Type of slant of the displayed font
355     /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
356     /// <value>Font slant</value>
357     public Efl.TextFontSlant FontSlant {
358         get { return GetFontSlant(); }
359         set { SetFontSlant(value); }
360     }
361     /// <summary>Type of width of the displayed font
362     /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
363     /// <value>Font width</value>
364     public Efl.TextFontWidth FontWidth {
365         get { return GetFontWidth(); }
366         set { SetFontWidth(value); }
367     }
368     /// <summary>Specific language of the displayed font
369     /// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language <c>lang</c> can be either a code e.g &quot;en_US&quot;, &quot;auto&quot; to use the system locale, or &quot;none&quot;.</summary>
370     /// <value>Language</value>
371     public System.String FontLang {
372         get { return GetFontLang(); }
373         set { SetFontLang(value); }
374     }
375     /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
376     /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
377     /// <value>Scalable</value>
378     public Efl.TextFontBitmapScalable FontBitmapScalable {
379         get { return GetFontBitmapScalable(); }
380         set { SetFontBitmapScalable(value); }
381     }
382     private static IntPtr GetEflClassStatic()
383     {
384         return Efl.ITextFontConcrete.efl_text_font_interface_get();
385     }
386     /// <summary>Wrapper for native methods and virtual method delegates.
387     /// For internal use by generated code only.</summary>
388     public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
389     {
390         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Efl);
391         /// <summary>Gets the list of Eo operations to override.</summary>
392         /// <returns>The list of Eo operations to be overload.</returns>
393         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
394         {
395             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
396             var methods = Efl.Eo.Globals.GetUserMethods(type);
397
398             if (efl_text_font_get_static_delegate == null)
399             {
400                 efl_text_font_get_static_delegate = new efl_text_font_get_delegate(font_get);
401             }
402
403             if (methods.FirstOrDefault(m => m.Name == "GetFont") != null)
404             {
405                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_get_static_delegate) });
406             }
407
408             if (efl_text_font_set_static_delegate == null)
409             {
410                 efl_text_font_set_static_delegate = new efl_text_font_set_delegate(font_set);
411             }
412
413             if (methods.FirstOrDefault(m => m.Name == "SetFont") != null)
414             {
415                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_set_static_delegate) });
416             }
417
418             if (efl_text_font_source_get_static_delegate == null)
419             {
420                 efl_text_font_source_get_static_delegate = new efl_text_font_source_get_delegate(font_source_get);
421             }
422
423             if (methods.FirstOrDefault(m => m.Name == "GetFontSource") != null)
424             {
425                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_source_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_source_get_static_delegate) });
426             }
427
428             if (efl_text_font_source_set_static_delegate == null)
429             {
430                 efl_text_font_source_set_static_delegate = new efl_text_font_source_set_delegate(font_source_set);
431             }
432
433             if (methods.FirstOrDefault(m => m.Name == "SetFontSource") != null)
434             {
435                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_source_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_source_set_static_delegate) });
436             }
437
438             if (efl_text_font_fallbacks_get_static_delegate == null)
439             {
440                 efl_text_font_fallbacks_get_static_delegate = new efl_text_font_fallbacks_get_delegate(font_fallbacks_get);
441             }
442
443             if (methods.FirstOrDefault(m => m.Name == "GetFontFallbacks") != null)
444             {
445                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_fallbacks_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_fallbacks_get_static_delegate) });
446             }
447
448             if (efl_text_font_fallbacks_set_static_delegate == null)
449             {
450                 efl_text_font_fallbacks_set_static_delegate = new efl_text_font_fallbacks_set_delegate(font_fallbacks_set);
451             }
452
453             if (methods.FirstOrDefault(m => m.Name == "SetFontFallbacks") != null)
454             {
455                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_fallbacks_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_fallbacks_set_static_delegate) });
456             }
457
458             if (efl_text_font_weight_get_static_delegate == null)
459             {
460                 efl_text_font_weight_get_static_delegate = new efl_text_font_weight_get_delegate(font_weight_get);
461             }
462
463             if (methods.FirstOrDefault(m => m.Name == "GetFontWeight") != null)
464             {
465                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_weight_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_weight_get_static_delegate) });
466             }
467
468             if (efl_text_font_weight_set_static_delegate == null)
469             {
470                 efl_text_font_weight_set_static_delegate = new efl_text_font_weight_set_delegate(font_weight_set);
471             }
472
473             if (methods.FirstOrDefault(m => m.Name == "SetFontWeight") != null)
474             {
475                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_weight_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_weight_set_static_delegate) });
476             }
477
478             if (efl_text_font_slant_get_static_delegate == null)
479             {
480                 efl_text_font_slant_get_static_delegate = new efl_text_font_slant_get_delegate(font_slant_get);
481             }
482
483             if (methods.FirstOrDefault(m => m.Name == "GetFontSlant") != null)
484             {
485                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_slant_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_slant_get_static_delegate) });
486             }
487
488             if (efl_text_font_slant_set_static_delegate == null)
489             {
490                 efl_text_font_slant_set_static_delegate = new efl_text_font_slant_set_delegate(font_slant_set);
491             }
492
493             if (methods.FirstOrDefault(m => m.Name == "SetFontSlant") != null)
494             {
495                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_slant_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_slant_set_static_delegate) });
496             }
497
498             if (efl_text_font_width_get_static_delegate == null)
499             {
500                 efl_text_font_width_get_static_delegate = new efl_text_font_width_get_delegate(font_width_get);
501             }
502
503             if (methods.FirstOrDefault(m => m.Name == "GetFontWidth") != null)
504             {
505                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_width_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_width_get_static_delegate) });
506             }
507
508             if (efl_text_font_width_set_static_delegate == null)
509             {
510                 efl_text_font_width_set_static_delegate = new efl_text_font_width_set_delegate(font_width_set);
511             }
512
513             if (methods.FirstOrDefault(m => m.Name == "SetFontWidth") != null)
514             {
515                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_width_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_width_set_static_delegate) });
516             }
517
518             if (efl_text_font_lang_get_static_delegate == null)
519             {
520                 efl_text_font_lang_get_static_delegate = new efl_text_font_lang_get_delegate(font_lang_get);
521             }
522
523             if (methods.FirstOrDefault(m => m.Name == "GetFontLang") != null)
524             {
525                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_lang_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_lang_get_static_delegate) });
526             }
527
528             if (efl_text_font_lang_set_static_delegate == null)
529             {
530                 efl_text_font_lang_set_static_delegate = new efl_text_font_lang_set_delegate(font_lang_set);
531             }
532
533             if (methods.FirstOrDefault(m => m.Name == "SetFontLang") != null)
534             {
535                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_lang_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_lang_set_static_delegate) });
536             }
537
538             if (efl_text_font_bitmap_scalable_get_static_delegate == null)
539             {
540                 efl_text_font_bitmap_scalable_get_static_delegate = new efl_text_font_bitmap_scalable_get_delegate(font_bitmap_scalable_get);
541             }
542
543             if (methods.FirstOrDefault(m => m.Name == "GetFontBitmapScalable") != null)
544             {
545                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_bitmap_scalable_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_bitmap_scalable_get_static_delegate) });
546             }
547
548             if (efl_text_font_bitmap_scalable_set_static_delegate == null)
549             {
550                 efl_text_font_bitmap_scalable_set_static_delegate = new efl_text_font_bitmap_scalable_set_delegate(font_bitmap_scalable_set);
551             }
552
553             if (methods.FirstOrDefault(m => m.Name == "SetFontBitmapScalable") != null)
554             {
555                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_font_bitmap_scalable_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_font_bitmap_scalable_set_static_delegate) });
556             }
557
558             return descs;
559         }
560         /// <summary>Returns the Eo class for the native methods of this class.</summary>
561         /// <returns>The native class pointer.</returns>
562         public override IntPtr GetEflClass()
563         {
564             return Efl.ITextFontConcrete.efl_text_font_interface_get();
565         }
566
567         #pragma warning disable CA1707, CS1591, SA1300, SA1600
568
569         
570         private delegate void efl_text_font_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String font,  out Efl.Font.Size size);
571
572         
573         public delegate void efl_text_font_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String font,  out Efl.Font.Size size);
574
575         public static Efl.Eo.FunctionWrapper<efl_text_font_get_api_delegate> efl_text_font_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_get_api_delegate>(Module, "efl_text_font_get");
576
577         private static void font_get(System.IntPtr obj, System.IntPtr pd, out System.String font, out Efl.Font.Size size)
578         {
579             Eina.Log.Debug("function efl_text_font_get was called");
580             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
581             if (ws != null)
582             {
583                         System.String _out_font = default(System.String);
584         size = default(Efl.Font.Size);                            
585                 try
586                 {
587                     ((ITextFont)ws.Target).GetFont(out _out_font, out size);
588                 }
589                 catch (Exception e)
590                 {
591                     Eina.Log.Warning($"Callback error: {e.ToString()}");
592                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
593                 }
594
595         font = _out_font;
596                                 
597             }
598             else
599             {
600                 efl_text_font_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out font, out size);
601             }
602         }
603
604         private static efl_text_font_get_delegate efl_text_font_get_static_delegate;
605
606         
607         private delegate void efl_text_font_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String font,  Efl.Font.Size size);
608
609         
610         public delegate void efl_text_font_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String font,  Efl.Font.Size size);
611
612         public static Efl.Eo.FunctionWrapper<efl_text_font_set_api_delegate> efl_text_font_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_set_api_delegate>(Module, "efl_text_font_set");
613
614         private static void font_set(System.IntPtr obj, System.IntPtr pd, System.String font, Efl.Font.Size size)
615         {
616             Eina.Log.Debug("function efl_text_font_set was called");
617             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
618             if (ws != null)
619             {
620                                                             
621                 try
622                 {
623                     ((ITextFont)ws.Target).SetFont(font, size);
624                 }
625                 catch (Exception e)
626                 {
627                     Eina.Log.Warning($"Callback error: {e.ToString()}");
628                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
629                 }
630
631                                         
632             }
633             else
634             {
635                 efl_text_font_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font, size);
636             }
637         }
638
639         private static efl_text_font_set_delegate efl_text_font_set_static_delegate;
640
641         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
642         private delegate System.String efl_text_font_source_get_delegate(System.IntPtr obj, System.IntPtr pd);
643
644         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
645         public delegate System.String efl_text_font_source_get_api_delegate(System.IntPtr obj);
646
647         public static Efl.Eo.FunctionWrapper<efl_text_font_source_get_api_delegate> efl_text_font_source_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_source_get_api_delegate>(Module, "efl_text_font_source_get");
648
649         private static System.String font_source_get(System.IntPtr obj, System.IntPtr pd)
650         {
651             Eina.Log.Debug("function efl_text_font_source_get was called");
652             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
653             if (ws != null)
654             {
655             System.String _ret_var = default(System.String);
656                 try
657                 {
658                     _ret_var = ((ITextFont)ws.Target).GetFontSource();
659                 }
660                 catch (Exception e)
661                 {
662                     Eina.Log.Warning($"Callback error: {e.ToString()}");
663                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
664                 }
665
666         return _ret_var;
667
668             }
669             else
670             {
671                 return efl_text_font_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
672             }
673         }
674
675         private static efl_text_font_source_get_delegate efl_text_font_source_get_static_delegate;
676
677         
678         private delegate void efl_text_font_source_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String font_source);
679
680         
681         public delegate void efl_text_font_source_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String font_source);
682
683         public static Efl.Eo.FunctionWrapper<efl_text_font_source_set_api_delegate> efl_text_font_source_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_source_set_api_delegate>(Module, "efl_text_font_source_set");
684
685         private static void font_source_set(System.IntPtr obj, System.IntPtr pd, System.String font_source)
686         {
687             Eina.Log.Debug("function efl_text_font_source_set was called");
688             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
689             if (ws != null)
690             {
691                                     
692                 try
693                 {
694                     ((ITextFont)ws.Target).SetFontSource(font_source);
695                 }
696                 catch (Exception e)
697                 {
698                     Eina.Log.Warning($"Callback error: {e.ToString()}");
699                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
700                 }
701
702                         
703             }
704             else
705             {
706                 efl_text_font_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_source);
707             }
708         }
709
710         private static efl_text_font_source_set_delegate efl_text_font_source_set_static_delegate;
711
712         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
713         private delegate System.String efl_text_font_fallbacks_get_delegate(System.IntPtr obj, System.IntPtr pd);
714
715         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
716         public delegate System.String efl_text_font_fallbacks_get_api_delegate(System.IntPtr obj);
717
718         public static Efl.Eo.FunctionWrapper<efl_text_font_fallbacks_get_api_delegate> efl_text_font_fallbacks_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_fallbacks_get_api_delegate>(Module, "efl_text_font_fallbacks_get");
719
720         private static System.String font_fallbacks_get(System.IntPtr obj, System.IntPtr pd)
721         {
722             Eina.Log.Debug("function efl_text_font_fallbacks_get was called");
723             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
724             if (ws != null)
725             {
726             System.String _ret_var = default(System.String);
727                 try
728                 {
729                     _ret_var = ((ITextFont)ws.Target).GetFontFallbacks();
730                 }
731                 catch (Exception e)
732                 {
733                     Eina.Log.Warning($"Callback error: {e.ToString()}");
734                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
735                 }
736
737         return _ret_var;
738
739             }
740             else
741             {
742                 return efl_text_font_fallbacks_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
743             }
744         }
745
746         private static efl_text_font_fallbacks_get_delegate efl_text_font_fallbacks_get_static_delegate;
747
748         
749         private delegate void efl_text_font_fallbacks_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String font_fallbacks);
750
751         
752         public delegate void efl_text_font_fallbacks_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String font_fallbacks);
753
754         public static Efl.Eo.FunctionWrapper<efl_text_font_fallbacks_set_api_delegate> efl_text_font_fallbacks_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_fallbacks_set_api_delegate>(Module, "efl_text_font_fallbacks_set");
755
756         private static void font_fallbacks_set(System.IntPtr obj, System.IntPtr pd, System.String font_fallbacks)
757         {
758             Eina.Log.Debug("function efl_text_font_fallbacks_set was called");
759             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
760             if (ws != null)
761             {
762                                     
763                 try
764                 {
765                     ((ITextFont)ws.Target).SetFontFallbacks(font_fallbacks);
766                 }
767                 catch (Exception e)
768                 {
769                     Eina.Log.Warning($"Callback error: {e.ToString()}");
770                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
771                 }
772
773                         
774             }
775             else
776             {
777                 efl_text_font_fallbacks_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_fallbacks);
778             }
779         }
780
781         private static efl_text_font_fallbacks_set_delegate efl_text_font_fallbacks_set_static_delegate;
782
783         
784         private delegate Efl.TextFontWeight efl_text_font_weight_get_delegate(System.IntPtr obj, System.IntPtr pd);
785
786         
787         public delegate Efl.TextFontWeight efl_text_font_weight_get_api_delegate(System.IntPtr obj);
788
789         public static Efl.Eo.FunctionWrapper<efl_text_font_weight_get_api_delegate> efl_text_font_weight_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_weight_get_api_delegate>(Module, "efl_text_font_weight_get");
790
791         private static Efl.TextFontWeight font_weight_get(System.IntPtr obj, System.IntPtr pd)
792         {
793             Eina.Log.Debug("function efl_text_font_weight_get was called");
794             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
795             if (ws != null)
796             {
797             Efl.TextFontWeight _ret_var = default(Efl.TextFontWeight);
798                 try
799                 {
800                     _ret_var = ((ITextFont)ws.Target).GetFontWeight();
801                 }
802                 catch (Exception e)
803                 {
804                     Eina.Log.Warning($"Callback error: {e.ToString()}");
805                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
806                 }
807
808         return _ret_var;
809
810             }
811             else
812             {
813                 return efl_text_font_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
814             }
815         }
816
817         private static efl_text_font_weight_get_delegate efl_text_font_weight_get_static_delegate;
818
819         
820         private delegate void efl_text_font_weight_set_delegate(System.IntPtr obj, System.IntPtr pd,  Efl.TextFontWeight font_weight);
821
822         
823         public delegate void efl_text_font_weight_set_api_delegate(System.IntPtr obj,  Efl.TextFontWeight font_weight);
824
825         public static Efl.Eo.FunctionWrapper<efl_text_font_weight_set_api_delegate> efl_text_font_weight_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_weight_set_api_delegate>(Module, "efl_text_font_weight_set");
826
827         private static void font_weight_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight)
828         {
829             Eina.Log.Debug("function efl_text_font_weight_set was called");
830             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
831             if (ws != null)
832             {
833                                     
834                 try
835                 {
836                     ((ITextFont)ws.Target).SetFontWeight(font_weight);
837                 }
838                 catch (Exception e)
839                 {
840                     Eina.Log.Warning($"Callback error: {e.ToString()}");
841                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
842                 }
843
844                         
845             }
846             else
847             {
848                 efl_text_font_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_weight);
849             }
850         }
851
852         private static efl_text_font_weight_set_delegate efl_text_font_weight_set_static_delegate;
853
854         
855         private delegate Efl.TextFontSlant efl_text_font_slant_get_delegate(System.IntPtr obj, System.IntPtr pd);
856
857         
858         public delegate Efl.TextFontSlant efl_text_font_slant_get_api_delegate(System.IntPtr obj);
859
860         public static Efl.Eo.FunctionWrapper<efl_text_font_slant_get_api_delegate> efl_text_font_slant_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_slant_get_api_delegate>(Module, "efl_text_font_slant_get");
861
862         private static Efl.TextFontSlant font_slant_get(System.IntPtr obj, System.IntPtr pd)
863         {
864             Eina.Log.Debug("function efl_text_font_slant_get was called");
865             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
866             if (ws != null)
867             {
868             Efl.TextFontSlant _ret_var = default(Efl.TextFontSlant);
869                 try
870                 {
871                     _ret_var = ((ITextFont)ws.Target).GetFontSlant();
872                 }
873                 catch (Exception e)
874                 {
875                     Eina.Log.Warning($"Callback error: {e.ToString()}");
876                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
877                 }
878
879         return _ret_var;
880
881             }
882             else
883             {
884                 return efl_text_font_slant_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
885             }
886         }
887
888         private static efl_text_font_slant_get_delegate efl_text_font_slant_get_static_delegate;
889
890         
891         private delegate void efl_text_font_slant_set_delegate(System.IntPtr obj, System.IntPtr pd,  Efl.TextFontSlant style);
892
893         
894         public delegate void efl_text_font_slant_set_api_delegate(System.IntPtr obj,  Efl.TextFontSlant style);
895
896         public static Efl.Eo.FunctionWrapper<efl_text_font_slant_set_api_delegate> efl_text_font_slant_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_slant_set_api_delegate>(Module, "efl_text_font_slant_set");
897
898         private static void font_slant_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style)
899         {
900             Eina.Log.Debug("function efl_text_font_slant_set was called");
901             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
902             if (ws != null)
903             {
904                                     
905                 try
906                 {
907                     ((ITextFont)ws.Target).SetFontSlant(style);
908                 }
909                 catch (Exception e)
910                 {
911                     Eina.Log.Warning($"Callback error: {e.ToString()}");
912                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
913                 }
914
915                         
916             }
917             else
918             {
919                 efl_text_font_slant_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style);
920             }
921         }
922
923         private static efl_text_font_slant_set_delegate efl_text_font_slant_set_static_delegate;
924
925         
926         private delegate Efl.TextFontWidth efl_text_font_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
927
928         
929         public delegate Efl.TextFontWidth efl_text_font_width_get_api_delegate(System.IntPtr obj);
930
931         public static Efl.Eo.FunctionWrapper<efl_text_font_width_get_api_delegate> efl_text_font_width_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_width_get_api_delegate>(Module, "efl_text_font_width_get");
932
933         private static Efl.TextFontWidth font_width_get(System.IntPtr obj, System.IntPtr pd)
934         {
935             Eina.Log.Debug("function efl_text_font_width_get was called");
936             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
937             if (ws != null)
938             {
939             Efl.TextFontWidth _ret_var = default(Efl.TextFontWidth);
940                 try
941                 {
942                     _ret_var = ((ITextFont)ws.Target).GetFontWidth();
943                 }
944                 catch (Exception e)
945                 {
946                     Eina.Log.Warning($"Callback error: {e.ToString()}");
947                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
948                 }
949
950         return _ret_var;
951
952             }
953             else
954             {
955                 return efl_text_font_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
956             }
957         }
958
959         private static efl_text_font_width_get_delegate efl_text_font_width_get_static_delegate;
960
961         
962         private delegate void efl_text_font_width_set_delegate(System.IntPtr obj, System.IntPtr pd,  Efl.TextFontWidth width);
963
964         
965         public delegate void efl_text_font_width_set_api_delegate(System.IntPtr obj,  Efl.TextFontWidth width);
966
967         public static Efl.Eo.FunctionWrapper<efl_text_font_width_set_api_delegate> efl_text_font_width_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_width_set_api_delegate>(Module, "efl_text_font_width_set");
968
969         private static void font_width_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width)
970         {
971             Eina.Log.Debug("function efl_text_font_width_set was called");
972             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
973             if (ws != null)
974             {
975                                     
976                 try
977                 {
978                     ((ITextFont)ws.Target).SetFontWidth(width);
979                 }
980                 catch (Exception e)
981                 {
982                     Eina.Log.Warning($"Callback error: {e.ToString()}");
983                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
984                 }
985
986                         
987             }
988             else
989             {
990                 efl_text_font_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), width);
991             }
992         }
993
994         private static efl_text_font_width_set_delegate efl_text_font_width_set_static_delegate;
995
996         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
997         private delegate System.String efl_text_font_lang_get_delegate(System.IntPtr obj, System.IntPtr pd);
998
999         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1000         public delegate System.String efl_text_font_lang_get_api_delegate(System.IntPtr obj);
1001
1002         public static Efl.Eo.FunctionWrapper<efl_text_font_lang_get_api_delegate> efl_text_font_lang_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_lang_get_api_delegate>(Module, "efl_text_font_lang_get");
1003
1004         private static System.String font_lang_get(System.IntPtr obj, System.IntPtr pd)
1005         {
1006             Eina.Log.Debug("function efl_text_font_lang_get was called");
1007             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1008             if (ws != null)
1009             {
1010             System.String _ret_var = default(System.String);
1011                 try
1012                 {
1013                     _ret_var = ((ITextFont)ws.Target).GetFontLang();
1014                 }
1015                 catch (Exception e)
1016                 {
1017                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1018                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1019                 }
1020
1021         return _ret_var;
1022
1023             }
1024             else
1025             {
1026                 return efl_text_font_lang_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1027             }
1028         }
1029
1030         private static efl_text_font_lang_get_delegate efl_text_font_lang_get_static_delegate;
1031
1032         
1033         private delegate void efl_text_font_lang_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String lang);
1034
1035         
1036         public delegate void efl_text_font_lang_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String lang);
1037
1038         public static Efl.Eo.FunctionWrapper<efl_text_font_lang_set_api_delegate> efl_text_font_lang_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_lang_set_api_delegate>(Module, "efl_text_font_lang_set");
1039
1040         private static void font_lang_set(System.IntPtr obj, System.IntPtr pd, System.String lang)
1041         {
1042             Eina.Log.Debug("function efl_text_font_lang_set was called");
1043             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1044             if (ws != null)
1045             {
1046                                     
1047                 try
1048                 {
1049                     ((ITextFont)ws.Target).SetFontLang(lang);
1050                 }
1051                 catch (Exception e)
1052                 {
1053                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1054                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1055                 }
1056
1057                         
1058             }
1059             else
1060             {
1061                 efl_text_font_lang_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lang);
1062             }
1063         }
1064
1065         private static efl_text_font_lang_set_delegate efl_text_font_lang_set_static_delegate;
1066
1067         
1068         private delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd);
1069
1070         
1071         public delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_api_delegate(System.IntPtr obj);
1072
1073         public static Efl.Eo.FunctionWrapper<efl_text_font_bitmap_scalable_get_api_delegate> efl_text_font_bitmap_scalable_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_bitmap_scalable_get_api_delegate>(Module, "efl_text_font_bitmap_scalable_get");
1074
1075         private static Efl.TextFontBitmapScalable font_bitmap_scalable_get(System.IntPtr obj, System.IntPtr pd)
1076         {
1077             Eina.Log.Debug("function efl_text_font_bitmap_scalable_get was called");
1078             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1079             if (ws != null)
1080             {
1081             Efl.TextFontBitmapScalable _ret_var = default(Efl.TextFontBitmapScalable);
1082                 try
1083                 {
1084                     _ret_var = ((ITextFont)ws.Target).GetFontBitmapScalable();
1085                 }
1086                 catch (Exception e)
1087                 {
1088                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1089                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1090                 }
1091
1092         return _ret_var;
1093
1094             }
1095             else
1096             {
1097                 return efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1098             }
1099         }
1100
1101         private static efl_text_font_bitmap_scalable_get_delegate efl_text_font_bitmap_scalable_get_static_delegate;
1102
1103         
1104         private delegate void efl_text_font_bitmap_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd,  Efl.TextFontBitmapScalable scalable);
1105
1106         
1107         public delegate void efl_text_font_bitmap_scalable_set_api_delegate(System.IntPtr obj,  Efl.TextFontBitmapScalable scalable);
1108
1109         public static Efl.Eo.FunctionWrapper<efl_text_font_bitmap_scalable_set_api_delegate> efl_text_font_bitmap_scalable_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_font_bitmap_scalable_set_api_delegate>(Module, "efl_text_font_bitmap_scalable_set");
1110
1111         private static void font_bitmap_scalable_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable)
1112         {
1113             Eina.Log.Debug("function efl_text_font_bitmap_scalable_set was called");
1114             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1115             if (ws != null)
1116             {
1117                                     
1118                 try
1119                 {
1120                     ((ITextFont)ws.Target).SetFontBitmapScalable(scalable);
1121                 }
1122                 catch (Exception e)
1123                 {
1124                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1125                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1126                 }
1127
1128                         
1129             }
1130             else
1131             {
1132                 efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scalable);
1133             }
1134         }
1135
1136         private static efl_text_font_bitmap_scalable_set_delegate efl_text_font_bitmap_scalable_set_static_delegate;
1137
1138         #pragma warning restore CA1707, CS1591, SA1300, SA1600
1139
1140 }
1141 }
1142 }
1143
1144 #if EFL_BETA
1145 #pragma warning disable CS1591
1146 public static class EflITextFontConcrete_ExtensionMethods {
1147     
1148     public static Efl.BindableProperty<System.String> FontSource<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1149         return new Efl.BindableProperty<System.String>("font_source", fac);
1150     }
1151
1152     public static Efl.BindableProperty<System.String> FontFallbacks<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1153         return new Efl.BindableProperty<System.String>("font_fallbacks", fac);
1154     }
1155
1156     public static Efl.BindableProperty<Efl.TextFontWeight> FontWeight<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1157         return new Efl.BindableProperty<Efl.TextFontWeight>("font_weight", fac);
1158     }
1159
1160     public static Efl.BindableProperty<Efl.TextFontSlant> FontSlant<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1161         return new Efl.BindableProperty<Efl.TextFontSlant>("font_slant", fac);
1162     }
1163
1164     public static Efl.BindableProperty<Efl.TextFontWidth> FontWidth<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1165         return new Efl.BindableProperty<Efl.TextFontWidth>("font_width", fac);
1166     }
1167
1168     public static Efl.BindableProperty<System.String> FontLang<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1169         return new Efl.BindableProperty<System.String>("font_lang", fac);
1170     }
1171
1172     public static Efl.BindableProperty<Efl.TextFontBitmapScalable> FontBitmapScalable<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFont, T>magic = null) where T : Efl.ITextFont {
1173         return new Efl.BindableProperty<Efl.TextFontBitmapScalable>("font_bitmap_scalable", fac);
1174     }
1175
1176 }
1177 #pragma warning restore CS1591
1178 #endif
1179 namespace Efl {
1180
1181 /// <summary>Type of font weight</summary>
1182 [Efl.Eo.BindingEntity]
1183 public enum TextFontWeight
1184 {
1185 /// <summary>Normal font weight</summary>
1186 Normal = 0,
1187 /// <summary>Thin font weight</summary>
1188 Thin = 1,
1189 /// <summary>Ultralight font weight</summary>
1190 Ultralight = 2,
1191 /// <summary>Extralight font weight</summary>
1192 Extralight = 3,
1193 /// <summary>Light font weight</summary>
1194 Light = 4,
1195 /// <summary>Book font weight</summary>
1196 Book = 5,
1197 /// <summary>Medium font weight</summary>
1198 Medium = 6,
1199 /// <summary>Semibold font weight</summary>
1200 Semibold = 7,
1201 /// <summary>Bold font weight</summary>
1202 Bold = 8,
1203 /// <summary>Ultrabold font weight</summary>
1204 Ultrabold = 9,
1205 /// <summary>Extrabold font weight</summary>
1206 Extrabold = 10,
1207 /// <summary>Black font weight</summary>
1208 Black = 11,
1209 /// <summary>Extrablack font weight</summary>
1210 Extrablack = 12,
1211 }
1212
1213 }
1214
1215 namespace Efl {
1216
1217 /// <summary>Type of font width</summary>
1218 [Efl.Eo.BindingEntity]
1219 public enum TextFontWidth
1220 {
1221 /// <summary>Normal font width</summary>
1222 Normal = 0,
1223 /// <summary>Ultracondensed font width</summary>
1224 Ultracondensed = 1,
1225 /// <summary>Extracondensed font width</summary>
1226 Extracondensed = 2,
1227 /// <summary>Condensed font width</summary>
1228 Condensed = 3,
1229 /// <summary>Semicondensed font width</summary>
1230 Semicondensed = 4,
1231 /// <summary>Semiexpanded font width</summary>
1232 Semiexpanded = 5,
1233 /// <summary>Expanded font width</summary>
1234 Expanded = 6,
1235 /// <summary>Extraexpanded font width</summary>
1236 Extraexpanded = 7,
1237 /// <summary>Ultraexpanded font width</summary>
1238 Ultraexpanded = 8,
1239 }
1240
1241 }
1242
1243 namespace Efl {
1244
1245 /// <summary>Type of font slant</summary>
1246 [Efl.Eo.BindingEntity]
1247 public enum TextFontSlant
1248 {
1249 /// <summary>Normal font slant</summary>
1250 Normal = 0,
1251 /// <summary>Oblique font slant</summary>
1252 Oblique = 1,
1253 /// <summary>Italic font slant</summary>
1254 Italic = 2,
1255 }
1256
1257 }
1258
1259 namespace Efl {
1260
1261 /// <summary>Scalable of bitmap fonts</summary>
1262 [Efl.Eo.BindingEntity]
1263 public enum TextFontBitmapScalable
1264 {
1265 /// <summary>Disable scalable feature for bitmap fonts.</summary>
1266 None = 0,
1267 /// <summary>Enable scalable feature for color bitmap fonts.</summary>
1268 Color = 1,
1269 }
1270
1271 }
1272