ui::AbstractFontFactory Class Reference

List of all members.

Detailed Description

AbstractFontFactory creates Fonts. The user overloads this abstract class for his or her own Font class so that GlyphContext can create user defined fonts.


Public Member Functions

virtual FontcreateFont (const std::string &font, std::size_t size)=0
virtual ~AbstractFontFactory ()


Constructor & Destructor Documentation

ui::AbstractFontFactory::~AbstractFontFactory  )  [virtual]
 

Destructor.


Member Function Documentation

virtual Font* ui::AbstractFontFactory::createFont const std::string &  font,
std::size_t  size
[pure virtual]
 

Create a Font.

Note:
Note that the user of the library is responsible for maintaining memory, as such, memory allocated here must also be deallocated.


Generated on Mon Jun 20 19:41:43 2005 for UI by doxygen 1.3.1 using KingsTools