CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

iFontServer Struct Reference

A font server interface. More...

#include <ivideo/fontserv.h>

Inheritance diagram for iFontServer:

iBase List of all members.

Public Member Functions

virtual csPtr< iFontLoadFont (const char *filename, float size=10.0f)=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 250 of file fontserv.h.


Member Function Documentation

virtual csPtr<iFont> iFontServer::LoadFont const char *  filename,
float  size = 10.0f
[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.4.4