dvi2bitmap  dvi2bitmap1.0
Public Member Functions | Public Attributes | List of all members
DviFileFontChange Class Reference

An event which requests a change of font. More...

#include <DviFile.h>

Inheritance diagram for DviFileFontChange:
DviFileEvent

Public Member Functions

 DviFileFontChange (unsigned char opcode, PkFont *f)
 
void debug () const
 Writes a representation of this event on cerr. More...
 
- Public Member Functions inherited from DviFileEvent
eventTypes type () const
 Gets the type of this event. More...
 
const unsigned char opcode () const
 Gets the underlying opcode which produced this event. More...
 
void release ()
 Release this event. More...
 

Public Attributes

const PkFontfont
 The font we are to change to. More...
 

Additional Inherited Members

- Public Types inherited from DviFileEvent
enum  eventTypes {
  setchar, setrule, fontchange, special,
  page, preamble, postamble
}
 
- Static Public Member Functions inherited from DviFileEvent
static verbosities verbosity (const verbosities level)
 Sets the verbosity for DviFileEvent and its subclasses. More...
 
- Protected Member Functions inherited from DviFileEvent
 DviFileEvent (unsigned char opcode, eventTypes t, DviFile *dp=0)
 Creates a new event. More...
 
- Static Protected Attributes inherited from DviFileEvent
static verbosities verbosity_ = normal
 

Detailed Description

An event which requests a change of font.

Constructor & Destructor Documentation

DviFileFontChange::DviFileFontChange ( unsigned char  opcode,
PkFont f 
)
inline

Member Function Documentation

void DviFileFontChange::debug ( ) const
virtual

Writes a representation of this event on cerr.

Reimplemented from DviFileEvent.

References font, and PkFont::name().

Member Data Documentation

const PkFont* DviFileFontChange::font

The font we are to change to.

Referenced by debug(), and main().


The documentation for this class was generated from the following files: