Class: ewol::FontFreeType


Synopsis:

+  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);
+ static ewol::FontBase * keep (const std::string & _filename);
+ static void release (ewol::FontBase * & _object);
# FontFreeType (const std::string & _fontName);
# ~FontFreeType (void);
- void display (void);

Object Hierarchy:

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

Detail:

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);



ewol::keep ()

static ewol::FontBase * keep(const std::string & _filename);

keep the resource pointer.
Notes: Never free this pointer by your own...


ewol::release ()

static void release(ewol::FontBase * & _object);

release the keeped resources


ewol::FontFreeType ()

FontFreeType(const std::string & _fontName);



ewol::~FontFreeType ()

~FontFreeType(void);



display ()

void display(void);