#include <Kerning.hpp>

Public Member Functions

 Kerning ()
 
 Kerning (const char32_t _charcode, const float _value)
 
 ~Kerning ()
 

Public Attributes

char32_t m_UVal
 
float m_value
 

Detailed Description

Kerning properties of one specific Glyph with an other.

Without Kerning : [pre]

   \          /      /\         
    \        /      /  \        
     \      /      /    \       
      \    /      /______\      
       \  /      /        \     
        \/      /          \    
   v          v a          a    

[/pre]

With Kerning : [pre]

   \          /  /\             
    \        /  /  \            
     \      /  /    \           
      \    /  /______\          
       \  /  /        \         
        \/  /          \        
   v        a v        a        

[/pre]

Note
The "Kerning" is the methode to provide a better display for some string like the "VA" has 2 letter that overlap themself. This name Kerning

Constructor & Destructor Documentation

§ Kerning() [1/2]

ewol::Kerning::Kerning ( )
inline

Simple constructor that allow to allocate the std::vector element.

§ Kerning() [2/2]

ewol::Kerning::Kerning ( const char32_t  _charcode,
const float  _value 
)
inline

Normal constructor.

Parameters
[in]_charcodeThe Unicode value of the coresponding character that might be before
[in]_valueThe Kerning value of the offset (nb pixel number)

§ ~Kerning()

ewol::Kerning::~Kerning ( )
inline

normal destructor

Member Data Documentation

§ m_UVal

char32_t ewol::Kerning::m_UVal

unicode value (the previous character that must be before)

§ m_value

float ewol::Kerning::m_value

kerning real offset


The documentation for this class was generated from the following file:
  • framework/atria-soft/ewol/ewol/resource/font/Kerning.hpp