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 [Efl.Eo.BindingEntity]
13 public interface ITextFont :
14 Efl.Eo.IWrapper, IDisposable
16 /// <summary>Retrieve the font family and size in use on a given text object.
17 /// 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.
19 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
20 /// <param name="font">The font family name or filename.</param>
21 /// <param name="size">The font size, in points.</param>
22 void GetFont(out System.String font, out Efl.Font.Size size);
23 /// <summary>Set the font family, filename and size for a given text object.
24 /// 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.
26 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
27 /// <param name="font">The font family name or filename.</param>
28 /// <param name="size">The font size, in points.</param>
29 void SetFont(System.String font, Efl.Font.Size size);
30 /// <summary>Get the font file's path which is being used on a given text object.
31 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
32 /// <returns>The font file's path.</returns>
33 System.String GetFontSource();
34 /// <summary>Set the font (source) file to be used on a given text object.
35 /// 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.
37 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
38 /// <param name="font_source">The font file's path.</param>
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 void SetFontFallbacks(System.String font_fallbacks);
48 /// <summary>Type of weight of the displayed font
49 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
50 /// <returns>Font weight</returns>
51 Efl.TextFontWeight GetFontWeight();
52 /// <summary>Type of weight of the displayed font
53 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
54 /// <param name="font_weight">Font weight</param>
55 void SetFontWeight(Efl.TextFontWeight font_weight);
56 /// <summary>Type of slant of the displayed font
57 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
58 /// <returns>Font slant</returns>
59 Efl.TextFontSlant GetFontSlant();
60 /// <summary>Type of slant of the displayed font
61 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
62 /// <param name="style">Font slant</param>
63 void SetFontSlant(Efl.TextFontSlant style);
64 /// <summary>Type of width of the displayed font
65 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
66 /// <returns>Font width</returns>
67 Efl.TextFontWidth GetFontWidth();
68 /// <summary>Type of width of the displayed font
69 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
70 /// <param name="width">Font width</param>
71 void SetFontWidth(Efl.TextFontWidth width);
72 /// <summary>Specific language of the displayed font
73 /// 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>
74 /// <returns>Language</returns>
75 System.String GetFontLang();
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 /// <param name="lang">Language</param>
79 void SetFontLang(System.String lang);
80 /// <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)
81 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
82 /// <returns>Scalable</returns>
83 Efl.TextFontBitmapScalable GetFontBitmapScalable();
84 /// <summary>The bitmap fonts have fixed size glyphs for several available sizes. Basically, it is not scalable. But, it needs to be scalable for some use cases. (ex. colorful emoji fonts)
85 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
86 /// <param name="scalable">Scalable</param>
87 void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable);
88 /// <summary>Get the font file's path which is being used on a given text object.
89 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
90 /// <value>The font file's path.</value>
91 System.String FontSource {
95 /// <summary>Comma-separated list of font fallbacks
96 /// Will be used in case the primary font isn't available.</summary>
97 /// <value>Font name fallbacks</value>
98 System.String FontFallbacks {
102 /// <summary>Type of weight of the displayed font
103 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
104 /// <value>Font weight</value>
105 Efl.TextFontWeight FontWeight {
109 /// <summary>Type of slant of the displayed font
110 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
111 /// <value>Font slant</value>
112 Efl.TextFontSlant FontSlant {
116 /// <summary>Type of width of the displayed font
117 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
118 /// <value>Font width</value>
119 Efl.TextFontWidth FontWidth {
123 /// <summary>Specific language of the displayed font
124 /// 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>
125 /// <value>Language</value>
126 System.String FontLang {
130 /// <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)
131 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
132 /// <value>Scalable</value>
133 Efl.TextFontBitmapScalable FontBitmapScalable {
138 /// <summary>Font settings of the text</summary>
139 sealed public class ITextFontConcrete :
144 ///<summary>Pointer to the native class description.</summary>
145 public override System.IntPtr NativeClass
149 if (((object)this).GetType() == typeof(ITextFontConcrete))
151 return GetEflClassStatic();
155 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
160 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
161 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
162 private ITextFontConcrete(ConstructingHandle ch) : base(ch)
166 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
167 efl_text_font_interface_get();
168 /// <summary>Initializes a new instance of the <see cref="ITextFont"/> class.
169 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
170 /// <param name="wh">The native pointer to be wrapped.</param>
171 private ITextFontConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
175 /// <summary>Retrieve the font family and size in use on a given text object.
176 /// 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.
178 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
179 /// <param name="font">The font family name or filename.</param>
180 /// <param name="size">The font size, in points.</param>
181 public void GetFont(out System.String font, out Efl.Font.Size size) {
182 Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate(this.NativeHandle,out font, out size);
183 Eina.Error.RaiseIfUnhandledException();
185 /// <summary>Set the font family, filename and size for a given text object.
186 /// 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.
188 /// See also <see cref="Efl.ITextFont.GetFont"/>, <see cref="Efl.ITextFont.GetFontSource"/>.</summary>
189 /// <param name="font">The font family name or filename.</param>
190 /// <param name="size">The font size, in points.</param>
191 public void SetFont(System.String font, Efl.Font.Size size) {
192 Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate(this.NativeHandle,font, size);
193 Eina.Error.RaiseIfUnhandledException();
195 /// <summary>Get the font file's path which is being used on a given text object.
196 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
197 /// <returns>The font file's path.</returns>
198 public System.String GetFontSource() {
199 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate(this.NativeHandle);
200 Eina.Error.RaiseIfUnhandledException();
203 /// <summary>Set the font (source) file to be used on a given text object.
204 /// 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.
206 /// See also <see cref="Efl.ITextFont.GetFont"/>.</summary>
207 /// <param name="font_source">The font file's path.</param>
208 public void SetFontSource(System.String font_source) {
209 Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate(this.NativeHandle,font_source);
210 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 /// <returns>Font name fallbacks</returns>
215 public System.String GetFontFallbacks() {
216 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate(this.NativeHandle);
217 Eina.Error.RaiseIfUnhandledException();
220 /// <summary>Comma-separated list of font fallbacks
221 /// Will be used in case the primary font isn't available.</summary>
222 /// <param name="font_fallbacks">Font name fallbacks</param>
223 public void SetFontFallbacks(System.String font_fallbacks) {
224 Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate(this.NativeHandle,font_fallbacks);
225 Eina.Error.RaiseIfUnhandledException();
227 /// <summary>Type of weight of the displayed font
228 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
229 /// <returns>Font weight</returns>
230 public Efl.TextFontWeight GetFontWeight() {
231 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate(this.NativeHandle);
232 Eina.Error.RaiseIfUnhandledException();
235 /// <summary>Type of weight of the displayed font
236 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
237 /// <param name="font_weight">Font weight</param>
238 public void SetFontWeight(Efl.TextFontWeight font_weight) {
239 Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate(this.NativeHandle,font_weight);
240 Eina.Error.RaiseIfUnhandledException();
242 /// <summary>Type of slant of the displayed font
243 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
244 /// <returns>Font slant</returns>
245 public Efl.TextFontSlant GetFontSlant() {
246 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate(this.NativeHandle);
247 Eina.Error.RaiseIfUnhandledException();
250 /// <summary>Type of slant of the displayed font
251 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
252 /// <param name="style">Font slant</param>
253 public void SetFontSlant(Efl.TextFontSlant style) {
254 Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate(this.NativeHandle,style);
255 Eina.Error.RaiseIfUnhandledException();
257 /// <summary>Type of width of the displayed font
258 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
259 /// <returns>Font width</returns>
260 public Efl.TextFontWidth GetFontWidth() {
261 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate(this.NativeHandle);
262 Eina.Error.RaiseIfUnhandledException();
265 /// <summary>Type of width of the displayed font
266 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
267 /// <param name="width">Font width</param>
268 public void SetFontWidth(Efl.TextFontWidth width) {
269 Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate(this.NativeHandle,width);
270 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 /// <returns>Language</returns>
275 public System.String GetFontLang() {
276 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate(this.NativeHandle);
277 Eina.Error.RaiseIfUnhandledException();
280 /// <summary>Specific language of the displayed font
281 /// 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>
282 /// <param name="lang">Language</param>
283 public void SetFontLang(System.String lang) {
284 Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate(this.NativeHandle,lang);
285 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 /// <returns>Scalable</returns>
290 public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
291 var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(this.NativeHandle);
292 Eina.Error.RaiseIfUnhandledException();
295 /// <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)
296 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
297 /// <param name="scalable">Scalable</param>
298 public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
299 Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(this.NativeHandle,scalable);
300 Eina.Error.RaiseIfUnhandledException();
302 /// <summary>Get the font file's path which is being used on a given text object.
303 /// See <see cref="Efl.ITextFont.GetFont"/> for more details.</summary>
304 /// <value>The font file's path.</value>
305 public System.String FontSource {
306 get { return GetFontSource(); }
307 set { SetFontSource(value); }
309 /// <summary>Comma-separated list of font fallbacks
310 /// Will be used in case the primary font isn't available.</summary>
311 /// <value>Font name fallbacks</value>
312 public System.String FontFallbacks {
313 get { return GetFontFallbacks(); }
314 set { SetFontFallbacks(value); }
316 /// <summary>Type of weight of the displayed font
317 /// Default is <see cref="Efl.TextFontWeight.Normal"/>.</summary>
318 /// <value>Font weight</value>
319 public Efl.TextFontWeight FontWeight {
320 get { return GetFontWeight(); }
321 set { SetFontWeight(value); }
323 /// <summary>Type of slant of the displayed font
324 /// Default is <see cref="Efl.TextFontSlant.Normal"/>.</summary>
325 /// <value>Font slant</value>
326 public Efl.TextFontSlant FontSlant {
327 get { return GetFontSlant(); }
328 set { SetFontSlant(value); }
330 /// <summary>Type of width of the displayed font
331 /// Default is <see cref="Efl.TextFontWidth.Normal"/>.</summary>
332 /// <value>Font width</value>
333 public Efl.TextFontWidth FontWidth {
334 get { return GetFontWidth(); }
335 set { SetFontWidth(value); }
337 /// <summary>Specific language of the displayed font
338 /// 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>
339 /// <value>Language</value>
340 public System.String FontLang {
341 get { return GetFontLang(); }
342 set { SetFontLang(value); }
344 /// <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)
345 /// Default is <see cref="Efl.TextFontBitmapScalable.None"/>.</summary>
346 /// <value>Scalable</value>
347 public Efl.TextFontBitmapScalable FontBitmapScalable {
348 get { return GetFontBitmapScalable(); }
349 set { SetFontBitmapScalable(value); }
351 private static IntPtr GetEflClassStatic()
353 return Efl.ITextFontConcrete.efl_text_font_interface_get();
355 /// <summary>Wrapper for native methods and virtual method delegates.
356 /// For internal use by generated code only.</summary>
357 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
359 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
360 /// <summary>Gets the list of Eo operations to override.</summary>
361 /// <returns>The list of Eo operations to be overload.</returns>
362 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
364 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
365 var methods = Efl.Eo.Globals.GetUserMethods(type);
367 if (efl_text_font_get_static_delegate == null)
369 efl_text_font_get_static_delegate = new efl_text_font_get_delegate(font_get);
372 if (methods.FirstOrDefault(m => m.Name == "GetFont") != null)
374 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) });
377 if (efl_text_font_set_static_delegate == null)
379 efl_text_font_set_static_delegate = new efl_text_font_set_delegate(font_set);
382 if (methods.FirstOrDefault(m => m.Name == "SetFont") != null)
384 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) });
387 if (efl_text_font_source_get_static_delegate == null)
389 efl_text_font_source_get_static_delegate = new efl_text_font_source_get_delegate(font_source_get);
392 if (methods.FirstOrDefault(m => m.Name == "GetFontSource") != null)
394 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) });
397 if (efl_text_font_source_set_static_delegate == null)
399 efl_text_font_source_set_static_delegate = new efl_text_font_source_set_delegate(font_source_set);
402 if (methods.FirstOrDefault(m => m.Name == "SetFontSource") != null)
404 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) });
407 if (efl_text_font_fallbacks_get_static_delegate == null)
409 efl_text_font_fallbacks_get_static_delegate = new efl_text_font_fallbacks_get_delegate(font_fallbacks_get);
412 if (methods.FirstOrDefault(m => m.Name == "GetFontFallbacks") != null)
414 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) });
417 if (efl_text_font_fallbacks_set_static_delegate == null)
419 efl_text_font_fallbacks_set_static_delegate = new efl_text_font_fallbacks_set_delegate(font_fallbacks_set);
422 if (methods.FirstOrDefault(m => m.Name == "SetFontFallbacks") != null)
424 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) });
427 if (efl_text_font_weight_get_static_delegate == null)
429 efl_text_font_weight_get_static_delegate = new efl_text_font_weight_get_delegate(font_weight_get);
432 if (methods.FirstOrDefault(m => m.Name == "GetFontWeight") != null)
434 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)
439 efl_text_font_weight_set_static_delegate = new efl_text_font_weight_set_delegate(font_weight_set);
442 if (methods.FirstOrDefault(m => m.Name == "SetFontWeight") != null)
444 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) });
447 if (efl_text_font_slant_get_static_delegate == null)
449 efl_text_font_slant_get_static_delegate = new efl_text_font_slant_get_delegate(font_slant_get);
452 if (methods.FirstOrDefault(m => m.Name == "GetFontSlant") != null)
454 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) });
457 if (efl_text_font_slant_set_static_delegate == null)
459 efl_text_font_slant_set_static_delegate = new efl_text_font_slant_set_delegate(font_slant_set);
462 if (methods.FirstOrDefault(m => m.Name == "SetFontSlant") != null)
464 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) });
467 if (efl_text_font_width_get_static_delegate == null)
469 efl_text_font_width_get_static_delegate = new efl_text_font_width_get_delegate(font_width_get);
472 if (methods.FirstOrDefault(m => m.Name == "GetFontWidth") != null)
474 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) });
477 if (efl_text_font_width_set_static_delegate == null)
479 efl_text_font_width_set_static_delegate = new efl_text_font_width_set_delegate(font_width_set);
482 if (methods.FirstOrDefault(m => m.Name == "SetFontWidth") != null)
484 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) });
487 if (efl_text_font_lang_get_static_delegate == null)
489 efl_text_font_lang_get_static_delegate = new efl_text_font_lang_get_delegate(font_lang_get);
492 if (methods.FirstOrDefault(m => m.Name == "GetFontLang") != null)
494 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) });
497 if (efl_text_font_lang_set_static_delegate == null)
499 efl_text_font_lang_set_static_delegate = new efl_text_font_lang_set_delegate(font_lang_set);
502 if (methods.FirstOrDefault(m => m.Name == "SetFontLang") != null)
504 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) });
507 if (efl_text_font_bitmap_scalable_get_static_delegate == null)
509 efl_text_font_bitmap_scalable_get_static_delegate = new efl_text_font_bitmap_scalable_get_delegate(font_bitmap_scalable_get);
512 if (methods.FirstOrDefault(m => m.Name == "GetFontBitmapScalable") != null)
514 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) });
517 if (efl_text_font_bitmap_scalable_set_static_delegate == null)
519 efl_text_font_bitmap_scalable_set_static_delegate = new efl_text_font_bitmap_scalable_set_delegate(font_bitmap_scalable_set);
522 if (methods.FirstOrDefault(m => m.Name == "SetFontBitmapScalable") != null)
524 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) });
529 /// <summary>Returns the Eo class for the native methods of this class.</summary>
530 /// <returns>The native class pointer.</returns>
531 public override IntPtr GetEflClass()
533 return Efl.ITextFontConcrete.efl_text_font_interface_get();
536 #pragma warning disable CA1707, CS1591, SA1300, SA1600
539 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);
542 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);
544 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");
546 private static void font_get(System.IntPtr obj, System.IntPtr pd, out System.String font, out Efl.Font.Size size)
548 Eina.Log.Debug("function efl_text_font_get was called");
549 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
552 System.String _out_font = default(System.String);
553 size = default(Efl.Font.Size);
556 ((ITextFont)ws.Target).GetFont(out _out_font, out size);
560 Eina.Log.Warning($"Callback error: {e.ToString()}");
561 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
569 efl_text_font_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out font, out size);
573 private static efl_text_font_get_delegate efl_text_font_get_static_delegate;
576 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);
579 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);
581 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");
583 private static void font_set(System.IntPtr obj, System.IntPtr pd, System.String font, Efl.Font.Size size)
585 Eina.Log.Debug("function efl_text_font_set was called");
586 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
592 ((ITextFont)ws.Target).SetFont(font, size);
596 Eina.Log.Warning($"Callback error: {e.ToString()}");
597 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
604 efl_text_font_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font, size);
608 private static efl_text_font_set_delegate efl_text_font_set_static_delegate;
610 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
611 private delegate System.String efl_text_font_source_get_delegate(System.IntPtr obj, System.IntPtr pd);
613 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
614 public delegate System.String efl_text_font_source_get_api_delegate(System.IntPtr obj);
616 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");
618 private static System.String font_source_get(System.IntPtr obj, System.IntPtr pd)
620 Eina.Log.Debug("function efl_text_font_source_get was called");
621 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
624 System.String _ret_var = default(System.String);
627 _ret_var = ((ITextFont)ws.Target).GetFontSource();
631 Eina.Log.Warning($"Callback error: {e.ToString()}");
632 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
640 return efl_text_font_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
644 private static efl_text_font_source_get_delegate efl_text_font_source_get_static_delegate;
647 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);
650 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);
652 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");
654 private static void font_source_set(System.IntPtr obj, System.IntPtr pd, System.String font_source)
656 Eina.Log.Debug("function efl_text_font_source_set was called");
657 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
663 ((ITextFont)ws.Target).SetFontSource(font_source);
667 Eina.Log.Warning($"Callback error: {e.ToString()}");
668 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
675 efl_text_font_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_source);
679 private static efl_text_font_source_set_delegate efl_text_font_source_set_static_delegate;
681 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
682 private delegate System.String efl_text_font_fallbacks_get_delegate(System.IntPtr obj, System.IntPtr pd);
684 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
685 public delegate System.String efl_text_font_fallbacks_get_api_delegate(System.IntPtr obj);
687 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");
689 private static System.String font_fallbacks_get(System.IntPtr obj, System.IntPtr pd)
691 Eina.Log.Debug("function efl_text_font_fallbacks_get was called");
692 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
695 System.String _ret_var = default(System.String);
698 _ret_var = ((ITextFont)ws.Target).GetFontFallbacks();
702 Eina.Log.Warning($"Callback error: {e.ToString()}");
703 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
711 return efl_text_font_fallbacks_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
715 private static efl_text_font_fallbacks_get_delegate efl_text_font_fallbacks_get_static_delegate;
718 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);
721 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);
723 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");
725 private static void font_fallbacks_set(System.IntPtr obj, System.IntPtr pd, System.String font_fallbacks)
727 Eina.Log.Debug("function efl_text_font_fallbacks_set was called");
728 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
734 ((ITextFont)ws.Target).SetFontFallbacks(font_fallbacks);
738 Eina.Log.Warning($"Callback error: {e.ToString()}");
739 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
746 efl_text_font_fallbacks_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_fallbacks);
750 private static efl_text_font_fallbacks_set_delegate efl_text_font_fallbacks_set_static_delegate;
753 private delegate Efl.TextFontWeight efl_text_font_weight_get_delegate(System.IntPtr obj, System.IntPtr pd);
756 public delegate Efl.TextFontWeight efl_text_font_weight_get_api_delegate(System.IntPtr obj);
758 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");
760 private static Efl.TextFontWeight font_weight_get(System.IntPtr obj, System.IntPtr pd)
762 Eina.Log.Debug("function efl_text_font_weight_get was called");
763 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
766 Efl.TextFontWeight _ret_var = default(Efl.TextFontWeight);
769 _ret_var = ((ITextFont)ws.Target).GetFontWeight();
773 Eina.Log.Warning($"Callback error: {e.ToString()}");
774 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
782 return efl_text_font_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
786 private static efl_text_font_weight_get_delegate efl_text_font_weight_get_static_delegate;
789 private delegate void efl_text_font_weight_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight);
792 public delegate void efl_text_font_weight_set_api_delegate(System.IntPtr obj, Efl.TextFontWeight font_weight);
794 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");
796 private static void font_weight_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight)
798 Eina.Log.Debug("function efl_text_font_weight_set was called");
799 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
805 ((ITextFont)ws.Target).SetFontWeight(font_weight);
809 Eina.Log.Warning($"Callback error: {e.ToString()}");
810 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
817 efl_text_font_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_weight);
821 private static efl_text_font_weight_set_delegate efl_text_font_weight_set_static_delegate;
824 private delegate Efl.TextFontSlant efl_text_font_slant_get_delegate(System.IntPtr obj, System.IntPtr pd);
827 public delegate Efl.TextFontSlant efl_text_font_slant_get_api_delegate(System.IntPtr obj);
829 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");
831 private static Efl.TextFontSlant font_slant_get(System.IntPtr obj, System.IntPtr pd)
833 Eina.Log.Debug("function efl_text_font_slant_get was called");
834 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
837 Efl.TextFontSlant _ret_var = default(Efl.TextFontSlant);
840 _ret_var = ((ITextFont)ws.Target).GetFontSlant();
844 Eina.Log.Warning($"Callback error: {e.ToString()}");
845 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
853 return efl_text_font_slant_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
857 private static efl_text_font_slant_get_delegate efl_text_font_slant_get_static_delegate;
860 private delegate void efl_text_font_slant_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style);
863 public delegate void efl_text_font_slant_set_api_delegate(System.IntPtr obj, Efl.TextFontSlant style);
865 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");
867 private static void font_slant_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style)
869 Eina.Log.Debug("function efl_text_font_slant_set was called");
870 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
876 ((ITextFont)ws.Target).SetFontSlant(style);
880 Eina.Log.Warning($"Callback error: {e.ToString()}");
881 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
888 efl_text_font_slant_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style);
892 private static efl_text_font_slant_set_delegate efl_text_font_slant_set_static_delegate;
895 private delegate Efl.TextFontWidth efl_text_font_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
898 public delegate Efl.TextFontWidth efl_text_font_width_get_api_delegate(System.IntPtr obj);
900 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");
902 private static Efl.TextFontWidth font_width_get(System.IntPtr obj, System.IntPtr pd)
904 Eina.Log.Debug("function efl_text_font_width_get was called");
905 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
908 Efl.TextFontWidth _ret_var = default(Efl.TextFontWidth);
911 _ret_var = ((ITextFont)ws.Target).GetFontWidth();
915 Eina.Log.Warning($"Callback error: {e.ToString()}");
916 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
924 return efl_text_font_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
928 private static efl_text_font_width_get_delegate efl_text_font_width_get_static_delegate;
931 private delegate void efl_text_font_width_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width);
934 public delegate void efl_text_font_width_set_api_delegate(System.IntPtr obj, Efl.TextFontWidth width);
936 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");
938 private static void font_width_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width)
940 Eina.Log.Debug("function efl_text_font_width_set was called");
941 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
947 ((ITextFont)ws.Target).SetFontWidth(width);
951 Eina.Log.Warning($"Callback error: {e.ToString()}");
952 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
959 efl_text_font_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), width);
963 private static efl_text_font_width_set_delegate efl_text_font_width_set_static_delegate;
965 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
966 private delegate System.String efl_text_font_lang_get_delegate(System.IntPtr obj, System.IntPtr pd);
968 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
969 public delegate System.String efl_text_font_lang_get_api_delegate(System.IntPtr obj);
971 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");
973 private static System.String font_lang_get(System.IntPtr obj, System.IntPtr pd)
975 Eina.Log.Debug("function efl_text_font_lang_get was called");
976 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
979 System.String _ret_var = default(System.String);
982 _ret_var = ((ITextFont)ws.Target).GetFontLang();
986 Eina.Log.Warning($"Callback error: {e.ToString()}");
987 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
995 return efl_text_font_lang_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
999 private static efl_text_font_lang_get_delegate efl_text_font_lang_get_static_delegate;
1002 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);
1005 public delegate void efl_text_font_lang_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String lang);
1007 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");
1009 private static void font_lang_set(System.IntPtr obj, System.IntPtr pd, System.String lang)
1011 Eina.Log.Debug("function efl_text_font_lang_set was called");
1012 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1018 ((ITextFont)ws.Target).SetFontLang(lang);
1022 Eina.Log.Warning($"Callback error: {e.ToString()}");
1023 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1030 efl_text_font_lang_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lang);
1034 private static efl_text_font_lang_set_delegate efl_text_font_lang_set_static_delegate;
1037 private delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd);
1040 public delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_api_delegate(System.IntPtr obj);
1042 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");
1044 private static Efl.TextFontBitmapScalable font_bitmap_scalable_get(System.IntPtr obj, System.IntPtr pd)
1046 Eina.Log.Debug("function efl_text_font_bitmap_scalable_get was called");
1047 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1050 Efl.TextFontBitmapScalable _ret_var = default(Efl.TextFontBitmapScalable);
1053 _ret_var = ((ITextFont)ws.Target).GetFontBitmapScalable();
1057 Eina.Log.Warning($"Callback error: {e.ToString()}");
1058 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1066 return efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1070 private static efl_text_font_bitmap_scalable_get_delegate efl_text_font_bitmap_scalable_get_static_delegate;
1073 private delegate void efl_text_font_bitmap_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable);
1076 public delegate void efl_text_font_bitmap_scalable_set_api_delegate(System.IntPtr obj, Efl.TextFontBitmapScalable scalable);
1078 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");
1080 private static void font_bitmap_scalable_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable)
1082 Eina.Log.Debug("function efl_text_font_bitmap_scalable_set was called");
1083 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1089 ((ITextFont)ws.Target).SetFontBitmapScalable(scalable);
1093 Eina.Log.Warning($"Callback error: {e.ToString()}");
1094 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1101 efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scalable);
1105 private static efl_text_font_bitmap_scalable_set_delegate efl_text_font_bitmap_scalable_set_static_delegate;
1107 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1115 /// <summary>Type of font weight</summary>
1116 [Efl.Eo.BindingEntity]
1117 public enum TextFontWeight
1119 /// <summary>Normal font weight</summary>
1121 /// <summary>Thin font weight</summary>
1123 /// <summary>Ultralight font weight</summary>
1125 /// <summary>Extralight font weight</summary>
1127 /// <summary>Light font weight</summary>
1129 /// <summary>Book font weight</summary>
1131 /// <summary>Medium font weight</summary>
1133 /// <summary>Semibold font weight</summary>
1135 /// <summary>Bold font weight</summary>
1137 /// <summary>Ultrabold font weight</summary>
1139 /// <summary>Extrabold font weight</summary>
1141 /// <summary>Black font weight</summary>
1143 /// <summary>Extrablack font weight</summary>
1151 /// <summary>Type of font width</summary>
1152 [Efl.Eo.BindingEntity]
1153 public enum TextFontWidth
1155 /// <summary>Normal font width</summary>
1157 /// <summary>Ultracondensed font width</summary>
1159 /// <summary>Extracondensed font width</summary>
1161 /// <summary>Condensed font width</summary>
1163 /// <summary>Semicondensed font width</summary>
1165 /// <summary>Semiexpanded font width</summary>
1167 /// <summary>Expanded font width</summary>
1169 /// <summary>Extraexpanded font width</summary>
1171 /// <summary>Ultraexpanded font width</summary>
1179 /// <summary>Type of font slant</summary>
1180 [Efl.Eo.BindingEntity]
1181 public enum TextFontSlant
1183 /// <summary>Normal font slant</summary>
1185 /// <summary>Oblique font slant</summary>
1187 /// <summary>Italic font slant</summary>
1195 /// <summary>Scalable of bitmap fonts</summary>
1196 [Efl.Eo.BindingEntity]
1197 public enum TextFontBitmapScalable
1199 /// <summary>Disable scalable feature for bitmap fonts.</summary>
1201 /// <summary>Enable scalable feature for color bitmap fonts.</summary>