EnumAllFonts Class Reference

This class allows kernel level items to enumerate fonts. To use the class simply derive another from it and implement your own NewFont function. If you then call pMyEnumObj->Execute() your NewFont function will be called for every font the font manager and oil layer support. More...

#include <fontman.h>

Inheritance diagram for EnumAllFonts:

OILEnumFonts CCObject SimpleCCObject CDRFontnameStoredItemEnumer List of all members.

Public Member Functions

 EnumAllFonts ()
virtual BOOL NewFont (FontClass Class, ENUMLOGFONT FAR *lpelf)

Detailed Description

This class allows kernel level items to enumerate fonts. To use the class simply derive another from it and implement your own NewFont function. If you then call pMyEnumObj->Execute() your NewFont function will be called for every font the font manager and oil layer support.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/9/95
See also:

Definition at line 321 of file fontman.h.


Constructor & Destructor Documentation

EnumAllFonts::EnumAllFonts  )  [inline]
 

Definition at line 326 of file fontman.h.

00326 {};


Member Function Documentation

BOOL EnumAllFonts::NewFont FontClass  Class,
ENUMLOGFONT FAR *  lpelf
[virtual]
 

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/9/95
Parameters:
Class = the class of font returned (ATM,TrueType etc) [INPUTS] lpelf = a pointer to the font design data
Returns:
TRUE if the next font should be enumerated FALSE if not

Reimplemented from OILEnumFonts.

Definition at line 2313 of file fontman.cpp.

02314 {
02315     // dont enumerate any more please.
02316     return FALSE;
02317 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:53:58 2007 for Camelot by  doxygen 1.4.4