static bool   sgCFont::UnloadFont(sgCFont* fnt)

 

Description:

Unloads the font from the memory and destroys the font class object. To avoid memory leakage you must call this function when finishes the work with the font.

 

Arguments:

fnt - pointer to the sgCFont class object you want to delete.

 

Returned value:

Returns true, if the font was successfully unloaded and false otherwise.

 

See also:

LoadFont   GetFontData