#include <plFont.h>
Member Enumeration Documentation
Constructor & Destructor Documentation
plFont::plFont |
( |
const plFont & |
copy | ) |
|
virtual plFont::~plFont |
( |
| ) |
|
|
virtual |
Member Function Documentation
unsigned char plFont::getBPP |
( |
| ) |
const |
const plCharacter& plFont::getCharacter |
( |
size_t |
idx | ) |
const |
unsigned short plFont::getFirstChar |
( |
| ) |
const |
const unsigned char* plFont::getGlyph |
( |
size_t |
idx | ) |
const |
unsigned int plFont::getHeight |
( |
| ) |
const |
int plFont::getMaxCharHeight |
( |
| ) |
const |
const plString& plFont::getName |
( |
| ) |
const |
size_t plFont::getNumCharacters |
( |
| ) |
const |
unsigned char plFont::getSize |
( |
| ) |
const |
unsigned int plFont::getWidth |
( |
| ) |
const |
This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.
Reimplemented from hsKeyedObject.
This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().
Reimplemented from hsKeyedObject.
bool plFont::isBold |
( |
| ) |
const |
bool plFont::isItalic |
( |
| ) |
const |
const plCharacter& plFont::operator[] |
( |
size_t |
idx | ) |
const |
Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.
Reimplemented from hsKeyedObject.
void plFont::setBold |
( |
bool |
bold | ) |
|
void plFont::setBPP |
( |
unsigned char |
bpp | ) |
|
void plFont::setFirstChar |
( |
unsigned short |
first | ) |
|
void plFont::setHeight |
( |
unsigned int |
height | ) |
|
void plFont::setItalic |
( |
bool |
italic | ) |
|
void plFont::setMaxCharHeight |
( |
int |
maxCharHeight | ) |
|
void plFont::setName |
( |
const plString & |
name | ) |
|
void plFont::setNumCharacters |
( |
size_t |
count | ) |
|
void plFont::setSize |
( |
unsigned char |
size | ) |
|
void plFont::setWidth |
( |
unsigned int |
width | ) |
|
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from hsKeyedObject.
void plFont::writeBitmap |
( |
hsStream * |
S | ) |
const |
void plFont::writeP2F |
( |
hsStream * |
S | ) |
const |
Member Data Documentation
unsigned char* plFont::fBmpData |
|
protected |
unsigned char plFont::fBPP |
|
protected |
unsigned short plFont::fFirstChar |
|
protected |
unsigned int plFont::fFlags |
|
protected |
unsigned int plFont::fHeight |
|
protected |
int plFont::fMaxCharHeight |
|
protected |
unsigned char plFont::fSize |
|
protected |
unsigned int plFont::fWidth |
|
protected |
The documentation for this class was generated from the following file: