class: ewol::resource::FontBase
Description:
Constructor and Destructor:
+ FontBase (const std::string & _fontName);
+ virtual ~FontBase (void );
Synopsis:
+ virtual bool getGlyphProperty (int32_t _fontSize,
ewol::GlyphProperty & _property) = 0;
+ virtual bool drawGlyph (egami::Image & _imageOut,
int32_t _fontSize,
ivec2 _glyphPosition,
ewol::GlyphProperty & _property,
int8_t _posInImage) = 0;
+ virtual vec2 getSize (int32_t _fontSize,
const std::string & _unicodeString) = 0;
+ virtual int32_t getHeight (int32_t _fontSize) = 0;
+ virtual void generateKerning (int32_t _fontSize,
std::vector<ewol::GlyphProperty> & _listGlyph);
+ virtual void display (void );
Object Hierarchy:
+ewol::Object
+--> +ewol::Resource
+--> ewol::resource::FontBase
+--> ewol::resource::FontFreeType
Detail:
FontBase
+ FontBase (const std::string & _fontName);
~FontBase
+ virtual ~FontBase (void );
getGlyphProperty
+ virtual bool getGlyphProperty (int32_t _fontSize,
ewol::GlyphProperty & _property) = 0;
drawGlyph
+ virtual bool drawGlyph (egami::Image & _imageOut,
int32_t _fontSize,
ivec2 _glyphPosition,
ewol::GlyphProperty & _property,
int8_t _posInImage) = 0;
getSize
+ virtual vec2 getSize (int32_t _fontSize,
const std::string & _unicodeString) = 0;
getHeight
+ virtual int32_t getHeight (int32_t _fontSize) = 0;
generateKerning
+ virtual void generateKerning (int32_t _fontSize,
std::vector<ewol::GlyphProperty> & _listGlyph);
display
+ virtual void display (void );