#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.ComponentModel;
namespace Efl {
/// Font settings of the text
/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development.
[Efl.ITextFontConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface ITextFont :
Efl.Eo.IWrapper, IDisposable
{
/// Retrieve the font family and size in use on a given text object.
/// 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.
///
/// See also .
/// The font family name or filename.
/// The font size, in points.
void GetFont(out System.String font, out Efl.Font.Size size);
/// Set the font family, filename and size for a given text object.
/// 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.
///
/// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
///
/// See also , .
/// The font family name or filename.
/// The font size, in points.
void SetFont(System.String font, Efl.Font.Size size);
/// Get the font file's path which is being used on a given text object.
/// See for more details.
/// The font file's path.
System.String GetFontSource();
/// Set the font (source) file to be used on a given text object.
/// 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.
///
/// See also .
/// The font file's path.
void SetFontSource(System.String font_source);
/// Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.
/// Font name fallbacks
System.String GetFontFallbacks();
/// Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.
/// Font name fallbacks
void SetFontFallbacks(System.String font_fallbacks);
/// Type of weight of the displayed font
/// Default is .
/// Font weight
Efl.TextFontWeight GetFontWeight();
/// Type of weight of the displayed font
/// Default is .
/// Font weight
void SetFontWeight(Efl.TextFontWeight font_weight);
/// Type of slant of the displayed font
/// Default is .
/// Font slant
Efl.TextFontSlant GetFontSlant();
/// Type of slant of the displayed font
/// Default is .
/// Font slant
void SetFontSlant(Efl.TextFontSlant style);
/// Type of width of the displayed font
/// Default is .
/// Font width
Efl.TextFontWidth GetFontWidth();
/// Type of width of the displayed font
/// Default is .
/// Font width
void SetFontWidth(Efl.TextFontWidth width);
/// Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language lang can be either a code e.g "en_US", "auto" to use the system locale, or "none".
/// Language
System.String GetFontLang();
/// Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language lang can be either a code e.g "en_US", "auto" to use the system locale, or "none".
/// Language
void SetFontLang(System.String lang);
/// 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)
/// Default is .
/// Scalable
Efl.TextFontBitmapScalable GetFontBitmapScalable();
/// 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)
/// Default is .
/// Scalable
void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable);
/// Retrieve the font family and size in use on a given text object.
/// 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.
///
/// See also .
/// The font family name or filename.
(System.String, Efl.Font.Size) Font {
get;
set;
}
/// Get the font file's path which is being used on a given text object.
/// See for more details.
/// The font file's path.
System.String FontSource {
get;
set;
}
/// Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.
/// Font name fallbacks
System.String FontFallbacks {
get;
set;
}
/// Type of weight of the displayed font
/// Default is .
/// Font weight
Efl.TextFontWeight FontWeight {
get;
set;
}
/// Type of slant of the displayed font
/// Default is .
/// Font slant
Efl.TextFontSlant FontSlant {
get;
set;
}
/// Type of width of the displayed font
/// Default is .
/// Font width
Efl.TextFontWidth FontWidth {
get;
set;
}
/// Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language lang can be either a code e.g "en_US", "auto" to use the system locale, or "none".
/// Language
System.String FontLang {
get;
set;
}
/// 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)
/// Default is .
/// Scalable
Efl.TextFontBitmapScalable FontBitmapScalable {
get;
set;
}
}
/// Font settings of the text
/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development.
sealed public class ITextFontConcrete :
Efl.Eo.EoWrapper
, ITextFont
{
/// Pointer to the native class description.
public override System.IntPtr NativeClass
{
get
{
if (((object)this).GetType() == typeof(ITextFontConcrete))
{
return GetEflClassStatic();
}
else
{
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
}
}
}
/// Subclasses should override this constructor if they are expected to be instantiated from native code.
/// Do not call this constructor directly.
/// Tag struct storing the native handle of the object being constructed.
private ITextFontConcrete(ConstructingHandle ch) : base(ch)
{
}
[System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
efl_text_font_interface_get();
/// Initializes a new instance of the class.
/// Internal usage: This is used when interacting with C code and should not be used directly.
/// The native pointer to be wrapped.
private ITextFontConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// Retrieve the font family and size in use on a given text object.
/// 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.
///
/// See also .
/// The font family name or filename.
/// The font size, in points.
public void GetFont(out System.String font, out Efl.Font.Size size) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_get_ptr.Value.Delegate(this.NativeHandle,out font, out size);
Eina.Error.RaiseIfUnhandledException();
}
/// Set the font family, filename and size for a given text object.
/// 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.
///
/// To skip changing font family pass null as font family. To skip changing font size pass 0 as font size.
///
/// See also , .
/// The font family name or filename.
/// The font size, in points.
public void SetFont(System.String font, Efl.Font.Size size) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_set_ptr.Value.Delegate(this.NativeHandle,font, size);
Eina.Error.RaiseIfUnhandledException();
}
/// Get the font file's path which is being used on a given text object.
/// See for more details.
/// The font file's path.
public System.String GetFontSource() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Set the font (source) file to be used on a given text object.
/// 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.
///
/// See also .
/// The font file's path.
public void SetFontSource(System.String font_source) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_source_set_ptr.Value.Delegate(this.NativeHandle,font_source);
Eina.Error.RaiseIfUnhandledException();
}
/// Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.
/// Font name fallbacks
public System.String GetFontFallbacks() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.
/// Font name fallbacks
public void SetFontFallbacks(System.String font_fallbacks) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_fallbacks_set_ptr.Value.Delegate(this.NativeHandle,font_fallbacks);
Eina.Error.RaiseIfUnhandledException();
}
/// Type of weight of the displayed font
/// Default is .
/// Font weight
public Efl.TextFontWeight GetFontWeight() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Type of weight of the displayed font
/// Default is .
/// Font weight
public void SetFontWeight(Efl.TextFontWeight font_weight) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_weight_set_ptr.Value.Delegate(this.NativeHandle,font_weight);
Eina.Error.RaiseIfUnhandledException();
}
/// Type of slant of the displayed font
/// Default is .
/// Font slant
public Efl.TextFontSlant GetFontSlant() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Type of slant of the displayed font
/// Default is .
/// Font slant
public void SetFontSlant(Efl.TextFontSlant style) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_slant_set_ptr.Value.Delegate(this.NativeHandle,style);
Eina.Error.RaiseIfUnhandledException();
}
/// Type of width of the displayed font
/// Default is .
/// Font width
public Efl.TextFontWidth GetFontWidth() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Type of width of the displayed font
/// Default is .
/// Font width
public void SetFontWidth(Efl.TextFontWidth width) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_width_set_ptr.Value.Delegate(this.NativeHandle,width);
Eina.Error.RaiseIfUnhandledException();
}
/// Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language lang can be either a code e.g "en_US", "auto" to use the system locale, or "none".
/// Language
public System.String GetFontLang() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language lang can be either a code e.g "en_US", "auto" to use the system locale, or "none".
/// Language
public void SetFontLang(System.String lang) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_lang_set_ptr.Value.Delegate(this.NativeHandle,lang);
Eina.Error.RaiseIfUnhandledException();
}
/// 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)
/// Default is .
/// Scalable
public Efl.TextFontBitmapScalable GetFontBitmapScalable() {
var _ret_var = Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(this.NativeHandle);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// 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)
/// Default is .
/// Scalable
public void SetFontBitmapScalable(Efl.TextFontBitmapScalable scalable) {
Efl.ITextFontConcrete.NativeMethods.efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(this.NativeHandle,scalable);
Eina.Error.RaiseIfUnhandledException();
}
/// Retrieve the font family and size in use on a given text object.
/// 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.
///
/// See also .
/// The font family name or filename.
public (System.String, Efl.Font.Size) Font {
get {
System.String _out_font = default(System.String);
Efl.Font.Size _out_size = default(Efl.Font.Size);
GetFont(out _out_font,out _out_size);
return (_out_font,_out_size);
}
set { SetFont( value.Item1, value.Item2); }
}
/// Get the font file's path which is being used on a given text object.
/// See for more details.
/// The font file's path.
public System.String FontSource {
get { return GetFontSource(); }
set { SetFontSource(value); }
}
/// Comma-separated list of font fallbacks
/// Will be used in case the primary font isn't available.
/// Font name fallbacks
public System.String FontFallbacks {
get { return GetFontFallbacks(); }
set { SetFontFallbacks(value); }
}
/// Type of weight of the displayed font
/// Default is .
/// Font weight
public Efl.TextFontWeight FontWeight {
get { return GetFontWeight(); }
set { SetFontWeight(value); }
}
/// Type of slant of the displayed font
/// Default is .
/// Font slant
public Efl.TextFontSlant FontSlant {
get { return GetFontSlant(); }
set { SetFontSlant(value); }
}
/// Type of width of the displayed font
/// Default is .
/// Font width
public Efl.TextFontWidth FontWidth {
get { return GetFontWidth(); }
set { SetFontWidth(value); }
}
/// Specific language of the displayed font
/// This is used to lookup fonts suitable to the specified language, as well as helping the font shaper backend. The language lang can be either a code e.g "en_US", "auto" to use the system locale, or "none".
/// Language
public System.String FontLang {
get { return GetFontLang(); }
set { SetFontLang(value); }
}
/// 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)
/// Default is .
/// Scalable
public Efl.TextFontBitmapScalable FontBitmapScalable {
get { return GetFontBitmapScalable(); }
set { SetFontBitmapScalable(value); }
}
private static IntPtr GetEflClassStatic()
{
return Efl.ITextFontConcrete.efl_text_font_interface_get();
}
/// Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.
public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
/// Gets the list of Eo operations to override.
/// The list of Eo operations to be overload.
public override System.Collections.Generic.List GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List();
var methods = Efl.Eo.Globals.GetUserMethods(type);
if (efl_text_font_get_static_delegate == null)
{
efl_text_font_get_static_delegate = new efl_text_font_get_delegate(font_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFont") != null)
{
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) });
}
if (efl_text_font_set_static_delegate == null)
{
efl_text_font_set_static_delegate = new efl_text_font_set_delegate(font_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFont") != null)
{
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) });
}
if (efl_text_font_source_get_static_delegate == null)
{
efl_text_font_source_get_static_delegate = new efl_text_font_source_get_delegate(font_source_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontSource") != null)
{
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) });
}
if (efl_text_font_source_set_static_delegate == null)
{
efl_text_font_source_set_static_delegate = new efl_text_font_source_set_delegate(font_source_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontSource") != null)
{
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) });
}
if (efl_text_font_fallbacks_get_static_delegate == null)
{
efl_text_font_fallbacks_get_static_delegate = new efl_text_font_fallbacks_get_delegate(font_fallbacks_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontFallbacks") != null)
{
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) });
}
if (efl_text_font_fallbacks_set_static_delegate == null)
{
efl_text_font_fallbacks_set_static_delegate = new efl_text_font_fallbacks_set_delegate(font_fallbacks_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontFallbacks") != null)
{
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) });
}
if (efl_text_font_weight_get_static_delegate == null)
{
efl_text_font_weight_get_static_delegate = new efl_text_font_weight_get_delegate(font_weight_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontWeight") != null)
{
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) });
}
if (efl_text_font_weight_set_static_delegate == null)
{
efl_text_font_weight_set_static_delegate = new efl_text_font_weight_set_delegate(font_weight_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontWeight") != null)
{
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) });
}
if (efl_text_font_slant_get_static_delegate == null)
{
efl_text_font_slant_get_static_delegate = new efl_text_font_slant_get_delegate(font_slant_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontSlant") != null)
{
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) });
}
if (efl_text_font_slant_set_static_delegate == null)
{
efl_text_font_slant_set_static_delegate = new efl_text_font_slant_set_delegate(font_slant_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontSlant") != null)
{
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) });
}
if (efl_text_font_width_get_static_delegate == null)
{
efl_text_font_width_get_static_delegate = new efl_text_font_width_get_delegate(font_width_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontWidth") != null)
{
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) });
}
if (efl_text_font_width_set_static_delegate == null)
{
efl_text_font_width_set_static_delegate = new efl_text_font_width_set_delegate(font_width_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontWidth") != null)
{
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) });
}
if (efl_text_font_lang_get_static_delegate == null)
{
efl_text_font_lang_get_static_delegate = new efl_text_font_lang_get_delegate(font_lang_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontLang") != null)
{
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) });
}
if (efl_text_font_lang_set_static_delegate == null)
{
efl_text_font_lang_set_static_delegate = new efl_text_font_lang_set_delegate(font_lang_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontLang") != null)
{
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) });
}
if (efl_text_font_bitmap_scalable_get_static_delegate == null)
{
efl_text_font_bitmap_scalable_get_static_delegate = new efl_text_font_bitmap_scalable_get_delegate(font_bitmap_scalable_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFontBitmapScalable") != null)
{
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) });
}
if (efl_text_font_bitmap_scalable_set_static_delegate == null)
{
efl_text_font_bitmap_scalable_set_static_delegate = new efl_text_font_bitmap_scalable_set_delegate(font_bitmap_scalable_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFontBitmapScalable") != null)
{
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) });
}
return descs;
}
/// Returns the Eo class for the native methods of this class.
/// The native class pointer.
public override IntPtr GetEflClass()
{
return Efl.ITextFontConcrete.efl_text_font_interface_get();
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
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);
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);
public static Efl.Eo.FunctionWrapper efl_text_font_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_get");
private static void font_get(System.IntPtr obj, System.IntPtr pd, out System.String font, out Efl.Font.Size size)
{
Eina.Log.Debug("function efl_text_font_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _out_font = default(System.String);
size = default(Efl.Font.Size);
try
{
((ITextFont)ws.Target).GetFont(out _out_font, out size);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
font = _out_font;
}
else
{
efl_text_font_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out font, out size);
}
}
private static efl_text_font_get_delegate efl_text_font_get_static_delegate;
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);
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);
public static Efl.Eo.FunctionWrapper efl_text_font_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_set");
private static void font_set(System.IntPtr obj, System.IntPtr pd, System.String font, Efl.Font.Size size)
{
Eina.Log.Debug("function efl_text_font_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFont(font, size);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font, size);
}
}
private static efl_text_font_set_delegate efl_text_font_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_text_font_source_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_text_font_source_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_source_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_source_get");
private static System.String font_source_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_source_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontSource();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_source_get_delegate efl_text_font_source_get_static_delegate;
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);
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);
public static Efl.Eo.FunctionWrapper efl_text_font_source_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_source_set");
private static void font_source_set(System.IntPtr obj, System.IntPtr pd, System.String font_source)
{
Eina.Log.Debug("function efl_text_font_source_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontSource(font_source);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_source);
}
}
private static efl_text_font_source_set_delegate efl_text_font_source_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_text_font_fallbacks_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_text_font_fallbacks_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_fallbacks_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_fallbacks_get");
private static System.String font_fallbacks_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_fallbacks_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontFallbacks();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_fallbacks_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_fallbacks_get_delegate efl_text_font_fallbacks_get_static_delegate;
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);
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);
public static Efl.Eo.FunctionWrapper efl_text_font_fallbacks_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_fallbacks_set");
private static void font_fallbacks_set(System.IntPtr obj, System.IntPtr pd, System.String font_fallbacks)
{
Eina.Log.Debug("function efl_text_font_fallbacks_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontFallbacks(font_fallbacks);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_fallbacks_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_fallbacks);
}
}
private static efl_text_font_fallbacks_set_delegate efl_text_font_fallbacks_set_static_delegate;
private delegate Efl.TextFontWeight efl_text_font_weight_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.TextFontWeight efl_text_font_weight_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_weight_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_weight_get");
private static Efl.TextFontWeight font_weight_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_weight_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.TextFontWeight _ret_var = default(Efl.TextFontWeight);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontWeight();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_weight_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_weight_get_delegate efl_text_font_weight_get_static_delegate;
private delegate void efl_text_font_weight_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight);
public delegate void efl_text_font_weight_set_api_delegate(System.IntPtr obj, Efl.TextFontWeight font_weight);
public static Efl.Eo.FunctionWrapper efl_text_font_weight_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_weight_set");
private static void font_weight_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWeight font_weight)
{
Eina.Log.Debug("function efl_text_font_weight_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontWeight(font_weight);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_weight_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), font_weight);
}
}
private static efl_text_font_weight_set_delegate efl_text_font_weight_set_static_delegate;
private delegate Efl.TextFontSlant efl_text_font_slant_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.TextFontSlant efl_text_font_slant_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_slant_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_slant_get");
private static Efl.TextFontSlant font_slant_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_slant_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.TextFontSlant _ret_var = default(Efl.TextFontSlant);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontSlant();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_slant_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_slant_get_delegate efl_text_font_slant_get_static_delegate;
private delegate void efl_text_font_slant_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style);
public delegate void efl_text_font_slant_set_api_delegate(System.IntPtr obj, Efl.TextFontSlant style);
public static Efl.Eo.FunctionWrapper efl_text_font_slant_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_slant_set");
private static void font_slant_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontSlant style)
{
Eina.Log.Debug("function efl_text_font_slant_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontSlant(style);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_slant_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), style);
}
}
private static efl_text_font_slant_set_delegate efl_text_font_slant_set_static_delegate;
private delegate Efl.TextFontWidth efl_text_font_width_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.TextFontWidth efl_text_font_width_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_width_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_width_get");
private static Efl.TextFontWidth font_width_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_width_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.TextFontWidth _ret_var = default(Efl.TextFontWidth);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontWidth();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_width_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_width_get_delegate efl_text_font_width_get_static_delegate;
private delegate void efl_text_font_width_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width);
public delegate void efl_text_font_width_set_api_delegate(System.IntPtr obj, Efl.TextFontWidth width);
public static Efl.Eo.FunctionWrapper efl_text_font_width_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_width_set");
private static void font_width_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontWidth width)
{
Eina.Log.Debug("function efl_text_font_width_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontWidth(width);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_width_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), width);
}
}
private static efl_text_font_width_set_delegate efl_text_font_width_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_text_font_lang_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_text_font_lang_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_lang_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_lang_get");
private static System.String font_lang_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_lang_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontLang();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_lang_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_lang_get_delegate efl_text_font_lang_get_static_delegate;
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);
public delegate void efl_text_font_lang_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String lang);
public static Efl.Eo.FunctionWrapper efl_text_font_lang_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_lang_set");
private static void font_lang_set(System.IntPtr obj, System.IntPtr pd, System.String lang)
{
Eina.Log.Debug("function efl_text_font_lang_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontLang(lang);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_lang_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), lang);
}
}
private static efl_text_font_lang_set_delegate efl_text_font_lang_set_static_delegate;
private delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Efl.TextFontBitmapScalable efl_text_font_bitmap_scalable_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_text_font_bitmap_scalable_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_bitmap_scalable_get");
private static Efl.TextFontBitmapScalable font_bitmap_scalable_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_text_font_bitmap_scalable_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Efl.TextFontBitmapScalable _ret_var = default(Efl.TextFontBitmapScalable);
try
{
_ret_var = ((ITextFont)ws.Target).GetFontBitmapScalable();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_text_font_bitmap_scalable_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_text_font_bitmap_scalable_get_delegate efl_text_font_bitmap_scalable_get_static_delegate;
private delegate void efl_text_font_bitmap_scalable_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable);
public delegate void efl_text_font_bitmap_scalable_set_api_delegate(System.IntPtr obj, Efl.TextFontBitmapScalable scalable);
public static Efl.Eo.FunctionWrapper efl_text_font_bitmap_scalable_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_font_bitmap_scalable_set");
private static void font_bitmap_scalable_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFontBitmapScalable scalable)
{
Eina.Log.Debug("function efl_text_font_bitmap_scalable_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((ITextFont)ws.Target).SetFontBitmapScalable(scalable);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_text_font_bitmap_scalable_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scalable);
}
}
private static efl_text_font_bitmap_scalable_set_delegate efl_text_font_bitmap_scalable_set_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
}
#if EFL_BETA
#pragma warning disable CS1591
public static class EflITextFontConcrete_ExtensionMethods {
public static Efl.BindableProperty FontSource(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_source", fac);
}
public static Efl.BindableProperty FontFallbacks(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_fallbacks", fac);
}
public static Efl.BindableProperty FontWeight(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_weight", fac);
}
public static Efl.BindableProperty FontSlant(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_slant", fac);
}
public static Efl.BindableProperty FontWidth(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_width", fac);
}
public static Efl.BindableProperty FontLang(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_lang", fac);
}
public static Efl.BindableProperty FontBitmapScalable(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.ITextFont {
return new Efl.BindableProperty("font_bitmap_scalable", fac);
}
}
#pragma warning restore CS1591
#endif
namespace Efl {
/// Type of font weight
[Efl.Eo.BindingEntity]
public enum TextFontWeight
{
/// Normal font weight
Normal = 0,
/// Thin font weight
Thin = 1,
/// Ultralight font weight
Ultralight = 2,
/// Extralight font weight
Extralight = 3,
/// Light font weight
Light = 4,
/// Book font weight
Book = 5,
/// Medium font weight
Medium = 6,
/// Semibold font weight
Semibold = 7,
/// Bold font weight
Bold = 8,
/// Ultrabold font weight
Ultrabold = 9,
/// Extrabold font weight
Extrabold = 10,
/// Black font weight
Black = 11,
/// Extrablack font weight
Extrablack = 12,
}
}
namespace Efl {
/// Type of font width
[Efl.Eo.BindingEntity]
public enum TextFontWidth
{
/// Normal font width
Normal = 0,
/// Ultracondensed font width
Ultracondensed = 1,
/// Extracondensed font width
Extracondensed = 2,
/// Condensed font width
Condensed = 3,
/// Semicondensed font width
Semicondensed = 4,
/// Semiexpanded font width
Semiexpanded = 5,
/// Expanded font width
Expanded = 6,
/// Extraexpanded font width
Extraexpanded = 7,
/// Ultraexpanded font width
Ultraexpanded = 8,
}
}
namespace Efl {
/// Type of font slant
[Efl.Eo.BindingEntity]
public enum TextFontSlant
{
/// Normal font slant
Normal = 0,
/// Oblique font slant
Oblique = 1,
/// Italic font slant
Italic = 2,
}
}
namespace Efl {
/// Scalable of bitmap fonts
[Efl.Eo.BindingEntity]
public enum TextFontBitmapScalable
{
/// Disable scalable feature for bitmap fonts.
None = 0,
/// Enable scalable feature for color bitmap fonts.
Color = 1,
}
}