1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
8 /// <summary>Font settings of the text</summary>
9 [ITextFontNativeInherit]
10 public interface ITextFont :
11 Efl.Eo.IWrapper, IDisposable
13 /// <summary>Retrieve the font family and size in use on a given text object.
14 /// 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.
16 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
17 /// <param name="font">The font family name or filename.</param>
18 /// <param name="size">The font size, in points.</param>
19 /// <returns></returns>
20 void GetFont( out System.String font, out Efl.Font.Size size);
21 /// <summary>Set the font family, filename and size for a given text object.
22 /// 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.
24 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
25 /// <param name="font">The font family name or filename.</param>
26 /// <param name="size">The font size, in points.</param>
27 /// <returns></returns>
28 void SetFont( System.String font, Efl.Font.Size size);
29 /// <summary>Get the font file's path which is being used on a given text object.
30 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
31 /// <returns>The font file's path.</returns>
32 System.String GetFontSource();
33 /// <summary>Set the font (source) file to be used on a given text object.
34 /// 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.
36 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
37 /// <param name="font_source">The font file's path.</param>
38 /// <returns></returns>
39 void SetFontSource( System.String font_source);
40 /// <summary>Comma-separated list of font fallbacks
41 /// Will be used in case the primary font isn't available.</summary>
42 /// <returns>Font name fallbacks</returns>
43 System.String GetFontFallbacks();
44 /// <summary>Comma-separated list of font fallbacks
45 /// Will be used in case the primary font isn't available.</summary>
46 /// <param name="font_fallbacks">Font name fallbacks</param>
47 /// <returns></returns>
48 void SetFontFallbacks( System.String font_fallbacks);
49 /// <summary>Type of weight of the displayed font
50 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
51 /// <returns>Font weight</returns>
52 Efl.TextFontWeight GetFontWeight();
53 /// <summary>Type of weight of the displayed font
54 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
55 /// <param name="font_weight">Font weight</param>
56 /// <returns></returns>
57 void SetFontWeight( Efl.TextFontWeight font_weight);
58 /// <summary>Type of slant of the displayed font
59 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
60 /// <returns>Font slant</returns>
61 Efl.TextFontSlant GetFontSlant();
62 /// <summary>Type of slant of the displayed font
63 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
64 /// <param name="style">Font slant</param>
65 /// <returns></returns>
66 void SetFontSlant( Efl.TextFontSlant style);
67 /// <summary>Type of width of the displayed font
68 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
69 /// <returns>Font width</returns>
70 Efl.TextFontWidth GetFontWidth();
71 /// <summary>Type of width of the displayed font
72 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
73 /// <param name="width">Font width</param>
74 /// <returns></returns>
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 /// <returns></returns>
84 void SetFontLang( System.String lang);
85 /// <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)
86 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
87 /// <returns>Scalable</returns>
88 Efl.TextFontBitmapScalable GetFontBitmapScalable();
89 /// <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)
90 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
91 /// <param name="scalable">Scalable</param>
92 /// <returns></returns>
93 void SetFontBitmapScalable( Efl.TextFontBitmapScalable scalable);
94 /// <summary>Get the font file's path which is being used on a given text object.
95 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
96 /// <value>The font file's path.</value>
97 System.String FontSource {
101 /// <summary>Comma-separated list of font fallbacks
102 /// Will be used in case the primary font isn't available.</summary>
103 /// <value>Font name fallbacks</value>
104 System.String FontFallbacks {
108 /// <summary>Type of weight of the displayed font
109 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
110 /// <value>Font weight</value>
111 Efl.TextFontWeight FontWeight {
115 /// <summary>Type of slant of the displayed font
116 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
117 /// <value>Font slant</value>
118 Efl.TextFontSlant FontSlant {
122 /// <summary>Type of width of the displayed font
123 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
124 /// <value>Font width</value>
125 Efl.TextFontWidth FontWidth {
129 /// <summary>Specific language of the displayed font
130 /// 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>
131 /// <value>Language</value>
132 System.String FontLang {
136 /// <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)
137 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
138 /// <value>Scalable</value>
139 Efl.TextFontBitmapScalable FontBitmapScalable {
144 /// <summary>Font settings of the text</summary>
145 sealed public class ITextFontConcrete :
150 ///<summary>Pointer to the native class description.</summary>
151 public System.IntPtr NativeClass {
153 if (((object)this).GetType() == typeof (ITextFontConcrete))
154 return Efl.ITextFontNativeInherit.GetEflClassStatic();
156 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
159 private System.IntPtr handle;
160 ///<summary>Pointer to the native instance.</summary>
161 public System.IntPtr NativeHandle {
162 get { return handle; }
164 [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
165 efl_text_font_interface_get();
166 ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
167 private ITextFontConcrete(System.IntPtr raw)
170 RegisterEventProxies();
172 ///<summary>Destructor.</summary>
177 ///<summary>Releases the underlying native instance.</summary>
178 void Dispose(bool disposing)
180 if (handle != System.IntPtr.Zero) {
181 Efl.Eo.Globals.efl_unref(handle);
182 handle = System.IntPtr.Zero;
185 ///<summary>Releases the underlying native instance.</summary>
186 public void Dispose()
189 GC.SuppressFinalize(this);
191 ///<summary>Verifies if the given object is equal to this one.</summary>
192 public override bool Equals(object obj)
194 var other = obj as Efl.Object;
197 return this.NativeHandle == other.NativeHandle;
199 ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
200 public override int GetHashCode()
202 return this.NativeHandle.ToInt32();
204 ///<summary>Turns the native pointer into a string representation.</summary>
205 public override String ToString()
207 return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
209 ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
210 void RegisterEventProxies()
213 /// <summary>Retrieve the font family and size in use on a given text object.
214 /// 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.
216 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
217 /// <param name="font">The font family name or filename.</param>
218 /// <param name="size">The font size, in points.</param>
219 /// <returns></returns>
220 public void GetFont( out System.String font, out Efl.Font.Size size) {
221 Efl.ITextFontNativeInherit.efl_text_font_get_ptr.Value.Delegate(this.NativeHandle, out font, out size);
222 Eina.Error.RaiseIfUnhandledException();
224 /// <summary>Set the font family, filename and size for a given text object.
225 /// 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.
227 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
228 /// <param name="font">The font family name or filename.</param>
229 /// <param name="size">The font size, in points.</param>
230 /// <returns></returns>
231 public void SetFont( System.String font, Efl.Font.Size size) {
232 Efl.ITextFontNativeInherit.efl_text_font_set_ptr.Value.Delegate(this.NativeHandle, font, size);
233 Eina.Error.RaiseIfUnhandledException();
235 /// <summary>Get the font file's path which is being used on a given text object.
236 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
237 /// <returns>The font file's path.</returns>
238 public System.String GetFontSource() {
239 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_source_get_ptr.Value.Delegate(this.NativeHandle);
240 Eina.Error.RaiseIfUnhandledException();
243 /// <summary>Set the font (source) file to be used on a given text object.
244 /// 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.
246 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
247 /// <param name="font_source">The font file's path.</param>
248 /// <returns></returns>
249 public void SetFontSource( System.String font_source) {
250 Efl.ITextFontNativeInherit.efl_text_font_source_set_ptr.Value.Delegate(this.NativeHandle, font_source);
251 Eina.Error.RaiseIfUnhandledException();
253 /// <summary>Comma-separated list of font fallbacks
254 /// Will be used in case the primary font isn't available.</summary>
255 /// <returns>Font name fallbacks</returns>
256 public System.String GetFontFallbacks() {
257 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_fallbacks_get_ptr.Value.Delegate(this.NativeHandle);
258 Eina.Error.RaiseIfUnhandledException();
261 /// <summary>Comma-separated list of font fallbacks
262 /// Will be used in case the primary font isn't available.</summary>
263 /// <param name="font_fallbacks">Font name fallbacks</param>
264 /// <returns></returns>
265 public void SetFontFallbacks( System.String font_fallbacks) {
266 Efl.ITextFontNativeInherit.efl_text_font_fallbacks_set_ptr.Value.Delegate(this.NativeHandle, font_fallbacks);
267 Eina.Error.RaiseIfUnhandledException();
269 /// <summary>Type of weight of the displayed font
270 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
271 /// <returns>Font weight</returns>
272 public Efl.TextFontWeight GetFontWeight() {
273 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_weight_get_ptr.Value.Delegate(this.NativeHandle);
274 Eina.Error.RaiseIfUnhandledException();
277 /// <summary>Type of weight of the displayed font
278 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
279 /// <param name="font_weight">Font weight</param>
280 /// <returns></returns>
281 public void SetFontWeight( Efl.TextFontWeight font_weight) {
282 Efl.ITextFontNativeInherit.efl_text_font_weight_set_ptr.Value.Delegate(this.NativeHandle, font_weight);
283 Eina.Error.RaiseIfUnhandledException();
285 /// <summary>Type of slant of the displayed font
286 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
287 /// <returns>Font slant</returns>
288 public Efl.TextFontSlant GetFontSlant() {
289 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_slant_get_ptr.Value.Delegate(this.NativeHandle);
290 Eina.Error.RaiseIfUnhandledException();
293 /// <summary>Type of slant of the displayed font
294 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
295 /// <param name="style">Font slant</param>
296 /// <returns></returns>
297 public void SetFontSlant( Efl.TextFontSlant style) {
298 Efl.ITextFontNativeInherit.efl_text_font_slant_set_ptr.Value.Delegate(this.NativeHandle, style);
299 Eina.Error.RaiseIfUnhandledException();
301 /// <summary>Type of width of the displayed font
302 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
303 /// <returns>Font width</returns>
304 public Efl.TextFontWidth GetFontWidth() {
305 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_width_get_ptr.Value.Delegate(this.NativeHandle);
306 Eina.Error.RaiseIfUnhandledException();
309 /// <summary>Type of width of the displayed font
310 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
311 /// <param name="width">Font width</param>
312 /// <returns></returns>
313 public void SetFontWidth( Efl.TextFontWidth width) {
314 Efl.ITextFontNativeInherit.efl_text_font_width_set_ptr.Value.Delegate(this.NativeHandle, width);
315 Eina.Error.RaiseIfUnhandledException();
317 /// <summary>Specific language of the displayed font
318 /// 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>
319 /// <returns>Language</returns>
320 public System.String GetFontLang() {
321 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_lang_get_ptr.Value.Delegate(this.NativeHandle);
322 Eina.Error.RaiseIfUnhandledException();
325 /// <summary>Specific language of the displayed font
326 /// 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>
327 /// <param name="lang">Language</param>
328 /// <returns></returns>
329 public void SetFontLang( System.String lang) {
330 Efl.ITextFontNativeInherit.efl_text_font_lang_set_ptr.Value.Delegate(this.NativeHandle, lang);
331 Eina.Error.RaiseIfUnhandledException();
333 /// <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)
334 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
335 /// <returns>Scalable</returns>
336 public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
337 var _ret_var = Efl.ITextFontNativeInherit.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(this.NativeHandle);
338 Eina.Error.RaiseIfUnhandledException();
341 /// <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)
342 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
343 /// <param name="scalable">Scalable</param>
344 /// <returns></returns>
345 public void SetFontBitmapScalable( Efl.TextFontBitmapScalable scalable) {
346 Efl.ITextFontNativeInherit.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(this.NativeHandle, scalable);
347 Eina.Error.RaiseIfUnhandledException();
349 /// <summary>Get the font file's path which is being used on a given text object.
350 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
351 /// <value>The font file's path.</value>
352 public System.String FontSource {
353 get { return GetFontSource(); }
354 set { SetFontSource( value); }
356 /// <summary>Comma-separated list of font fallbacks
357 /// Will be used in case the primary font isn't available.</summary>
358 /// <value>Font name fallbacks</value>
359 public System.String FontFallbacks {
360 get { return GetFontFallbacks(); }
361 set { SetFontFallbacks( value); }
363 /// <summary>Type of weight of the displayed font
364 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
365 /// <value>Font weight</value>
366 public Efl.TextFontWeight FontWeight {
367 get { return GetFontWeight(); }
368 set { SetFontWeight( value); }
370 /// <summary>Type of slant of the displayed font
371 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
372 /// <value>Font slant</value>
373 public Efl.TextFontSlant FontSlant {
374 get { return GetFontSlant(); }
375 set { SetFontSlant( value); }
377 /// <summary>Type of width of the displayed font
378 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
379 /// <value>Font width</value>
380 public Efl.TextFontWidth FontWidth {
381 get { return GetFontWidth(); }
382 set { SetFontWidth( value); }
384 /// <summary>Specific language of the displayed font
385 /// 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>
386 /// <value>Language</value>
387 public System.String FontLang {
388 get { return GetFontLang(); }
389 set { SetFontLang( value); }
391 /// <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)
392 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
393 /// <value>Scalable</value>
394 public Efl.TextFontBitmapScalable FontBitmapScalable {
395 get { return GetFontBitmapScalable(); }
396 set { SetFontBitmapScalable( value); }
398 private static IntPtr GetEflClassStatic()
400 return Efl.ITextFontConcrete.efl_text_font_interface_get();
403 public class ITextFontNativeInherit : Efl.Eo.NativeClass{
404 public static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Efl);
405 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
407 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
408 var methods = Efl.Eo.Globals.GetUserMethods(type);
409 if (efl_text_font_get_static_delegate == null)
410 efl_text_font_get_static_delegate = new efl_text_font_get_delegate(font_get);
411 if (methods.FirstOrDefault(m => m.Name == "GetFont") != null)
412 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)});
413 if (efl_text_font_set_static_delegate == null)
414 efl_text_font_set_static_delegate = new efl_text_font_set_delegate(font_set);
415 if (methods.FirstOrDefault(m => m.Name == "SetFont") != null)
416 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)});
417 if (efl_text_font_source_get_static_delegate == null)
418 efl_text_font_source_get_static_delegate = new efl_text_font_source_get_delegate(font_source_get);
419 if (methods.FirstOrDefault(m => m.Name == "GetFontSource") != null)
420 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)});
421 if (efl_text_font_source_set_static_delegate == null)
422 efl_text_font_source_set_static_delegate = new efl_text_font_source_set_delegate(font_source_set);
423 if (methods.FirstOrDefault(m => m.Name == "SetFontSource") != null)
424 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)});
425 if (efl_text_font_fallbacks_get_static_delegate == null)
426 efl_text_font_fallbacks_get_static_delegate = new efl_text_font_fallbacks_get_delegate(font_fallbacks_get);
427 if (methods.FirstOrDefault(m => m.Name == "GetFontFallbacks") != null)
428 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)});
429 if (efl_text_font_fallbacks_set_static_delegate == null)
430 efl_text_font_fallbacks_set_static_delegate = new efl_text_font_fallbacks_set_delegate(font_fallbacks_set);
431 if (methods.FirstOrDefault(m => m.Name == "SetFontFallbacks") != null)
432 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)});
433 if (efl_text_font_weight_get_static_delegate == null)
434 efl_text_font_weight_get_static_delegate = new efl_text_font_weight_get_delegate(font_weight_get);
435 if (methods.FirstOrDefault(m => m.Name == "GetFontWeight") != null)
436 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)});
437 if (efl_text_font_weight_set_static_delegate == null)
438 efl_text_font_weight_set_static_delegate = new efl_text_font_weight_set_delegate(font_weight_set);
439 if (methods.FirstOrDefault(m => m.Name == "SetFontWeight") != null)
440 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)});
441 if (efl_text_font_slant_get_static_delegate == null)
442 efl_text_font_slant_get_static_delegate = new efl_text_font_slant_get_delegate(font_slant_get);
443 if (methods.FirstOrDefault(m => m.Name == "GetFontSlant") != null)
444 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)});
445 if (efl_text_font_slant_set_static_delegate == null)
446 efl_text_font_slant_set_static_delegate = new efl_text_font_slant_set_delegate(font_slant_set);
447 if (methods.FirstOrDefault(m => m.Name == "SetFontSlant") != null)
448 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)});
449 if (efl_text_font_width_get_static_delegate == null)
450 efl_text_font_width_get_static_delegate = new efl_text_font_width_get_delegate(font_width_get);
451 if (methods.FirstOrDefault(m => m.Name == "GetFontWidth") != null)
452 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)});
453 if (efl_text_font_width_set_static_delegate == null)
454 efl_text_font_width_set_static_delegate = new efl_text_font_width_set_delegate(font_width_set);
455 if (methods.FirstOrDefault(m => m.Name == "SetFontWidth") != null)
456 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)});
457 if (efl_text_font_lang_get_static_delegate == null)
458 efl_text_font_lang_get_static_delegate = new efl_text_font_lang_get_delegate(font_lang_get);
459 if (methods.FirstOrDefault(m => m.Name == "GetFontLang") != null)
460 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)});
461 if (efl_text_font_lang_set_static_delegate == null)
462 efl_text_font_lang_set_static_delegate = new efl_text_font_lang_set_delegate(font_lang_set);
463 if (methods.FirstOrDefault(m => m.Name == "SetFontLang") != null)
464 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)});
465 if (efl_text_font_bitmap_scalable_get_static_delegate == null)
466 efl_text_font_bitmap_scalable_get_static_delegate = new efl_text_font_bitmap_scalable_get_delegate(font_bitmap_scalable_get);
467 if (methods.FirstOrDefault(m => m.Name == "GetFontBitmapScalable") != null)
468 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)});
469 if (efl_text_font_bitmap_scalable_set_static_delegate == null)
470 efl_text_font_bitmap_scalable_set_static_delegate = new efl_text_font_bitmap_scalable_set_delegate(font_bitmap_scalable_set);
471 if (methods.FirstOrDefault(m => m.Name == "SetFontBitmapScalable") != null)
472 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)});
475 public override IntPtr GetEflClass()
477 return Efl.ITextFontConcrete.efl_text_font_interface_get();
479 public static IntPtr GetEflClassStatic()
481 return Efl.ITextFontConcrete.efl_text_font_interface_get();
485 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);
488 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);
489 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");
490 private static void font_get(System.IntPtr obj, System.IntPtr pd, out System.String font, out Efl.Font.Size size)
492 Eina.Log.Debug("function efl_text_font_get was called");
493 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
494 if(wrapper != null) {
495 System.String _out_font = default(System.String);
496 size = default(Efl.Font.Size);
498 ((ITextFont)wrapper).GetFont( out _out_font, out size);
499 } catch (Exception e) {
500 Eina.Log.Warning($"Callback error: {e.ToString()}");
501 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
505 efl_text_font_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out font, out size);
508 private static efl_text_font_get_delegate efl_text_font_get_static_delegate;
511 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);
514 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);
515 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");
516 private static void font_set(System.IntPtr obj, System.IntPtr pd, System.String font, Efl.Font.Size size)
518 Eina.Log.Debug("function efl_text_font_set was called");
519 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
520 if(wrapper != null) {
523 ((ITextFont)wrapper).SetFont( font, size);
524 } catch (Exception e) {
525 Eina.Log.Warning($"Callback error: {e.ToString()}");
526 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
529 efl_text_font_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font, size);
532 private static efl_text_font_set_delegate efl_text_font_set_static_delegate;
535 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_font_source_get_delegate(System.IntPtr obj, System.IntPtr pd);
538 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_font_source_get_api_delegate(System.IntPtr obj);
539 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");
540 private static System.String font_source_get(System.IntPtr obj, System.IntPtr pd)
542 Eina.Log.Debug("function efl_text_font_source_get was called");
543 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
544 if(wrapper != null) {
545 System.String _ret_var = default(System.String);
547 _ret_var = ((ITextFont)wrapper).GetFontSource();
548 } catch (Exception e) {
549 Eina.Log.Warning($"Callback error: {e.ToString()}");
550 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
554 return efl_text_font_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
557 private static efl_text_font_source_get_delegate efl_text_font_source_get_static_delegate;
560 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);
563 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);
564 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");
565 private static void font_source_set(System.IntPtr obj, System.IntPtr pd, System.String font_source)
567 Eina.Log.Debug("function efl_text_font_source_set was called");
568 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
569 if(wrapper != null) {
572 ((ITextFont)wrapper).SetFontSource( font_source);
573 } catch (Exception e) {
574 Eina.Log.Warning($"Callback error: {e.ToString()}");
575 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
578 efl_text_font_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_source);
581 private static efl_text_font_source_set_delegate efl_text_font_source_set_static_delegate;
584 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_font_fallbacks_get_delegate(System.IntPtr obj, System.IntPtr pd);
587 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_font_fallbacks_get_api_delegate(System.IntPtr obj);
588 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");
589 private static System.String font_fallbacks_get(System.IntPtr obj, System.IntPtr pd)
591 Eina.Log.Debug("function efl_text_font_fallbacks_get was called");
592 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
593 if(wrapper != null) {
594 System.String _ret_var = default(System.String);
596 _ret_var = ((ITextFont)wrapper).GetFontFallbacks();
597 } catch (Exception e) {
598 Eina.Log.Warning($"Callback error: {e.ToString()}");
599 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
603 return efl_text_font_fallbacks_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
606 private static efl_text_font_fallbacks_get_delegate efl_text_font_fallbacks_get_static_delegate;
609 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);
612 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);
613 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");
614 private static void font_fallbacks_set(System.IntPtr obj, System.IntPtr pd, System.String font_fallbacks)
616 Eina.Log.Debug("function efl_text_font_fallbacks_set was called");
617 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
618 if(wrapper != null) {
621 ((ITextFont)wrapper).SetFontFallbacks( font_fallbacks);
622 } catch (Exception e) {
623 Eina.Log.Warning($"Callback error: {e.ToString()}");
624 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
627 efl_text_font_fallbacks_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_fallbacks);
630 private static efl_text_font_fallbacks_set_delegate efl_text_font_fallbacks_set_static_delegate;
633 private delegate Efl.TextFontWeight efl_text_font_weight_get_delegate(System.IntPtr obj, System.IntPtr pd);
636 public delegate Efl.TextFontWeight efl_text_font_weight_get_api_delegate(System.IntPtr obj);
637 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");
638 private static Efl.TextFontWeight font_weight_get(System.IntPtr obj, System.IntPtr pd)
640 Eina.Log.Debug("function efl_text_font_weight_get was called");
641 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
642 if(wrapper != null) {
643 Efl.TextFontWeight _ret_var = default(Efl.TextFontWeight);
645 _ret_var = ((ITextFont)wrapper).GetFontWeight();
646 } catch (Exception e) {
647 Eina.Log.Warning($"Callback error: {e.ToString()}");
648 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
652 return efl_text_font_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
655 private static efl_text_font_weight_get_delegate efl_text_font_weight_get_static_delegate;
658 private delegate void efl_text_font_weight_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight);
661 public delegate void efl_text_font_weight_set_api_delegate(System.IntPtr obj, Efl.TextFontWeight font_weight);
662 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");
663 private static void font_weight_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight)
665 Eina.Log.Debug("function efl_text_font_weight_set was called");
666 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
667 if(wrapper != null) {
670 ((ITextFont)wrapper).SetFontWeight( font_weight);
671 } catch (Exception e) {
672 Eina.Log.Warning($"Callback error: {e.ToString()}");
673 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
676 efl_text_font_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_weight);
679 private static efl_text_font_weight_set_delegate efl_text_font_weight_set_static_delegate;
682 private delegate Efl.TextFontSlant efl_text_font_slant_get_delegate(System.IntPtr obj, System.IntPtr pd);
685 public delegate Efl.TextFontSlant efl_text_font_slant_get_api_delegate(System.IntPtr obj);
686 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");
687 private static Efl.TextFontSlant font_slant_get(System.IntPtr obj, System.IntPtr pd)
689 Eina.Log.Debug("function efl_text_font_slant_get was called");
690 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
691 if(wrapper != null) {
692 Efl.TextFontSlant _ret_var = default(Efl.TextFontSlant);
694 _ret_var = ((ITextFont)wrapper).GetFontSlant();
695 } catch (Exception e) {
696 Eina.Log.Warning($"Callback error: {e.ToString()}");
697 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
701 return efl_text_font_slant_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
704 private static efl_text_font_slant_get_delegate efl_text_font_slant_get_static_delegate;
707 private delegate void efl_text_font_slant_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style);
710 public delegate void efl_text_font_slant_set_api_delegate(System.IntPtr obj, Efl.TextFontSlant style);
711 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");
712 private static void font_slant_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style)
714 Eina.Log.Debug("function efl_text_font_slant_set was called");
715 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
716 if(wrapper != null) {
719 ((ITextFont)wrapper).SetFontSlant( style);
720 } catch (Exception e) {
721 Eina.Log.Warning($"Callback error: {e.ToString()}");
722 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
725 efl_text_font_slant_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style);
728 private static efl_text_font_slant_set_delegate efl_text_font_slant_set_static_delegate;
731 private delegate Efl.TextFontWidth efl_text_font_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
734 public delegate Efl.TextFontWidth efl_text_font_width_get_api_delegate(System.IntPtr obj);
735 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");
736 private static Efl.TextFontWidth font_width_get(System.IntPtr obj, System.IntPtr pd)
738 Eina.Log.Debug("function efl_text_font_width_get was called");
739 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
740 if(wrapper != null) {
741 Efl.TextFontWidth _ret_var = default(Efl.TextFontWidth);
743 _ret_var = ((ITextFont)wrapper).GetFontWidth();
744 } catch (Exception e) {
745 Eina.Log.Warning($"Callback error: {e.ToString()}");
746 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
750 return efl_text_font_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
753 private static efl_text_font_width_get_delegate efl_text_font_width_get_static_delegate;
756 private delegate void efl_text_font_width_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width);
759 public delegate void efl_text_font_width_set_api_delegate(System.IntPtr obj, Efl.TextFontWidth width);
760 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");
761 private static void font_width_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width)
763 Eina.Log.Debug("function efl_text_font_width_set was called");
764 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
765 if(wrapper != null) {
768 ((ITextFont)wrapper).SetFontWidth( width);
769 } catch (Exception e) {
770 Eina.Log.Warning($"Callback error: {e.ToString()}");
771 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
774 efl_text_font_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), width);
777 private static efl_text_font_width_set_delegate efl_text_font_width_set_static_delegate;
780 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_text_font_lang_get_delegate(System.IntPtr obj, System.IntPtr pd);
783 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_text_font_lang_get_api_delegate(System.IntPtr obj);
784 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");
785 private static System.String font_lang_get(System.IntPtr obj, System.IntPtr pd)
787 Eina.Log.Debug("function efl_text_font_lang_get was called");
788 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
789 if(wrapper != null) {
790 System.String _ret_var = default(System.String);
792 _ret_var = ((ITextFont)wrapper).GetFontLang();
793 } catch (Exception e) {
794 Eina.Log.Warning($"Callback error: {e.ToString()}");
795 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
799 return efl_text_font_lang_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
802 private static efl_text_font_lang_get_delegate efl_text_font_lang_get_static_delegate;
805 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);
808 public delegate void efl_text_font_lang_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String lang);
809 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");
810 private static void font_lang_set(System.IntPtr obj, System.IntPtr pd, System.String lang)
812 Eina.Log.Debug("function efl_text_font_lang_set was called");
813 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
814 if(wrapper != null) {
817 ((ITextFont)wrapper).SetFontLang( lang);
818 } catch (Exception e) {
819 Eina.Log.Warning($"Callback error: {e.ToString()}");
820 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
823 efl_text_font_lang_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lang);
826 private static efl_text_font_lang_set_delegate efl_text_font_lang_set_static_delegate;
829 private delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd);
832 public delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_api_delegate(System.IntPtr obj);
833 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");
834 private static Efl.TextFontBitmapScalable font_bitmap_scalable_get(System.IntPtr obj, System.IntPtr pd)
836 Eina.Log.Debug("function efl_text_font_bitmap_scalable_get was called");
837 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
838 if(wrapper != null) {
839 Efl.TextFontBitmapScalable _ret_var = default(Efl.TextFontBitmapScalable);
841 _ret_var = ((ITextFont)wrapper).GetFontBitmapScalable();
842 } catch (Exception e) {
843 Eina.Log.Warning($"Callback error: {e.ToString()}");
844 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
848 return efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
851 private static efl_text_font_bitmap_scalable_get_delegate efl_text_font_bitmap_scalable_get_static_delegate;
854 private delegate void efl_text_font_bitmap_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable);
857 public delegate void efl_text_font_bitmap_scalable_set_api_delegate(System.IntPtr obj, Efl.TextFontBitmapScalable scalable);
858 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");
859 private static void font_bitmap_scalable_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable)
861 Eina.Log.Debug("function efl_text_font_bitmap_scalable_set was called");
862 Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
863 if(wrapper != null) {
866 ((ITextFont)wrapper).SetFontBitmapScalable( scalable);
867 } catch (Exception e) {
868 Eina.Log.Warning($"Callback error: {e.ToString()}");
869 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
872 efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scalable);
875 private static efl_text_font_bitmap_scalable_set_delegate efl_text_font_bitmap_scalable_set_static_delegate;
879 /// <summary>Type of font weight</summary>
880 public enum TextFontWeight
882 /// <summary>Normal font weight</summary>
884 /// <summary>Thin font weight</summary>
886 /// <summary>Ultralight font weight</summary>
888 /// <summary>Extralight font weight</summary>
890 /// <summary>Light font weight</summary>
892 /// <summary>Book font weight</summary>
894 /// <summary>Medium font weight</summary>
896 /// <summary>Semibold font weight</summary>
898 /// <summary>Bold font weight</summary>
900 /// <summary>Ultrabold font weight</summary>
902 /// <summary>Extrabold font weight</summary>
904 /// <summary>Black font weight</summary>
906 /// <summary>Extrablack font weight</summary>
911 /// <summary>Type of font width</summary>
912 public enum TextFontWidth
914 /// <summary>Normal font width</summary>
916 /// <summary>Ultracondensed font width</summary>
918 /// <summary>Extracondensed font width</summary>
920 /// <summary>Condensed font width</summary>
922 /// <summary>Semicondensed font width</summary>
924 /// <summary>Semiexpanded font width</summary>
926 /// <summary>Expanded font width</summary>
928 /// <summary>Extraexpanded font width</summary>
930 /// <summary>Ultraexpanded font width</summary>
935 /// <summary>Type of font slant</summary>
936 public enum TextFontSlant
938 /// <summary>Normal font slant</summary>
940 /// <summary>Oblique font slant</summary>
942 /// <summary>Italic font slant</summary>
947 /// <summary>Scalable of bitmap fonts</summary>
948 public enum TextFontBitmapScalable
950 /// <summary>Disable scalable feature for bitmap fonts.</summary>
952 /// <summary>Enable scalable feature for color bitmap fonts.</summary>