class: ewol::resource::TexturedFont
Description:
Constructor and Destructor:
# TexturedFont ();
+ virtual ~TexturedFont ();
Synopsis:
+ std::vector<GlyphProperty> m_listElement;
# void init (const std::string & _fontName);
+ DECLARE_RESOURCE_NAMED_FACTORY (TexturedFont );
+ int32_t getHeight (const enum ewol::font::mode _displayMode);
+ int32_t getFontSize ();
+ int32_t getIndex (char32_t _charcode,
const enum ewol::font::mode _displayMode);
+ ewol::GlyphProperty* getGlyphPointer (const char32_t & _charcode,
const enum ewol::font::mode _displayMode);
+ enum ewol::font::mode getWrappingMode (const enum ewol::font::mode _source);
Object Hierarchy:
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Resource
+--> +ewol::resource::Texture
+--> ewol::resource::TexturedFont
Detail:
m_listElement
+ std::vector<GlyphProperty> m_listElement;
TexturedFont
# TexturedFont ();
init
# void init (const std::string & _fontName);
DECLARE_RESOURCE_NAMED_FACTORY
+ DECLARE_RESOURCE_NAMED_FACTORY (TexturedFont );
~TexturedFont
+ virtual ~TexturedFont ();
getHeight
+ int32_t getHeight (const enum ewol::font::mode _displayMode);
get the display height of this font
Parameter [input]: _displayMode Mode to display the currrent font
Return: Dimention of the font need between 2 lines
getFontSize
+ int32_t getFontSize ();
get the font height (user friendly)
Return: Dimention of the font the user requested
getIndex
+ int32_t getIndex (char32_t _charcode,
const enum ewol::font::mode _displayMode);
get the ID of a unicode charcode
Parameter [input]: _charcode The unicodeValue
Parameter [input]: _displayMode Mode to display the currrent font
Return: The ID in the table (if it does not exist : return 0)
getGlyphPointer
+ ewol::GlyphProperty* getGlyphPointer (const char32_t & _charcode,
const enum ewol::font::mode _displayMode);
get the pointer on the coresponding glyph
Parameter [input]: _charcode The unicodeValue
Parameter [input]: _displayMode Mode to display the currrent font
Return: The pointer on the glyph == > never nullptr
getWrappingMode
+ enum ewol::font::mode getWrappingMode (const enum ewol::font::mode _source);
The wrapping mode is used to prevent the non existance of a specific mode.
For exemple when a blod mode does not exist, this resend a regular mode.
Parameter [input]: _source The requested mode.
Return: the best mode we have in stock.
+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Resource
+--> +ewol::resource::Texture
+--> ewol::resource::TexturedFont
Detail:
m_listElement
+ std::vector<GlyphProperty> m_listElement;
TexturedFont
# TexturedFont ();
init
# void init (const std::string & _fontName);
DECLARE_RESOURCE_NAMED_FACTORY
+ DECLARE_RESOURCE_NAMED_FACTORY (TexturedFont );
~TexturedFont
+ virtual ~TexturedFont ();
getHeight
+ int32_t getHeight (const enum ewol::font::mode _displayMode);get the display height of this font
Parameter [input]: | _displayMode | Mode to display the currrent font |
Return: | Dimention of the font need between 2 lines |
getFontSize
+ int32_t getFontSize ();get the font height (user friendly)
Return: | Dimention of the font the user requested |
getIndex
+ int32_t getIndex (char32_t _charcode,get the ID of a unicode charcode
const enum ewol::font::mode _displayMode);
Parameter [input]: | _charcode | The unicodeValue | Parameter [input]: | _displayMode | Mode to display the currrent font |
Return: | The ID in the table (if it does not exist : return 0) |
getGlyphPointer
+ ewol::GlyphProperty* getGlyphPointer (const char32_t & _charcode,get the pointer on the coresponding glyph
const enum ewol::font::mode _displayMode);
Parameter [input]: | _charcode | The unicodeValue | Parameter [input]: | _displayMode | Mode to display the currrent font |
Return: | The pointer on the glyph == > never nullptr |
getWrappingMode
+ enum ewol::font::mode getWrappingMode (const enum ewol::font::mode _source);The wrapping mode is used to prevent the non existance of a specific mode. For exemple when a blod mode does not exist, this resend a regular mode.
Parameter [input]: | _source | The requested mode. |
Return: | the best mode we have in stock. |