All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
star::FontManager Class Reference

#include <FontManager.h>

Collaboration diagram for star::FontManager:
Collaboration graph

Public Member Functions

 ~FontManager (void)
bool LoadFont (const tstring &path, const tstring &name, int32 size)
const FontGetFont (const tstring &name)
bool DeleteFont (const tstring &name)
void EraseFonts ()
bool DrawText (const tstring &text, const tstring &fontname, TransformComponent *transform, Color color=Color::Black)
bool DrawText (TextDesc textDesc)
void SplitIntoLines (std::vector< std::string > &list, const std::string &string)

Static Public Member Functions

static FontManagerGetInstance ()

Constructor & Destructor Documentation

star::FontManager::~FontManager ( void  )

Member Function Documentation

bool star::FontManager::DeleteFont ( const tstring name)
bool star::FontManager::DrawText ( const tstring text,
const tstring fontname,
TransformComponent transform,
Color  color = Color::Black 
bool star::FontManager::DrawText ( TextDesc  textDesc)
void star::FontManager::EraseFonts ( )
const Font & star::FontManager::GetFont ( const tstring name)
FontManager * star::FontManager::GetInstance ( )
bool star::FontManager::LoadFont ( const tstring path,
const tstring name,
int32  size 
void star::FontManager::SplitIntoLines ( std::vector< std::string > &  list,
const std::string &  string 

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