2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
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
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.
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's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
28 /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
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'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'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's contents.
41 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
42 /// <param name="font_source">The font file'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'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'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 "en_US", "auto" to use the system locale, or "none".</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 "en_US", "auto" to use the system locale, or "none".</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.
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 {
101 /// <summary>Get the font file'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's path.</value>
104 System.String FontSource {
108 /// <summary>Comma-separated list of font fallbacks
109 /// Will be used in case the primary font isn't available.</summary>
110 /// <value>Font name fallbacks</value>
111 System.String FontFallbacks {
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 {
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 {
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 {
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 "en_US", "auto" to use the system locale, or "none".</summary>
138 /// <value>Language</value>
139 System.String FontLang {
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 {
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 :
158 /// <summary>Pointer to the native class description.</summary>
159 public override System.IntPtr NativeClass
163 if (((object)this).GetType() == typeof(ITextFontConcrete))
165 return GetEflClassStatic();
169 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
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)
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)
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.
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();
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's convention for naming fonts, as it's the underlying library used to query system fonts by Evas (see the fc-list command's output, on your system, to get an idea). Alternatively, youe can use the full path to a font file.
203 /// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
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();
212 /// <summary>Get the font file'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'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();
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's contents.
223 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
224 /// <param name="font_source">The font file'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();
229 /// <summary>Comma-separated list of font fallbacks
230 /// Will be used in case the primary font isn'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();
237 /// <summary>Comma-separated list of font fallbacks
238 /// Will be used in case the primary font isn'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();
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();
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();
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();
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();
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();
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();
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 "en_US", "auto" to use the system locale, or "none".</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();
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 "en_US", "auto" to use the system locale, or "none".</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();
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();
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();
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.
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 {
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);
331 set { SetFont( value.Item1, value.Item2); }
333 /// <summary>Get the font file'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's path.</value>
336 public System.String FontSource {
337 get { return GetFontSource(); }
338 set { SetFontSource(value); }
340 /// <summary>Comma-separated list of font fallbacks
341 /// Will be used in case the primary font isn't available.</summary>
342 /// <value>Font name fallbacks</value>
343 public System.String FontFallbacks {
344 get { return GetFontFallbacks(); }
345 set { SetFontFallbacks(value); }
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); }
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); }
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); }
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 "en_US", "auto" to use the system locale, or "none".</summary>
370 /// <value>Language</value>
371 public System.String FontLang {
372 get { return GetFontLang(); }
373 set { SetFontLang(value); }
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); }
382 private static IntPtr GetEflClassStatic()
384 return Efl.ITextFontConcrete.efl_text_font_interface_get();
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
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)
395 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
396 var methods = Efl.Eo.Globals.GetUserMethods(type);
398 if (efl_text_font_get_static_delegate == null)
400 efl_text_font_get_static_delegate = new efl_text_font_get_delegate(font_get);
403 if (methods.FirstOrDefault(m => m.Name == "GetFont") != null)
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) });
408 if (efl_text_font_set_static_delegate == null)
410 efl_text_font_set_static_delegate = new efl_text_font_set_delegate(font_set);
413 if (methods.FirstOrDefault(m => m.Name == "SetFont") != null)
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) });
418 if (efl_text_font_source_get_static_delegate == null)
420 efl_text_font_source_get_static_delegate = new efl_text_font_source_get_delegate(font_source_get);
423 if (methods.FirstOrDefault(m => m.Name == "GetFontSource") != null)
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) });
428 if (efl_text_font_source_set_static_delegate == null)
430 efl_text_font_source_set_static_delegate = new efl_text_font_source_set_delegate(font_source_set);
433 if (methods.FirstOrDefault(m => m.Name == "SetFontSource") != null)
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) });
438 if (efl_text_font_fallbacks_get_static_delegate == null)
440 efl_text_font_fallbacks_get_static_delegate = new efl_text_font_fallbacks_get_delegate(font_fallbacks_get);
443 if (methods.FirstOrDefault(m => m.Name == "GetFontFallbacks") != null)
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) });
448 if (efl_text_font_fallbacks_set_static_delegate == null)
450 efl_text_font_fallbacks_set_static_delegate = new efl_text_font_fallbacks_set_delegate(font_fallbacks_set);
453 if (methods.FirstOrDefault(m => m.Name == "SetFontFallbacks") != null)
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) });
458 if (efl_text_font_weight_get_static_delegate == null)
460 efl_text_font_weight_get_static_delegate = new efl_text_font_weight_get_delegate(font_weight_get);
463 if (methods.FirstOrDefault(m => m.Name == "GetFontWeight") != null)
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) });
468 if (efl_text_font_weight_set_static_delegate == null)
470 efl_text_font_weight_set_static_delegate = new efl_text_font_weight_set_delegate(font_weight_set);
473 if (methods.FirstOrDefault(m => m.Name == "SetFontWeight") != null)
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) });
478 if (efl_text_font_slant_get_static_delegate == null)
480 efl_text_font_slant_get_static_delegate = new efl_text_font_slant_get_delegate(font_slant_get);
483 if (methods.FirstOrDefault(m => m.Name == "GetFontSlant") != null)
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) });
488 if (efl_text_font_slant_set_static_delegate == null)
490 efl_text_font_slant_set_static_delegate = new efl_text_font_slant_set_delegate(font_slant_set);
493 if (methods.FirstOrDefault(m => m.Name == "SetFontSlant") != null)
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) });
498 if (efl_text_font_width_get_static_delegate == null)
500 efl_text_font_width_get_static_delegate = new efl_text_font_width_get_delegate(font_width_get);
503 if (methods.FirstOrDefault(m => m.Name == "GetFontWidth") != null)
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) });
508 if (efl_text_font_width_set_static_delegate == null)
510 efl_text_font_width_set_static_delegate = new efl_text_font_width_set_delegate(font_width_set);
513 if (methods.FirstOrDefault(m => m.Name == "SetFontWidth") != null)
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) });
518 if (efl_text_font_lang_get_static_delegate == null)
520 efl_text_font_lang_get_static_delegate = new efl_text_font_lang_get_delegate(font_lang_get);
523 if (methods.FirstOrDefault(m => m.Name == "GetFontLang") != null)
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) });
528 if (efl_text_font_lang_set_static_delegate == null)
530 efl_text_font_lang_set_static_delegate = new efl_text_font_lang_set_delegate(font_lang_set);
533 if (methods.FirstOrDefault(m => m.Name == "SetFontLang") != null)
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) });
538 if (efl_text_font_bitmap_scalable_get_static_delegate == null)
540 efl_text_font_bitmap_scalable_get_static_delegate = new efl_text_font_bitmap_scalable_get_delegate(font_bitmap_scalable_get);
543 if (methods.FirstOrDefault(m => m.Name == "GetFontBitmapScalable") != null)
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) });
548 if (efl_text_font_bitmap_scalable_set_static_delegate == null)
550 efl_text_font_bitmap_scalable_set_static_delegate = new efl_text_font_bitmap_scalable_set_delegate(font_bitmap_scalable_set);
553 if (methods.FirstOrDefault(m => m.Name == "SetFontBitmapScalable") != null)
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) });
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()
564 return Efl.ITextFontConcrete.efl_text_font_interface_get();
567 #pragma warning disable CA1707, CS1591, SA1300, SA1600
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);
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);
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");
577 private static void font_get(System.IntPtr obj, System.IntPtr pd, out System.String font, out Efl.Font.Size size)
579 Eina.Log.Debug("function efl_text_font_get was called");
580 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
583 System.String _out_font = default(System.String);
584 size = default(Efl.Font.Size);
587 ((ITextFont)ws.Target).GetFont(out _out_font, out size);
591 Eina.Log.Warning($"Callback error: {e.ToString()}");
592 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
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);
604 private static efl_text_font_get_delegate efl_text_font_get_static_delegate;
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);
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);
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");
614 private static void font_set(System.IntPtr obj, System.IntPtr pd, System.String font, Efl.Font.Size size)
616 Eina.Log.Debug("function efl_text_font_set was called");
617 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
623 ((ITextFont)ws.Target).SetFont(font, size);
627 Eina.Log.Warning($"Callback error: {e.ToString()}");
628 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
635 efl_text_font_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font, size);
639 private static efl_text_font_set_delegate efl_text_font_set_static_delegate;
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);
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);
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");
649 private static System.String font_source_get(System.IntPtr obj, System.IntPtr pd)
651 Eina.Log.Debug("function efl_text_font_source_get was called");
652 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
655 System.String _ret_var = default(System.String);
658 _ret_var = ((ITextFont)ws.Target).GetFontSource();
662 Eina.Log.Warning($"Callback error: {e.ToString()}");
663 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
671 return efl_text_font_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
675 private static efl_text_font_source_get_delegate efl_text_font_source_get_static_delegate;
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);
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);
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");
685 private static void font_source_set(System.IntPtr obj, System.IntPtr pd, System.String font_source)
687 Eina.Log.Debug("function efl_text_font_source_set was called");
688 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
694 ((ITextFont)ws.Target).SetFontSource(font_source);
698 Eina.Log.Warning($"Callback error: {e.ToString()}");
699 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
706 efl_text_font_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_source);
710 private static efl_text_font_source_set_delegate efl_text_font_source_set_static_delegate;
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);
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);
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");
720 private static System.String font_fallbacks_get(System.IntPtr obj, System.IntPtr pd)
722 Eina.Log.Debug("function efl_text_font_fallbacks_get was called");
723 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
726 System.String _ret_var = default(System.String);
729 _ret_var = ((ITextFont)ws.Target).GetFontFallbacks();
733 Eina.Log.Warning($"Callback error: {e.ToString()}");
734 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
742 return efl_text_font_fallbacks_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
746 private static efl_text_font_fallbacks_get_delegate efl_text_font_fallbacks_get_static_delegate;
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);
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);
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");
756 private static void font_fallbacks_set(System.IntPtr obj, System.IntPtr pd, System.String font_fallbacks)
758 Eina.Log.Debug("function efl_text_font_fallbacks_set was called");
759 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
765 ((ITextFont)ws.Target).SetFontFallbacks(font_fallbacks);
769 Eina.Log.Warning($"Callback error: {e.ToString()}");
770 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
777 efl_text_font_fallbacks_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_fallbacks);
781 private static efl_text_font_fallbacks_set_delegate efl_text_font_fallbacks_set_static_delegate;
784 private delegate Efl.TextFontWeight efl_text_font_weight_get_delegate(System.IntPtr obj, System.IntPtr pd);
787 public delegate Efl.TextFontWeight efl_text_font_weight_get_api_delegate(System.IntPtr obj);
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");
791 private static Efl.TextFontWeight font_weight_get(System.IntPtr obj, System.IntPtr pd)
793 Eina.Log.Debug("function efl_text_font_weight_get was called");
794 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
797 Efl.TextFontWeight _ret_var = default(Efl.TextFontWeight);
800 _ret_var = ((ITextFont)ws.Target).GetFontWeight();
804 Eina.Log.Warning($"Callback error: {e.ToString()}");
805 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
813 return efl_text_font_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
817 private static efl_text_font_weight_get_delegate efl_text_font_weight_get_static_delegate;
820 private delegate void efl_text_font_weight_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight);
823 public delegate void efl_text_font_weight_set_api_delegate(System.IntPtr obj, Efl.TextFontWeight font_weight);
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");
827 private static void font_weight_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight)
829 Eina.Log.Debug("function efl_text_font_weight_set was called");
830 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
836 ((ITextFont)ws.Target).SetFontWeight(font_weight);
840 Eina.Log.Warning($"Callback error: {e.ToString()}");
841 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
848 efl_text_font_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_weight);
852 private static efl_text_font_weight_set_delegate efl_text_font_weight_set_static_delegate;
855 private delegate Efl.TextFontSlant efl_text_font_slant_get_delegate(System.IntPtr obj, System.IntPtr pd);
858 public delegate Efl.TextFontSlant efl_text_font_slant_get_api_delegate(System.IntPtr obj);
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");
862 private static Efl.TextFontSlant font_slant_get(System.IntPtr obj, System.IntPtr pd)
864 Eina.Log.Debug("function efl_text_font_slant_get was called");
865 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
868 Efl.TextFontSlant _ret_var = default(Efl.TextFontSlant);
871 _ret_var = ((ITextFont)ws.Target).GetFontSlant();
875 Eina.Log.Warning($"Callback error: {e.ToString()}");
876 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
884 return efl_text_font_slant_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
888 private static efl_text_font_slant_get_delegate efl_text_font_slant_get_static_delegate;
891 private delegate void efl_text_font_slant_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style);
894 public delegate void efl_text_font_slant_set_api_delegate(System.IntPtr obj, Efl.TextFontSlant style);
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");
898 private static void font_slant_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style)
900 Eina.Log.Debug("function efl_text_font_slant_set was called");
901 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
907 ((ITextFont)ws.Target).SetFontSlant(style);
911 Eina.Log.Warning($"Callback error: {e.ToString()}");
912 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
919 efl_text_font_slant_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style);
923 private static efl_text_font_slant_set_delegate efl_text_font_slant_set_static_delegate;
926 private delegate Efl.TextFontWidth efl_text_font_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
929 public delegate Efl.TextFontWidth efl_text_font_width_get_api_delegate(System.IntPtr obj);
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");
933 private static Efl.TextFontWidth font_width_get(System.IntPtr obj, System.IntPtr pd)
935 Eina.Log.Debug("function efl_text_font_width_get was called");
936 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
939 Efl.TextFontWidth _ret_var = default(Efl.TextFontWidth);
942 _ret_var = ((ITextFont)ws.Target).GetFontWidth();
946 Eina.Log.Warning($"Callback error: {e.ToString()}");
947 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
955 return efl_text_font_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
959 private static efl_text_font_width_get_delegate efl_text_font_width_get_static_delegate;
962 private delegate void efl_text_font_width_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width);
965 public delegate void efl_text_font_width_set_api_delegate(System.IntPtr obj, Efl.TextFontWidth width);
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");
969 private static void font_width_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width)
971 Eina.Log.Debug("function efl_text_font_width_set was called");
972 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
978 ((ITextFont)ws.Target).SetFontWidth(width);
982 Eina.Log.Warning($"Callback error: {e.ToString()}");
983 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
990 efl_text_font_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), width);
994 private static efl_text_font_width_set_delegate efl_text_font_width_set_static_delegate;
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);
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);
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");
1004 private static System.String font_lang_get(System.IntPtr obj, System.IntPtr pd)
1006 Eina.Log.Debug("function efl_text_font_lang_get was called");
1007 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1010 System.String _ret_var = default(System.String);
1013 _ret_var = ((ITextFont)ws.Target).GetFontLang();
1017 Eina.Log.Warning($"Callback error: {e.ToString()}");
1018 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1026 return efl_text_font_lang_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1030 private static efl_text_font_lang_get_delegate efl_text_font_lang_get_static_delegate;
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);
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);
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");
1040 private static void font_lang_set(System.IntPtr obj, System.IntPtr pd, System.String lang)
1042 Eina.Log.Debug("function efl_text_font_lang_set was called");
1043 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1049 ((ITextFont)ws.Target).SetFontLang(lang);
1053 Eina.Log.Warning($"Callback error: {e.ToString()}");
1054 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1061 efl_text_font_lang_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lang);
1065 private static efl_text_font_lang_set_delegate efl_text_font_lang_set_static_delegate;
1068 private delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd);
1071 public delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_api_delegate(System.IntPtr obj);
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");
1075 private static Efl.TextFontBitmapScalable font_bitmap_scalable_get(System.IntPtr obj, System.IntPtr pd)
1077 Eina.Log.Debug("function efl_text_font_bitmap_scalable_get was called");
1078 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1081 Efl.TextFontBitmapScalable _ret_var = default(Efl.TextFontBitmapScalable);
1084 _ret_var = ((ITextFont)ws.Target).GetFontBitmapScalable();
1088 Eina.Log.Warning($"Callback error: {e.ToString()}");
1089 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1097 return efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1101 private static efl_text_font_bitmap_scalable_get_delegate efl_text_font_bitmap_scalable_get_static_delegate;
1104 private delegate void efl_text_font_bitmap_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable);
1107 public delegate void efl_text_font_bitmap_scalable_set_api_delegate(System.IntPtr obj, Efl.TextFontBitmapScalable scalable);
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");
1111 private static void font_bitmap_scalable_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable)
1113 Eina.Log.Debug("function efl_text_font_bitmap_scalable_set was called");
1114 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1120 ((ITextFont)ws.Target).SetFontBitmapScalable(scalable);
1124 Eina.Log.Warning($"Callback error: {e.ToString()}");
1125 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1132 efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scalable);
1136 private static efl_text_font_bitmap_scalable_set_delegate efl_text_font_bitmap_scalable_set_static_delegate;
1138 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1145 #pragma warning disable CS1591
1146 public static class EflITextFontConcrete_ExtensionMethods {
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);
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);
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);
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);
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);
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);
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);
1177 #pragma warning restore CS1591
1181 /// <summary>Type of font weight</summary>
1182 [Efl.Eo.BindingEntity]
1183 public enum TextFontWeight
1185 /// <summary>Normal font weight</summary>
1187 /// <summary>Thin font weight</summary>
1189 /// <summary>Ultralight font weight</summary>
1191 /// <summary>Extralight font weight</summary>
1193 /// <summary>Light font weight</summary>
1195 /// <summary>Book font weight</summary>
1197 /// <summary>Medium font weight</summary>
1199 /// <summary>Semibold font weight</summary>
1201 /// <summary>Bold font weight</summary>
1203 /// <summary>Ultrabold font weight</summary>
1205 /// <summary>Extrabold font weight</summary>
1207 /// <summary>Black font weight</summary>
1209 /// <summary>Extrablack font weight</summary>
1217 /// <summary>Type of font width</summary>
1218 [Efl.Eo.BindingEntity]
1219 public enum TextFontWidth
1221 /// <summary>Normal font width</summary>
1223 /// <summary>Ultracondensed font width</summary>
1225 /// <summary>Extracondensed font width</summary>
1227 /// <summary>Condensed font width</summary>
1229 /// <summary>Semicondensed font width</summary>
1231 /// <summary>Semiexpanded font width</summary>
1233 /// <summary>Expanded font width</summary>
1235 /// <summary>Extraexpanded font width</summary>
1237 /// <summary>Ultraexpanded font width</summary>
1245 /// <summary>Type of font slant</summary>
1246 [Efl.Eo.BindingEntity]
1247 public enum TextFontSlant
1249 /// <summary>Normal font slant</summary>
1251 /// <summary>Oblique font slant</summary>
1253 /// <summary>Italic font slant</summary>
1261 /// <summary>Scalable of bitmap fonts</summary>
1262 [Efl.Eo.BindingEntity]
1263 public enum TextFontBitmapScalable
1265 /// <summary>Disable scalable feature for bitmap fonts.</summary>
1267 /// <summary>Enable scalable feature for color bitmap fonts.</summary>