Inheritance:
Public Methods
-
Font()
-
virtual bool open(const std::string& font)
-
virtual bool create(int pointSize, const unsigned int res = 72 )
-
virtual bool create()
-
virtual void output(const char* text)
-
virtual bool isOk(void) const
-
virtual bool isCreated(void) const
-
virtual float getWidth(const char* text) const
-
virtual int getHeight() const
-
virtual int getDescender() const
-
virtual int getAscender() const
-
int getPointSize(void) const
-
const std::string& getFontName()
-
FTFont* getFont(void)
Protected Fields
-
bool _init
-
bool _created
-
FTFont* _font
-
std::string _fontName
-
int _pointSize
-
int _res
Protected Methods
-
virtual ~Font()
-
virtual void clear()
-
virtual FTFont* createFontObj(void) = 0
-
bool init(const std::string& font)
Documentation
- Font()
- virtual bool open(const std::string& font)
- virtual bool create(int pointSize, const unsigned int res = 72 )
- virtual bool create()
- virtual void output(const char* text)
- virtual bool isOk(void) const
- virtual bool isCreated(void) const
- virtual float getWidth(const char* text) const
- virtual int getHeight() const
- virtual int getDescender() const
- virtual int getAscender() const
- int getPointSize(void) const
- const std::string& getFontName()
- FTFont* getFont(void)
- virtual ~Font()
- virtual void clear()
- virtual FTFont* createFontObj(void) = 0
- bool init(const std::string& font)
- bool _init
- bool _created
- FTFont* _font
- std::string _fontName
- int _pointSize
- int _res
- Direct child classes:
- VectorFont
RasterFont
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.