#include <FontBase.h>
Inheritance diagram for FontBase:
Definition at line 33 of file FontBase.h.
Public Member Functions | |
virtual std::string | family () const =0 |
Get the family associated with the font. | |
virtual bool | italic () const =0 |
Returns true if the font is italic, othwise returns false . | |
virtual int | pointSize () const =0 |
Get the pointsize of the font. | |
virtual void | setFamily (const std::string &family)=0 |
Set the family associated with the font. | |
virtual void | setItalic (bool enable)=0 |
Set the font to be italic. | |
virtual void | setPointSize (int pointsize)=0 |
Set the pointsize of the font. | |
virtual void | setWeight (int weight)=0 |
Set the weight of the font. | |
virtual int | weight () const =0 |
Get the weight of the font. | |
virtual | ~FontBase () |
The destructor. | |
Protected Member Functions | |
FontBase (const std::string &family, int pointsize=12, int weight=hippodraw::FontWeight::Normal, bool italic=false) | |
Constructor which is called to set the family. | |
FontBase () | |
The default constructor. |
|
The default constructor.
Definition at line 39 of file FontBase.h. |
|
Constructor which is called to set the family.
|
|
The destructor.
Definition at line 50 of file FontBase.h. |
|
Get the family associated with the font.
Implemented in QtFont. Referenced by OpenGLView::draw_Text(), and FontXML::setAttributes(). |
|
Returns
Implemented in QtFont. Referenced by FontXML::setAttributes(). |
|
Get the pointsize of the font.
Implemented in QtFont. Referenced by OpenGLView::draw_Text(), and FontXML::setAttributes(). |
|
Set the family associated with the font.
Implemented in QtFont. |
|
Set the font to be italic.
Implemented in QtFont. |
|
Set the pointsize of the font.
Implemented in QtFont. |
|
Set the weight of the font.
Implemented in QtFont. |
|
Get the weight of the font.
Implemented in QtFont. Referenced by FontXML::setAttributes(). |