Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

FontFile Class Reference

#include <fontFile.h>

Inheritance diagram for FontFile:

PkFontFile List of all members.

Public Member Functions

 FontFile ()
virtual ~FontFile ()
virtual bool read (const Filename &filename, bool extract_all, const string &extract_only)=0
INLINE double get_ds () const
INLINE double get_dpi () const
INLINE double get_vppp () const
INLINE double get_hppp () const
void sort_chars_by_height ()
INLINE int get_num_chars () const
INLINE CharBitmapget_char (int n) const

Protected Types

typedef pvector< CharBitmap * > Chars

Protected Attributes

double _ds
double _vppp
double _hppp
Chars _chars

Member Typedef Documentation

typedef pvector<CharBitmap *> FontFile::Chars [protected]
 

Definition at line 59 of file fontFile.h.


Constructor & Destructor Documentation

FontFile::FontFile  ) 
 

Definition at line 42 of file fontFile.cxx.

References _ds.

FontFile::~FontFile  )  [virtual]
 

Definition at line 54 of file fontFile.cxx.


Member Function Documentation

INLINE CharBitmap* FontFile::get_char int  n  )  const
 

Referenced by EggMakeFont::consider_scale_factor().

INLINE double FontFile::get_dpi  )  const
 

Referenced by PkFontFile::do_pre().

INLINE double FontFile::get_ds  )  const
 

Referenced by PkFontFile::do_pre(), and EggMakeFont::run().

INLINE double FontFile::get_hppp  )  const
 

Referenced by EggMakeFont::get_xy().

INLINE int FontFile::get_num_chars  )  const
 

Referenced by EggMakeFont::consider_scale_factor(), and EggMakeFont::run().

INLINE double FontFile::get_vppp  )  const
 

Referenced by EggMakeFont::get_xy().

virtual bool FontFile::read const Filename filename,
bool  extract_all,
const string &  extract_only
[pure virtual]
 

Implemented in PkFontFile.

Referenced by EggMakeFont::run().

void FontFile::sort_chars_by_height  ) 
 

Definition at line 65 of file fontFile.cxx.

References _chars.

Referenced by EggMakeFont::run().


Member Data Documentation

Chars FontFile::_chars [protected]
 

Definition at line 60 of file fontFile.h.

Referenced by PkFontFile::do_character(), and sort_chars_by_height().

double FontFile::_ds [protected]
 

Definition at line 55 of file fontFile.h.

Referenced by PkFontFile::do_pre(), and FontFile().

double FontFile::_hppp [protected]
 

Definition at line 57 of file fontFile.h.

Referenced by PkFontFile::do_pre().

double FontFile::_vppp [protected]
 

Definition at line 56 of file fontFile.h.

Referenced by PkFontFile::do_pre().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:06 2003 for Panda-Tool by doxygen1.3