Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeFont::Attributes Class Reference

Attributes describes a font's attributes. More...

#include <cascade/graphics/CascadeFont.h>

List of all members.

Public Member Functions

 Attributes ()
 Attributes (const char *pFaceName, const WeightFlags &weightFlags, u16 nPointSize)
 Attributes (const Attributes &that)
Attributesoperator= (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


Detailed Description

Attributes describes a font's attributes.

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().

See also:
CascadeFont::SetAttributes(), CascadeFont::GetAttributes()


Constructor & Destructor Documentation

CascadeFont::Attributes::Attributes  ) 
 

default constructor

This constructor constructs the Attributes with empty values.

CascadeFont::Attributes::Attributes const char *  pFaceName,
const WeightFlags weightFlags,
u16  nPointSize
 

parameterized constructor

This parameterized constructor constructs an Attributes structure from the parameters passed in.

Parameters:
pFaceName the face name of the font
weightFlags the weight flags of the font
nPointSize the point size of the font

CascadeFont::Attributes::Attributes const Attributes that  ) 
 

copy constructor

This copy constructor copies one attributes structure to another


Member Function Documentation

bool CascadeFont::Attributes::operator!= const Attributes that  )  const [inline]
 

comparison operator

This comparison operator tests for inequality.

Attributes& CascadeFont::Attributes::operator= const Attributes that  ) 
 

assignment operator

This assignment operator assigns one attributes structure to another.

bool CascadeFont::Attributes::operator== const Attributes that  )  const
 

comparison operator

This comparison operator tests for equality.


Member Data Documentation

char CascadeFont::Attributes::m_faceName[kMaxFaceName]
 

the face name of the font

m_faceName contains the face name of the font

u16 CascadeFont::Attributes::m_nPointSize
 

the point size of the font

m_nPointSize contains the point size of the font

WeightFlags CascadeFont::Attributes::m_weightFlags
 

the weight flags of the font

m_weightFlags contains the weight flags of the font

See also:
CascadeFont::WeightFlags


The documentation for this class was generated from the following file:
Generated on Sun Jul 24 14:27:19 2005 for Cascade Library by  doxygen 1.4.1