Font.h File Reference

Defines the Font resource class. More...

#include <string>
#include "Memory/ResourceManager.h"
#include "Graphics/Color.h"
#include "Math/MathCommon.h"
#include "Common/BaseTypes.h"

Classes

class  Font
 The Font resource class. More...

Functions

FontRef LoadFontResource (const char *file, int size)
 Loads an Font using the global FontManager.

Detailed Description

Defines the Font resource class.

Author:
Joe Forte
Date:
3/8/2008

Defines the Font resource class for loading and drawing True Type fonts.


Function Documentation

FontRef LoadFontResource ( const char *  file,
int  size 
)

Loads an Font using the global FontManager.

Parameters:
[in] file the filename of the Font to load assumed to be relative to the 'Fonts' data path.
[in] size the point size of the loaded Font.
Returns:
The FontRef of the loaded Font.

NOTE: This should only be called after the global enviroment has been initialized.

Generated on Mon Apr 5 19:08:04 2010 for BrickOut |ReDuX| by  doxygen 1.6.3