FTFont Class Reference

A class description of a font managed by FreeType. More...

#include <ftfonts.h>

Inheritance diagram for FTFont:

FontBase CCObject SimpleCCObject List of all members.

Public Member Functions

 FTFont (FontClass fc=FC_UNDEFINED)
 Constructor.
 ~FTFont ()
 destructor for the FTFont class
virtual FontClass GetFontClass ()
virtual void Dump ()
 Dump the contents of this cache entry out.

Private Attributes

FontClass m_FontClass

Detailed Description

A class description of a font managed by FreeType.

Author:
Martin Wuerthner <xara@mw-software.com>
Date:
22/02/06

Definition at line 120 of file ftfonts.h.


Constructor & Destructor Documentation

FTFont::FTFont FontClass  fc = FC_UNDEFINED  ) 
 

Constructor.

Author:
Martin Wuerthner <xara@mw-software.com>
Date:
18/05/06

Definition at line 164 of file ftfonts.cpp.

00165 {
00166     m_FontClass = fc;
00167 }

FTFont::~FTFont  ) 
 

destructor for the FTFont class

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/09/95

Definition at line 179 of file ftfonts.cpp.

00180 {
00181 }


Member Function Documentation

void FTFont::Dump  )  [virtual]
 

Dump the contents of this cache entry out.

Author:
Martin Wuerthner <xara@mw-software.com>
Date:
18/05/06

Reimplemented from FontBase.

Definition at line 193 of file ftfonts.cpp.

00194 {
00195     FontBase::Dump();
00196     if (m_FontClass == FC_TRUETYPE)
00197         TRACE( _T(" FontClass = TrueType\n"));
00198     else if (m_FontClass == FC_ATM)
00199         TRACE( _T(" FontClass = ATM\n"));
00200     else 
00201         TRACE( _T(" FontClass = <unknown>\n"));
00202 }

virtual FontClass FTFont::GetFontClass  )  [inline, virtual]
 

Reimplemented from FontBase.

Definition at line 128 of file ftfonts.h.

00128 { return m_FontClass; };


Member Data Documentation

FontClass FTFont::m_FontClass [private]
 

Definition at line 132 of file ftfonts.h.


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