1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
10 /// <summary>Font settings of the text</summary>
11 [Efl.ITextFontConcrete.NativeMethods]
12 public interface ITextFont :
13 Efl.Eo.IWrapper, IDisposable
15 /// <summary>Retrieve the font family and size in use on a given text object.
16 /// 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.
18 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
19 /// <param name="font">The font family name or filename.</param>
20 /// <param name="size">The font size, in points.</param>
21 void GetFont(out System.String font, out Efl.Font.Size size);
22 /// <summary>Set the font family, filename and size for a given text object.
23 /// 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.
25 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
26 /// <param name="font">The font family name or filename.</param>
27 /// <param name="size">The font size, in points.</param>
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 void SetFontSource(System.String font_source);
39 /// <summary>Comma-separated list of font fallbacks
40 /// Will be used in case the primary font isn't available.</summary>
41 /// <returns>Font name fallbacks</returns>
42 System.String GetFontFallbacks();
43 /// <summary>Comma-separated list of font fallbacks
44 /// Will be used in case the primary font isn't available.</summary>
45 /// <param name="font_fallbacks">Font name fallbacks</param>
46 void SetFontFallbacks(System.String font_fallbacks);
47 /// <summary>Type of weight of the displayed font
48 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
49 /// <returns>Font weight</returns>
50 Efl.TextFontWeight GetFontWeight();
51 /// <summary>Type of weight of the displayed font
52 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
53 /// <param name="font_weight">Font weight</param>
54 void SetFontWeight(Efl.TextFontWeight font_weight);
55 /// <summary>Type of slant of the displayed font
56 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
57 /// <returns>Font slant</returns>
58 Efl.TextFontSlant GetFontSlant();
59 /// <summary>Type of slant of the displayed font
60 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
61 /// <param name="style">Font slant</param>
62 void SetFontSlant(Efl.TextFontSlant style);
63 /// <summary>Type of width of the displayed font
64 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
65 /// <returns>Font width</returns>
66 Efl.TextFontWidth GetFontWidth();
67 /// <summary>Type of width of the displayed font
68 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
69 /// <param name="width">Font width</param>
70 void SetFontWidth(Efl.TextFontWidth width);
71 /// <summary>Specific language of the displayed font
72 /// 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>
73 /// <returns>Language</returns>
74 System.String GetFontLang();
75 /// <summary>Specific language of the displayed font
76 /// 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>
77 /// <param name="lang">Language</param>
78 void SetFontLang(System.String lang);
79 /// <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)
80 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
81 /// <returns>Scalable</returns>
82 Efl.TextFontBitmapScalable GetFontBitmapScalable();
83 /// <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)
84 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
85 /// <param name="scalable">Scalable</param>
86 void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable);
87 /// <summary>Get the font file's path which is being used on a given text object.
88 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
89 /// <value>The font file's path.</value>
90 System.String FontSource {
94 /// <summary>Comma-separated list of font fallbacks
95 /// Will be used in case the primary font isn't available.</summary>
96 /// <value>Font name fallbacks</value>
97 System.String FontFallbacks {
101 /// <summary>Type of weight of the displayed font
102 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
103 /// <value>Font weight</value>
104 Efl.TextFontWeight FontWeight {
108 /// <summary>Type of slant of the displayed font
109 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
110 /// <value>Font slant</value>
111 Efl.TextFontSlant FontSlant {
115 /// <summary>Type of width of the displayed font
116 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
117 /// <value>Font width</value>
118 Efl.TextFontWidth FontWidth {
122 /// <summary>Specific language of the displayed font
123 /// 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>
124 /// <value>Language</value>
125 System.String FontLang {
129 /// <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)
130 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
131 /// <value>Scalable</value>
132 Efl.TextFontBitmapScalable FontBitmapScalable {
137 /// <summary>Font settings of the text</summary>
138 sealed public class ITextFontConcrete :
143 ///<summary>Pointer to the native class description.</summary>
144 public override System.IntPtr NativeClass
148 if (((object)this).GetType() == typeof(ITextFontConcrete))
150 return GetEflClassStatic();
154 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
159 [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr
160 efl_text_font_interface_get();
161 /// <summary>Initializes a new instance of the <see cref="ITextFont"/> class.
162 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
163 private ITextFontConcrete(System.IntPtr raw) : base(raw)
167 /// <summary>Retrieve the font family and size in use on a given text object.
168 /// 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.
170 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
171 /// <param name="font">The font family name or filename.</param>
172 /// <param name="size">The font size, in points.</param>
173 public void GetFont(out System.String font, out Efl.Font.Size size) {
174 Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate(this.NativeHandle,out font, out size);
175 Eina.Error.RaiseIfUnhandledException();
177 /// <summary>Set the font family, filename and size for a given text object.
178 /// 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.
180 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
181 /// <param name="font">The font family name or filename.</param>
182 /// <param name="size">The font size, in points.</param>
183 public void SetFont(System.String font, Efl.Font.Size size) {
184 Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate(this.NativeHandle,font, size);
185 Eina.Error.RaiseIfUnhandledException();
187 /// <summary>Get the font file's path which is being used on a given text object.
188 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
189 /// <returns>The font file's path.</returns>
190 public System.String GetFontSource() {
191 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate(this.NativeHandle);
192 Eina.Error.RaiseIfUnhandledException();
195 /// <summary>Set the font (source) file to be used on a given text object.
196 /// 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.
198 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
199 /// <param name="font_source">The font file's path.</param>
200 public void SetFontSource(System.String font_source) {
201 Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate(this.NativeHandle,font_source);
202 Eina.Error.RaiseIfUnhandledException();
204 /// <summary>Comma-separated list of font fallbacks
205 /// Will be used in case the primary font isn't available.</summary>
206 /// <returns>Font name fallbacks</returns>
207 public System.String GetFontFallbacks() {
208 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate(this.NativeHandle);
209 Eina.Error.RaiseIfUnhandledException();
212 /// <summary>Comma-separated list of font fallbacks
213 /// Will be used in case the primary font isn't available.</summary>
214 /// <param name="font_fallbacks">Font name fallbacks</param>
215 public void SetFontFallbacks(System.String font_fallbacks) {
216 Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate(this.NativeHandle,font_fallbacks);
217 Eina.Error.RaiseIfUnhandledException();
219 /// <summary>Type of weight of the displayed font
220 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
221 /// <returns>Font weight</returns>
222 public Efl.TextFontWeight GetFontWeight() {
223 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate(this.NativeHandle);
224 Eina.Error.RaiseIfUnhandledException();
227 /// <summary>Type of weight of the displayed font
228 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
229 /// <param name="font_weight">Font weight</param>
230 public void SetFontWeight(Efl.TextFontWeight font_weight) {
231 Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate(this.NativeHandle,font_weight);
232 Eina.Error.RaiseIfUnhandledException();
234 /// <summary>Type of slant of the displayed font
235 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
236 /// <returns>Font slant</returns>
237 public Efl.TextFontSlant GetFontSlant() {
238 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate(this.NativeHandle);
239 Eina.Error.RaiseIfUnhandledException();
242 /// <summary>Type of slant of the displayed font
243 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
244 /// <param name="style">Font slant</param>
245 public void SetFontSlant(Efl.TextFontSlant style) {
246 Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate(this.NativeHandle,style);
247 Eina.Error.RaiseIfUnhandledException();
249 /// <summary>Type of width of the displayed font
250 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
251 /// <returns>Font width</returns>
252 public Efl.TextFontWidth GetFontWidth() {
253 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate(this.NativeHandle);
254 Eina.Error.RaiseIfUnhandledException();
257 /// <summary>Type of width of the displayed font
258 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
259 /// <param name="width">Font width</param>
260 public void SetFontWidth(Efl.TextFontWidth width) {
261 Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate(this.NativeHandle,width);
262 Eina.Error.RaiseIfUnhandledException();
264 /// <summary>Specific language of the displayed font
265 /// 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>
266 /// <returns>Language</returns>
267 public System.String GetFontLang() {
268 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate(this.NativeHandle);
269 Eina.Error.RaiseIfUnhandledException();
272 /// <summary>Specific language of the displayed font
273 /// 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>
274 /// <param name="lang">Language</param>
275 public void SetFontLang(System.String lang) {
276 Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate(this.NativeHandle,lang);
277 Eina.Error.RaiseIfUnhandledException();
279 /// <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)
280 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
281 /// <returns>Scalable</returns>
282 public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
283 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(this.NativeHandle);
284 Eina.Error.RaiseIfUnhandledException();
287 /// <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)
288 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
289 /// <param name="scalable">Scalable</param>
290 public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
291 Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(this.NativeHandle,scalable);
292 Eina.Error.RaiseIfUnhandledException();
294 /// <summary>Get the font file's path which is being used on a given text object.
295 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
296 /// <value>The font file's path.</value>
297 public System.String FontSource {
298 get { return GetFontSource(); }
299 set { SetFontSource(value); }
301 /// <summary>Comma-separated list of font fallbacks
302 /// Will be used in case the primary font isn't available.</summary>
303 /// <value>Font name fallbacks</value>
304 public System.String FontFallbacks {
305 get { return GetFontFallbacks(); }
306 set { SetFontFallbacks(value); }
308 /// <summary>Type of weight of the displayed font
309 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
310 /// <value>Font weight</value>
311 public Efl.TextFontWeight FontWeight {
312 get { return GetFontWeight(); }
313 set { SetFontWeight(value); }
315 /// <summary>Type of slant of the displayed font
316 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
317 /// <value>Font slant</value>
318 public Efl.TextFontSlant FontSlant {
319 get { return GetFontSlant(); }
320 set { SetFontSlant(value); }
322 /// <summary>Type of width of the displayed font
323 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
324 /// <value>Font width</value>
325 public Efl.TextFontWidth FontWidth {
326 get { return GetFontWidth(); }
327 set { SetFontWidth(value); }
329 /// <summary>Specific language of the displayed font
330 /// 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>
331 /// <value>Language</value>
332 public System.String FontLang {
333 get { return GetFontLang(); }
334 set { SetFontLang(value); }
336 /// <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)
337 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
338 /// <value>Scalable</value>
339 public Efl.TextFontBitmapScalable FontBitmapScalable {
340 get { return GetFontBitmapScalable(); }
341 set { SetFontBitmapScalable(value); }
343 private static IntPtr GetEflClassStatic()
345 return Efl.ITextFontConcrete.efl_text_font_interface_get();
347 /// <summary>Wrapper for native methods and virtual method delegates.
348 /// For internal use by generated code only.</summary>
349 public class NativeMethods : Efl.Eo.NativeClass
351 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
352 /// <summary>Gets the list of Eo operations to override.</summary>
353 /// <returns>The list of Eo operations to be overload.</returns>
354 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
356 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
357 var methods = Efl.Eo.Globals.GetUserMethods(type);
359 if (efl_text_font_get_static_delegate == null)
361 efl_text_font_get_static_delegate = new efl_text_font_get_delegate(font_get);
364 if (methods.FirstOrDefault(m => m.Name == "GetFont") != null)
366 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) });
369 if (efl_text_font_set_static_delegate == null)
371 efl_text_font_set_static_delegate = new efl_text_font_set_delegate(font_set);
374 if (methods.FirstOrDefault(m => m.Name == "SetFont") != null)
376 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) });
379 if (efl_text_font_source_get_static_delegate == null)
381 efl_text_font_source_get_static_delegate = new efl_text_font_source_get_delegate(font_source_get);
384 if (methods.FirstOrDefault(m => m.Name == "GetFontSource") != null)
386 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) });
389 if (efl_text_font_source_set_static_delegate == null)
391 efl_text_font_source_set_static_delegate = new efl_text_font_source_set_delegate(font_source_set);
394 if (methods.FirstOrDefault(m => m.Name == "SetFontSource") != null)
396 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) });
399 if (efl_text_font_fallbacks_get_static_delegate == null)
401 efl_text_font_fallbacks_get_static_delegate = new efl_text_font_fallbacks_get_delegate(font_fallbacks_get);
404 if (methods.FirstOrDefault(m => m.Name == "GetFontFallbacks") != null)
406 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) });
409 if (efl_text_font_fallbacks_set_static_delegate == null)
411 efl_text_font_fallbacks_set_static_delegate = new efl_text_font_fallbacks_set_delegate(font_fallbacks_set);
414 if (methods.FirstOrDefault(m => m.Name == "SetFontFallbacks") != null)
416 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) });
419 if (efl_text_font_weight_get_static_delegate == null)
421 efl_text_font_weight_get_static_delegate = new efl_text_font_weight_get_delegate(font_weight_get);
424 if (methods.FirstOrDefault(m => m.Name == "GetFontWeight") != null)
426 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) });
429 if (efl_text_font_weight_set_static_delegate == null)
431 efl_text_font_weight_set_static_delegate = new efl_text_font_weight_set_delegate(font_weight_set);
434 if (methods.FirstOrDefault(m => m.Name == "SetFontWeight") != null)
436 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) });
439 if (efl_text_font_slant_get_static_delegate == null)
441 efl_text_font_slant_get_static_delegate = new efl_text_font_slant_get_delegate(font_slant_get);
444 if (methods.FirstOrDefault(m => m.Name == "GetFontSlant") != null)
446 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) });
449 if (efl_text_font_slant_set_static_delegate == null)
451 efl_text_font_slant_set_static_delegate = new efl_text_font_slant_set_delegate(font_slant_set);
454 if (methods.FirstOrDefault(m => m.Name == "SetFontSlant") != null)
456 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) });
459 if (efl_text_font_width_get_static_delegate == null)
461 efl_text_font_width_get_static_delegate = new efl_text_font_width_get_delegate(font_width_get);
464 if (methods.FirstOrDefault(m => m.Name == "GetFontWidth") != null)
466 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) });
469 if (efl_text_font_width_set_static_delegate == null)
471 efl_text_font_width_set_static_delegate = new efl_text_font_width_set_delegate(font_width_set);
474 if (methods.FirstOrDefault(m => m.Name == "SetFontWidth") != null)
476 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) });
479 if (efl_text_font_lang_get_static_delegate == null)
481 efl_text_font_lang_get_static_delegate = new efl_text_font_lang_get_delegate(font_lang_get);
484 if (methods.FirstOrDefault(m => m.Name == "GetFontLang") != null)
486 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) });
489 if (efl_text_font_lang_set_static_delegate == null)
491 efl_text_font_lang_set_static_delegate = new efl_text_font_lang_set_delegate(font_lang_set);
494 if (methods.FirstOrDefault(m => m.Name == "SetFontLang") != null)
496 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) });
499 if (efl_text_font_bitmap_scalable_get_static_delegate == null)
501 efl_text_font_bitmap_scalable_get_static_delegate = new efl_text_font_bitmap_scalable_get_delegate(font_bitmap_scalable_get);
504 if (methods.FirstOrDefault(m => m.Name == "GetFontBitmapScalable") != null)
506 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) });
509 if (efl_text_font_bitmap_scalable_set_static_delegate == null)
511 efl_text_font_bitmap_scalable_set_static_delegate = new efl_text_font_bitmap_scalable_set_delegate(font_bitmap_scalable_set);
514 if (methods.FirstOrDefault(m => m.Name == "SetFontBitmapScalable") != null)
516 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) });
521 /// <summary>Returns the Eo class for the native methods of this class.</summary>
522 /// <returns>The native class pointer.</returns>
523 public override IntPtr GetEflClass()
525 return Efl.ITextFontConcrete.efl_text_font_interface_get();
528 #pragma warning disable CA1707, CS1591, SA1300, SA1600
531 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);
534 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);
536 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");
538 private static void font_get(System.IntPtr obj, System.IntPtr pd, out System.String font, out Efl.Font.Size size)
540 Eina.Log.Debug("function efl_text_font_get was called");
541 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
544 System.String _out_font = default(System.String);
545 size = default(Efl.Font.Size);
548 ((ITextFont)ws.Target).GetFont(out _out_font, out size);
552 Eina.Log.Warning($"Callback error: {e.ToString()}");
553 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
561 efl_text_font_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out font, out size);
565 private static efl_text_font_get_delegate efl_text_font_get_static_delegate;
568 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);
571 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);
573 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");
575 private static void font_set(System.IntPtr obj, System.IntPtr pd, System.String font, Efl.Font.Size size)
577 Eina.Log.Debug("function efl_text_font_set was called");
578 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
584 ((ITextFont)ws.Target).SetFont(font, size);
588 Eina.Log.Warning($"Callback error: {e.ToString()}");
589 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
596 efl_text_font_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font, size);
600 private static efl_text_font_set_delegate efl_text_font_set_static_delegate;
602 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
603 private delegate System.String efl_text_font_source_get_delegate(System.IntPtr obj, System.IntPtr pd);
605 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
606 public delegate System.String efl_text_font_source_get_api_delegate(System.IntPtr obj);
608 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");
610 private static System.String font_source_get(System.IntPtr obj, System.IntPtr pd)
612 Eina.Log.Debug("function efl_text_font_source_get was called");
613 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
616 System.String _ret_var = default(System.String);
619 _ret_var = ((ITextFont)ws.Target).GetFontSource();
623 Eina.Log.Warning($"Callback error: {e.ToString()}");
624 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
632 return efl_text_font_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
636 private static efl_text_font_source_get_delegate efl_text_font_source_get_static_delegate;
639 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);
642 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);
644 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");
646 private static void font_source_set(System.IntPtr obj, System.IntPtr pd, System.String font_source)
648 Eina.Log.Debug("function efl_text_font_source_set was called");
649 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
655 ((ITextFont)ws.Target).SetFontSource(font_source);
659 Eina.Log.Warning($"Callback error: {e.ToString()}");
660 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
667 efl_text_font_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_source);
671 private static efl_text_font_source_set_delegate efl_text_font_source_set_static_delegate;
673 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
674 private delegate System.String efl_text_font_fallbacks_get_delegate(System.IntPtr obj, System.IntPtr pd);
676 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
677 public delegate System.String efl_text_font_fallbacks_get_api_delegate(System.IntPtr obj);
679 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");
681 private static System.String font_fallbacks_get(System.IntPtr obj, System.IntPtr pd)
683 Eina.Log.Debug("function efl_text_font_fallbacks_get was called");
684 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
687 System.String _ret_var = default(System.String);
690 _ret_var = ((ITextFont)ws.Target).GetFontFallbacks();
694 Eina.Log.Warning($"Callback error: {e.ToString()}");
695 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
703 return efl_text_font_fallbacks_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
707 private static efl_text_font_fallbacks_get_delegate efl_text_font_fallbacks_get_static_delegate;
710 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);
713 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);
715 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");
717 private static void font_fallbacks_set(System.IntPtr obj, System.IntPtr pd, System.String font_fallbacks)
719 Eina.Log.Debug("function efl_text_font_fallbacks_set was called");
720 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
726 ((ITextFont)ws.Target).SetFontFallbacks(font_fallbacks);
730 Eina.Log.Warning($"Callback error: {e.ToString()}");
731 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
738 efl_text_font_fallbacks_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_fallbacks);
742 private static efl_text_font_fallbacks_set_delegate efl_text_font_fallbacks_set_static_delegate;
745 private delegate Efl.TextFontWeight efl_text_font_weight_get_delegate(System.IntPtr obj, System.IntPtr pd);
748 public delegate Efl.TextFontWeight efl_text_font_weight_get_api_delegate(System.IntPtr obj);
750 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");
752 private static Efl.TextFontWeight font_weight_get(System.IntPtr obj, System.IntPtr pd)
754 Eina.Log.Debug("function efl_text_font_weight_get was called");
755 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
758 Efl.TextFontWeight _ret_var = default(Efl.TextFontWeight);
761 _ret_var = ((ITextFont)ws.Target).GetFontWeight();
765 Eina.Log.Warning($"Callback error: {e.ToString()}");
766 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
774 return efl_text_font_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
778 private static efl_text_font_weight_get_delegate efl_text_font_weight_get_static_delegate;
781 private delegate void efl_text_font_weight_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight);
784 public delegate void efl_text_font_weight_set_api_delegate(System.IntPtr obj, Efl.TextFontWeight font_weight);
786 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");
788 private static void font_weight_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight)
790 Eina.Log.Debug("function efl_text_font_weight_set was called");
791 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
797 ((ITextFont)ws.Target).SetFontWeight(font_weight);
801 Eina.Log.Warning($"Callback error: {e.ToString()}");
802 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
809 efl_text_font_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_weight);
813 private static efl_text_font_weight_set_delegate efl_text_font_weight_set_static_delegate;
816 private delegate Efl.TextFontSlant efl_text_font_slant_get_delegate(System.IntPtr obj, System.IntPtr pd);
819 public delegate Efl.TextFontSlant efl_text_font_slant_get_api_delegate(System.IntPtr obj);
821 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");
823 private static Efl.TextFontSlant font_slant_get(System.IntPtr obj, System.IntPtr pd)
825 Eina.Log.Debug("function efl_text_font_slant_get was called");
826 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
829 Efl.TextFontSlant _ret_var = default(Efl.TextFontSlant);
832 _ret_var = ((ITextFont)ws.Target).GetFontSlant();
836 Eina.Log.Warning($"Callback error: {e.ToString()}");
837 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
845 return efl_text_font_slant_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
849 private static efl_text_font_slant_get_delegate efl_text_font_slant_get_static_delegate;
852 private delegate void efl_text_font_slant_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style);
855 public delegate void efl_text_font_slant_set_api_delegate(System.IntPtr obj, Efl.TextFontSlant style);
857 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");
859 private static void font_slant_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style)
861 Eina.Log.Debug("function efl_text_font_slant_set was called");
862 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
868 ((ITextFont)ws.Target).SetFontSlant(style);
872 Eina.Log.Warning($"Callback error: {e.ToString()}");
873 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
880 efl_text_font_slant_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style);
884 private static efl_text_font_slant_set_delegate efl_text_font_slant_set_static_delegate;
887 private delegate Efl.TextFontWidth efl_text_font_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
890 public delegate Efl.TextFontWidth efl_text_font_width_get_api_delegate(System.IntPtr obj);
892 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");
894 private static Efl.TextFontWidth font_width_get(System.IntPtr obj, System.IntPtr pd)
896 Eina.Log.Debug("function efl_text_font_width_get was called");
897 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
900 Efl.TextFontWidth _ret_var = default(Efl.TextFontWidth);
903 _ret_var = ((ITextFont)ws.Target).GetFontWidth();
907 Eina.Log.Warning($"Callback error: {e.ToString()}");
908 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
916 return efl_text_font_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
920 private static efl_text_font_width_get_delegate efl_text_font_width_get_static_delegate;
923 private delegate void efl_text_font_width_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width);
926 public delegate void efl_text_font_width_set_api_delegate(System.IntPtr obj, Efl.TextFontWidth width);
928 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");
930 private static void font_width_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width)
932 Eina.Log.Debug("function efl_text_font_width_set was called");
933 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
939 ((ITextFont)ws.Target).SetFontWidth(width);
943 Eina.Log.Warning($"Callback error: {e.ToString()}");
944 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
951 efl_text_font_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), width);
955 private static efl_text_font_width_set_delegate efl_text_font_width_set_static_delegate;
957 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
958 private delegate System.String efl_text_font_lang_get_delegate(System.IntPtr obj, System.IntPtr pd);
960 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
961 public delegate System.String efl_text_font_lang_get_api_delegate(System.IntPtr obj);
963 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");
965 private static System.String font_lang_get(System.IntPtr obj, System.IntPtr pd)
967 Eina.Log.Debug("function efl_text_font_lang_get was called");
968 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
971 System.String _ret_var = default(System.String);
974 _ret_var = ((ITextFont)ws.Target).GetFontLang();
978 Eina.Log.Warning($"Callback error: {e.ToString()}");
979 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
987 return efl_text_font_lang_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
991 private static efl_text_font_lang_get_delegate efl_text_font_lang_get_static_delegate;
994 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);
997 public delegate void efl_text_font_lang_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String lang);
999 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");
1001 private static void font_lang_set(System.IntPtr obj, System.IntPtr pd, System.String lang)
1003 Eina.Log.Debug("function efl_text_font_lang_set was called");
1004 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1010 ((ITextFont)ws.Target).SetFontLang(lang);
1014 Eina.Log.Warning($"Callback error: {e.ToString()}");
1015 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1022 efl_text_font_lang_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lang);
1026 private static efl_text_font_lang_set_delegate efl_text_font_lang_set_static_delegate;
1029 private delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd);
1032 public delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_api_delegate(System.IntPtr obj);
1034 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");
1036 private static Efl.TextFontBitmapScalable font_bitmap_scalable_get(System.IntPtr obj, System.IntPtr pd)
1038 Eina.Log.Debug("function efl_text_font_bitmap_scalable_get was called");
1039 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1042 Efl.TextFontBitmapScalable _ret_var = default(Efl.TextFontBitmapScalable);
1045 _ret_var = ((ITextFont)ws.Target).GetFontBitmapScalable();
1049 Eina.Log.Warning($"Callback error: {e.ToString()}");
1050 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1058 return efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1062 private static efl_text_font_bitmap_scalable_get_delegate efl_text_font_bitmap_scalable_get_static_delegate;
1065 private delegate void efl_text_font_bitmap_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable);
1068 public delegate void efl_text_font_bitmap_scalable_set_api_delegate(System.IntPtr obj, Efl.TextFontBitmapScalable scalable);
1070 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");
1072 private static void font_bitmap_scalable_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable)
1074 Eina.Log.Debug("function efl_text_font_bitmap_scalable_set was called");
1075 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1081 ((ITextFont)ws.Target).SetFontBitmapScalable(scalable);
1085 Eina.Log.Warning($"Callback error: {e.ToString()}");
1086 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1093 efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scalable);
1097 private static efl_text_font_bitmap_scalable_set_delegate efl_text_font_bitmap_scalable_set_static_delegate;
1099 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1107 /// <summary>Type of font weight</summary>
1108 public enum TextFontWeight
1110 /// <summary>Normal font weight</summary>
1112 /// <summary>Thin font weight</summary>
1114 /// <summary>Ultralight font weight</summary>
1116 /// <summary>Extralight font weight</summary>
1118 /// <summary>Light font weight</summary>
1120 /// <summary>Book font weight</summary>
1122 /// <summary>Medium font weight</summary>
1124 /// <summary>Semibold font weight</summary>
1126 /// <summary>Bold font weight</summary>
1128 /// <summary>Ultrabold font weight</summary>
1130 /// <summary>Extrabold font weight</summary>
1132 /// <summary>Black font weight</summary>
1134 /// <summary>Extrablack font weight</summary>
1142 /// <summary>Type of font width</summary>
1143 public enum TextFontWidth
1145 /// <summary>Normal font width</summary>
1147 /// <summary>Ultracondensed font width</summary>
1149 /// <summary>Extracondensed font width</summary>
1151 /// <summary>Condensed font width</summary>
1153 /// <summary>Semicondensed font width</summary>
1155 /// <summary>Semiexpanded font width</summary>
1157 /// <summary>Expanded font width</summary>
1159 /// <summary>Extraexpanded font width</summary>
1161 /// <summary>Ultraexpanded font width</summary>
1169 /// <summary>Type of font slant</summary>
1170 public enum TextFontSlant
1172 /// <summary>Normal font slant</summary>
1174 /// <summary>Oblique font slant</summary>
1176 /// <summary>Italic font slant</summary>
1184 /// <summary>Scalable of bitmap fonts</summary>
1185 public enum TextFontBitmapScalable
1187 /// <summary>Disable scalable feature for bitmap fonts.</summary>
1189 /// <summary>Enable scalable feature for color bitmap fonts.</summary>