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

CharBitmap Class Reference

#include <charBitmap.h>

List of all members.

Public Types

typedef pvector< char > Row
typedef pvector< RowBlock

Public Member Functions

 CharBitmap (int character, int width, int height, int hoff, int voff, double dx, double dy)
bool paint (bool black, int num_pixels, int &repeat)
INLINE int get_width () const
INLINE int get_height () const

Public Attributes

int _character
int _hoff
int _voff
double _dx
double _dy
Block _block
unsigned int _x
unsigned int _y


Member Typedef Documentation

typedef pvector<Row> CharBitmap::Block
 

Definition at line 36 of file charBitmap.h.

typedef pvector<char> CharBitmap::Row
 

Definition at line 35 of file charBitmap.h.

Referenced by CharBitmap().


Constructor & Destructor Documentation

CharBitmap::CharBitmap int  character,
int  width,
int  height,
int  hoff,
int  voff,
double  dx,
double  dy
 

Definition at line 30 of file charBitmap.cxx.

References _block, _character, _dx, _dy, _hoff, _voff, _x, _y, height, Row, width, and y.


Member Function Documentation

INLINE int CharBitmap::get_height  )  const
 

Referenced by EggMakeFont::copy_character(), SortCharBitmap::operator()(), and CharLayout::place_character().

INLINE int CharBitmap::get_width  )  const
 

Referenced by EggMakeFont::copy_character(), and CharLayout::place_character().

bool CharBitmap::paint bool  black,
int  num_pixels,
int repeat
 

Definition at line 55 of file charBitmap.cxx.

References _block, _x, _y, and nassertr.

Referenced by PkFontFile::do_character().


Member Data Documentation

Block CharBitmap::_block
 

Definition at line 50 of file charBitmap.h.

Referenced by CharBitmap(), EggMakeFont::copy_character(), PkFontFile::do_character(), and paint().

int CharBitmap::_character
 

Definition at line 46 of file charBitmap.h.

Referenced by CharBitmap(), EggMakeFont::consider_scale_factor(), and EggMakeFont::copy_character().

double CharBitmap::_dx
 

Definition at line 48 of file charBitmap.h.

Referenced by CharBitmap(), and EggMakeFont::copy_character().

double CharBitmap::_dy
 

Definition at line 48 of file charBitmap.h.

Referenced by CharBitmap(), and EggMakeFont::copy_character().

int CharBitmap::_hoff
 

Definition at line 47 of file charBitmap.h.

Referenced by CharBitmap(), and EggMakeFont::copy_character().

int CharBitmap::_voff
 

Definition at line 47 of file charBitmap.h.

Referenced by CharBitmap(), and EggMakeFont::copy_character().

unsigned int CharBitmap::_x
 

Definition at line 51 of file charBitmap.h.

Referenced by CharBitmap(), and paint().

unsigned int CharBitmap::_y
 

Definition at line 51 of file charBitmap.h.

Referenced by CharBitmap(), and paint().


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