My Project
Public Types | Public Member Functions | List of all members
ParaEngine::QFont Class Reference

Public Types

enum  StyleHint {
  Helvetica, SansSerif = Helvetica, Times, Serif = Times,
  Courier, TypeWriter = Courier, OldEnglish, Decorative = OldEnglish,
  System, AnyStyle, Cursive, Monospace,
  Fantasy
}
 
enum  Weight {
  Light = 25, Normal = 50, DemiBold = 63, Bold = 75,
  Black = 87
}
 
enum  Style { StyleNormal, StyleItalic, StyleOblique }
 

Public Member Functions

 QFont (const std::string &family, int pointSize=-1, int weight=-1, bool italic=false)
 
std::string family () const
 
void setFamily (const std::string &)
 
int pointSize () const
 
void setPointSize (int)
 
float pointSizeF () const
 
void setPointSizeF (float fSize)
 
int weight () const
 
void setWeight (int)
 
void setStyle (Style style)
 
Style style () const
 
bool bold () const
 
void setBold (bool)
 
bool italic () const
 
void setItalic (bool b)
 
bool operator== (const QFont &r) const
 
bool operator!= (const QFont &r) const
 
std::string key () const
 
std::string toString () const
 
bool fromString (const std::string &)
 
std::string defaultFamily () const
 
SpriteFontEntityGetSpriteFont ()
 

The documentation for this class was generated from the following files: