Aether3D Game Engine
Classes | Public Member Functions | Friends | List of all members
ae3d::Font Class Reference

Contains glyphs loaded from AngelCode BMFont files. For Mac there is a compatible program called BMGlyph. More...

#include <Font.hpp>

Public Member Functions

 Font ()
 Constructor.
 
void LoadBMFont (class Texture2D *fontTex, const FileSystem::FileContentsData &metaData)
 
Texture2DGetTexture ()
 
int TextWidth (const char *text) const
 

Friends

class TextRendererComponent
 

Detailed Description

Contains glyphs loaded from AngelCode BMFont files. For Mac there is a compatible program called BMGlyph.

Member Function Documentation

Texture2D* ae3d::Font::GetTexture ( )
inline
Returns
Font texture.
void ae3d::Font::LoadBMFont ( class Texture2D fontTex,
const FileSystem::FileContentsData metaData 
)
Parameters
fontTexFont texture. No outline support.
metaDataBMFont metadata. Must be text or binary.
int ae3d::Font::TextWidth ( const char *  text) const
Returns
Text width.

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