Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

resourcetype_font.h File Reference

#include "API/Core/System/clanstring.h"
#include "API/Core/Resources/resource_manager.h"
#include <Display/Font/resource_font_generic.h>

Include dependency graph for resourcetype_font.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  CL_Font_Resource
class  CL_Res_Font
 res_type: fontres_option: tga - Interpret this file as a targa image.res_option: pcx - Interpret this file as a pcx image.res_option: pos=(<xpos>, <ypos>) - Font position in image source.res_option: spacelen=<width> - Pixel width of the space character.res_option: tcol=(<col1>, <col2>, ...) - Transparent colors in the font.res_option: letters= - The list of letters in the font.res_desc: The font resource type is used by the CL_Font class to load a fontres_desc: from a datafile.
res_desc: The datafile compiler creates the font by cut each letter out of theres_desc: specified image file. It uses the last three colors in the palette tores_desc: do that. Color index 255 is used to find the height, 254 is used tores_desc: seperate the letters (find the width), and 253 is used to break theres_desc: line.
res_desc: For an example, have a look on the Pacman demo application.
More...



Generated at Wed Apr 4 19:55:38 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001