Font Class Reference
[Framework Module]

#include <font.h>

Inheritance diagram for Font:

Resource Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root > OpenGLFont

List of all members.

Public Member Functions

 Font (const char *id)
virtual ~Font ()
void SetCharSize (const FontFile::CharSize &char_size)
void SetShadow (ushort_t x, ushort_t y, byte_t alpha=255)
GetCharsize () const
ushort_t GetHeight () const
ulong_t GetGlyphsCount () const
virtual void Print (const string &text) const

Protected Attributes

FontFile::CharSize char_size
ushort_t shadow_x
ushort_t shadow_y
float shadow_alpha
ushort_t height
ulong_t glyphs_count

Constructor & Destructor Documentation

Font::Font ( const char *  id  ) 


Font::~Font (  )  [virtual]


Member Function Documentation

void Font::SetCharSize ( const FontFile::CharSize char_size  )  [inline]

void Font::SetShadow ( ushort_t  x,
ushort_t  y,
byte_t  alpha = 255 
) [inline]

const FontFile::CharSize & Font::GetCharsize (  )  const [inline]

ushort_t Font::GetHeight (  )  const [inline]

ulong_t Font::GetGlyphsCount (  )  const [inline]

void Font::Print ( const string &  text  )  const [virtual]

Prints given text.

Reimplemented in OpenGLFont.

Member Data Documentation

FontFile::CharSize Font::char_size [protected]

ushort_t Font::shadow_x [protected]

ushort_t Font::shadow_y [protected]

float Font::shadow_alpha [protected]

ushort_t Font::height [protected]

ulong_t Font::glyphs_count [protected]

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:31 2007 for Dark Oberon by  doxygen 1.5.3