SDL_ttf++
C++wrapperfortheSDL_ttflibrary.

sdl::ttf::FontManager Struct Reference

Manages fonts. More...

#include <FontManager.h>

Collaboration diagram for sdl::ttf::FontManager:

List of all members.

Public Member Functions

Font font (const string &fileName, int pointSize)

Static Public Member Functions

static FontManagerinstance ()

Detailed Description

Manages fonts.

Definition at line 38 of file FontManager.h.


Member Function Documentation

Font sdl::ttf::FontManager::font ( const string &  fileName,
int  pointSize 
) [inline]

Returns the Font of the given name in the given point size.

Parameters:
fileNameThe name of the Font to retrieve.
pointSizeThe point size.
Returns:
The Font.

Definition at line 59 of file FontManager.h.

static FontManager& sdl::ttf::FontManager::instance ( ) [inline, static]

Returns an instance of the FontManager.

Returns:
A rerence to the FontManager.

Definition at line 44 of file FontManager.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Enumerations Enumerator