Public Member Functions | |
virtual const std::string | getFontName () const=0 |
virtual std::size_t | getSize () const=0 |
virtual util::Dimension | getStringBoundingBox (const std::string &text) const=0 |
virtual void | drawString (int x, int y, const std::string &text)=0 |
virtual | ~Font () |
bool | operator== (const Font &rhs) |
|
Destructor. |
|
Returns the font name. |
|
Returns the point size of this Font. |
|
Returns the bounding box for this Font, given a string.
|
|
Draws a string at the specified location. |
|
Compare two fonts. |