#include <cascade/graphics/CascadeFont.h>
Public Member Functions | |
Attributes () | |
Attributes (const char *pFaceName, const WeightFlags &weightFlags, u16 nPointSize) | |
Attributes (const Attributes &that) | |
Attributes & | operator= (const Attributes &that) |
bool | operator== (const Attributes &that) const |
bool | operator!= (const Attributes &that) const |
Public Attributes | |
char | m_faceName [kMaxFaceName] |
WeightFlags | m_weightFlags |
u16 | m_nPointSize |
CascadeFont::Attributes describes a font's attributes and is used for specifying fonts with CascadeFont::SetAttributes() and retrieving attribute information from fonts with CascadeFont::GetAttributes().
|
default constructor This constructor constructs the Attributes with empty values. |
|
parameterized constructor This parameterized constructor constructs an Attributes structure from the parameters passed in.
|
|
copy constructor This copy constructor copies one attributes structure to another |
|
comparison operator This comparison operator tests for inequality. |
|
assignment operator This assignment operator assigns one attributes structure to another. |
|
comparison operator This comparison operator tests for equality. |
|
the face name of the font m_faceName contains the face name of the font |
|
the point size of the font m_nPointSize contains the point size of the font |
|
the weight flags of the font m_weightFlags contains the weight flags of the font
|