ewol::GlyphProperty Class Reference

#include <GlyphProperty.hpp>

Public Member Functions

float kerningGet (const char32_t _charcode)
 
void kerningAdd (const char32_t _charcode, float _value)
 
void kerningClear ()
 
bool exist () const
 
void setNotExist ()
 

Public Attributes

char32_t m_UVal
 
bool m_exist
 
int32_t m_glyphIndex
 
ivec2 m_sizeTexture
 
ivec2 m_bearing
 
ivec2 m_advance
 
vec2 m_texturePosStart
 
vec2 m_texturePosSize
 

Detailed Description

Member Function Documentation

§ exist()

bool ewol::GlyphProperty::exist ( ) const
inline

get the status of the char, if it exist or not in the FONT

Returns
true if the char is availlable, false otherwise

§ setNotExist()

void ewol::GlyphProperty::setNotExist ( )
inline

set the element doen not exist !!!

Member Data Documentation

§ m_advance

ivec2 ewol::GlyphProperty::m_advance

space use in the display for this specific char

§ m_bearing

ivec2 ewol::GlyphProperty::m_bearing

offset to display the data (can be negatif id the texture sise is bigger than the theoric places in the string)

§ m_glyphIndex

int32_t ewol::GlyphProperty::m_glyphIndex

Glyph index in the system.

§ m_sizeTexture

ivec2 ewol::GlyphProperty::m_sizeTexture

size of the element to display

§ m_texturePosSize

vec2 ewol::GlyphProperty::m_texturePosSize

Texture normalized position (SIZE)

§ m_texturePosStart

vec2 ewol::GlyphProperty::m_texturePosStart

Texture normalized position (START)

§ m_UVal

char32_t ewol::GlyphProperty::m_UVal

Unicode value.


The documentation for this class was generated from the following file: