CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iFontServer Struct Reference
[2D]

A font server interface. More...

#include <fontserv.h>

Inheritance diagram for iFontServer:

iBase List of all members.

Public Methods

virtual csPtr< iFontLoadFont (const char *filename, int size=10)=0
 Load a font by name.


Detailed Description

A font server interface.

Font server can load fonts and create iFont objects. In fact user does not care whenever fonts are built-in the font server or are on disk; thus some font servers may contain the fonts hardcoded; in this case the font path is really a identifier.

Main creators of instances implementing this interface:

Main ways to get pointers to this interface: Main users of this interface:

Definition at line 228 of file fontserv.h.


Member Function Documentation

virtual csPtr<iFont> iFontServer::LoadFont const char *    filename,
int    size = 10
[pure virtual]
 

Load a font by name.

Returns a new iFont object or 0 on failure.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18