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

Font Class Reference

Font engine. More...

#include <font.h>

Collaboration diagram for Font:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Font (SDL_Surface *surface)
int getHeight () const
int getTextWidth (std::string text) const
void write (SDL_Surface *surface, std::string text, int x, int y) const
void writeCenter (SDL_Surface *surface, std::string text, int y) const
void writeCenter (SDL_Surface *surface, std::string text, int x, int y) const

Detailed Description

Font engine.

A simple font engine, called SFont, that uses special .pngs as fonts.


The documentation for this class was generated from the following file:
Generated on Sun Feb 5 13:02:37 2006 for Lost Penguins by doxygen 1.3.8