Main Page Namespace List Class Hierarchy Compound List File List Compound Members File Members
CL_Res_Font Class Reference
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...
#include <resourcetype_font.h>
Inheritance diagram for CL_Res_Font:
[legend]Collaboration diagram for CL_Res_Font:
[legend]List of all members.
Detailed Description
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.
Definition at line 15 of file resourcetype_font.h.
Constructor & Destructor Documentation
|
CL_Res_Font::CL_Res_Font (
|
)
|
|
Member Function Documentation
Member Data Documentation
friend CL_Res_Font::CL_ResourceManager [private]
|
|
The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:20 2001 for ClanLib by
1.2.6 written by Dimitri van Heesch,
© 1997-2001