Class: ewol::FontBase


Synopsis:

+                FontBase          (const std::string & _fontName);
+ ~FontBase (void);
+ const char * getType (void);
+ bool getGlyphProperty (int32_t _fontSize,
ewol::GlyphProperty & _property);
+ bool drawGlyph (egami::Image & _imageOut,
int32_t _fontSize,
ivec2 _glyphPosition,
ewol::GlyphProperty & _property,
int8_t _posInImage);
+ vec2 getSize (int32_t _fontSize,
const std::string & _unicodeString);
+ int32_t getHeight (int32_t _fontSize);
+ void generateKerning (int32_t _fontSize,
std::vector & _listGlyph);
+ void display (void);

Object Hierarchy:

ewol::EObject
    +--> ewol::Resource
        +--> ewol::FontBase
            +--> ewol::FontFreeType

Detail:

ewol::FontBase ()

FontBase(const std::string & _fontName);



ewol::~FontBase ()

~FontBase(void);



getType ()

const char * getType(void);



getGlyphProperty ()

bool getGlyphProperty(int32_t _fontSize,
                      ewol::GlyphProperty & _property);



drawGlyph ()

bool drawGlyph(egami::Image & _imageOut,
               int32_t _fontSize,
               ivec2 _glyphPosition,
               ewol::GlyphProperty & _property,
               int8_t _posInImage);



getSize ()

vec2 getSize(int32_t _fontSize,
             const std::string & _unicodeString);



getHeight ()

int32_t getHeight(int32_t _fontSize);



generateKerning ()

void generateKerning(int32_t _fontSize,
                     std::vector & _listGlyph);



display ()

void display(void);