// SFONT - SDL Font Library by Karl Bartel <karlb@gmx.net>

#include "SDL.h"

// Initializes the font
// Font: this is the surface which contains the font.
void InitFont(SDL_Surface *Font);

// Blits a string to a surface
// Destination: the suface you want to blit to
// text: a string containing the text you want to blit.
void PutString( SDL_Surface *Destination, int x, int y, char *text);

// Blits a string to with centered x position
void XCenteredString(SDL_Surface *Surface, int y, char *text);

// Returns the width of "text" in pixels
int TextWidth( char *text);