Font Class Reference

#include <Font.h>

List of all members.


Public Member Functions

 Font ()
 Public constructor.
virtual ~Font ()
 Virtual destructor.
void Init (Surface *pFont)
 Initializes the font.
void PutText (Surface *pSurface, int x, int y, const std::string &rText) const
 Blits a string to a surface.
int TextWidth (const std::string &rText) const
 Returns the width of "text" in pixels.

Private Attributes

Surfacem_pFont
 (*** add brief description here ***)
int m_char_pos [190]
 (*** add brief description here ***)

Detailed Description

(*** add brief description here ***)
Full Description
(*** add full description here ***)

Constructor & Destructor Documentation

Font (  )  [inline]

Public constructor.

virtual ~Font (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

void Init ( Surface pFont  ) 

Initializes the font.

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

void PutText ( Surface pSurface,
int  x,
int  y,
const std::string &  rText 
) const

Blits a string to a surface.

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

int TextWidth ( const std::string &  rText  )  const

Returns the width of "text" in pixels.

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)


Member Data Documentation

Surface* m_pFont [private]

(*** add brief description here ***)

int m_char_pos[190] [private]

(*** add brief description here ***)


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