class: ewol::GlyphProperty
Constructor and Destructor:
+ GlyphProperty (void );
Synopsis:
+ char32_t m_UVal;
+ int32_t m_glyphIndex;
+ ivec2 m_sizeTexture;
+ ivec2 m_bearing;
+ ivec2 m_advance;
+ vec2 m_texturePosStart;
+ vec2 m_texturePosSize;
+ float kerningGet (const char32_t _charcode);
+ void kerningAdd (const char32_t _charcode,
float _value);
+ void kerningClear (void );
+ bool exist (void ) const;
+ void setNotExist (void );
Detail:
m_UVal
+ char32_t m_UVal;
Unicode value
m_glyphIndex
+ int32_t m_glyphIndex;
Glyph index in the system
m_sizeTexture
+ ivec2 m_sizeTexture;
size of the element to display
m_bearing
+ ivec2 m_bearing;
offset to display the data (can be negatif id the texture sise is bigger than the theoric places in the string)
m_advance
+ ivec2 m_advance;
space use in the display for this specific char
m_texturePosStart
+ vec2 m_texturePosStart;
Texture normalised position (START)
m_texturePosSize
+ vec2 m_texturePosSize;
Texture normalised position (SIZE)
GlyphProperty
+ GlyphProperty (void );
kerningGet
+ float kerningGet (const char32_t _charcode);
kerningAdd
+ void kerningAdd (const char32_t _charcode,
float _value);
kerningClear
+ void kerningClear (void );
exist
+ bool exist (void ) const;
get the status of the char, if it exist or not in the FONT
Return: | | true if the char is availlable, false otherwise |
setNotExist
+ void setNotExist (void );
set the element doen not exist !!!