IND_FontManager Class Reference
[IND_FontManager]

List of all members.

Public Member Functions

bool Init (IND_ImageManager *pImageManager, IND_SurfaceManager *pSurfaceManager)
void End ()
bool Add (IND_Font *pNewFont, char *pName, char *pFile, IND_Type pType, IND_Quality pQuality)
bool Add (IND_Font *pNewFont, IND_Image *pImage, char *pFile, IND_Type pType, IND_Quality pQuality)
bool Delete (IND_Font *pFo)


Detailed Description

This class manages the fonts objects IND_Font. Fonts are used to write texts on the screen.

(IND_Font) manages the fonts created with the MudFont program. In order to use these fonts, you will need to create a font using the special modified MudFont editor for IndieLib (see tools section in http://www.indielib.com). Once the font has been created, it can be added to the manager using IND_FontManager::Add().

Note: The version that uses IndieLib of MudFont is a modification of the original source code. You can find it in the tools section in the website. (actually, only the output has been modified in order that IndieLib can read it)

The original MudFont program can be found in http://www.midwinter.com/~lch/programming/mudgefont/

mudge.png

Generate your own fonts quickly with MudFont and use them directly in IndieLib (IND_Font)


Member Function Documentation

bool IND_FontManager::Init ( IND_ImageManager pImageManager,
IND_SurfaceManager pSurfaceManager 
)

Parameters:

Operation:

This function returns 1 (true) if the adminstrator is successfully initialized. Must be called before using any method.

void IND_FontManager::End (  ) 

Operation:

This function frees the manager and all the objects that it contains.

bool IND_FontManager::Add ( IND_Font pNewFont,
char *  pName,
char *  pFile,
IND_Type  pType,
IND_Quality  pQuality 
)

Parameters:

Operation:

This function returns 1 (true) if the font object passed as a parameter exists and is added successfully to the manager loading the font directly from a graphic file and a configuration file, both generated with MudFont (modified version for IndieLib that can be found in the tools section ).

bool IND_FontManager::Add ( IND_Font pNewFont,
IND_Image pImage,
char *  pFile,
IND_Type  pType,
IND_Quality  pQuality 
)

Parameters:

Operation:

This function returns 1 (true) if the font object type 1 passed as a parameter exists and is added successfully to the manager loading the font directly from IND_Image object and a configuration file, both generated with MudFont (modified version for IndieLib can be found in the section tools).

The posibility of changing the font from an IND_Image object is offered in case that you want to change the original font with any modification or filter from IND_ImageManager

bool IND_FontManager::Delete ( IND_Font pFo  ) 

Parameters:

Operation:

This function returns 1 (true) if the font object type 1 passed as a parameter exists and it is deleted from the manager successfully


The documentation for this class was generated from the following files:
Generated on Tue Apr 22 16:46:52 2008 for IndieLib by  doxygen 1.5.4