coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

FontFactory Class Reference

This class is the abstract basis class (aka Interface) for a FontFactory. More...

#include <Font.h>

Inheritance diagram for FontFactory

Inheritance graph
[legend]
List of all members.

Public Methods

 FontFactory ()
virtual ~FontFactory ()
virtual FontcreateFont ()=0
 This function provides an interface for generating new Bitmaps. More...


Static Public Methods

FontFactory* getInstance ()
 This function is the hook to get an reference to the instance of the correct factory.


Detailed Description

This class is the abstract basis class (aka Interface) for a FontFactory.

This factury is used to produce a correct Font. If a derived Font is implemented there should also be implemented a singelton of this class to provide the correct factory.

Author(s):
Stefan Michel
See also:
Font


Member Function Documentation

Font * FontFactory::createFont ( ) [pure virtual]
 

This function provides an interface for generating new Bitmaps.

The caller takes care to delete the produced Bitmap correctly.


The documentation for this class was generated from the following file:
  • Font.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: