52 virtual std::string
family()
const = 0;
64 virtual int weight()
const = 0;
71 virtual bool italic ()
const = 0;
74 virtual void setItalic(
bool enable ) = 0;
virtual bool italic() const =0
Returns true if the font is italic, othwise returns false.
virtual void setFamily(const std::string &family)=0
Set the family associated with the font.
A abstract base class for font handling.
virtual void setItalic(bool enable)=0
Set the font to be italic.
virtual std::string family() const =0
Get the family associated with the font.
virtual ~FontBase()
The destructor.
FontBase()
The default constructor.
virtual void setWeight(int weight)=0
Set the weight of the font.
virtual void setPointSize(int pointsize)=0
Set the pointsize of the font.
virtual int pointSize() const =0
Get the pointsize of the font.
virtual int weight() const =0
Get the weight of the font.