#include <WP5ListFontsUsedPacket.h>
Public Member Functions | |
WP5ListFontsUsedPacket (WPXInputStream *input, WPXEncryption *encryption, int id, uint32_t dataOffset, uint32_t dataSize, uint16_t packetType) | |
~WP5ListFontsUsedPacket () | |
void | _readContents (WPXInputStream *input, WPXEncryption *encryption, uint32_t dataSize) |
unsigned | getFontNameOffset (unsigned fontNumber) const |
double | getFontSize (unsigned fontNumber) const |
Private Attributes | |
uint16_t | m_packetType |
std::vector< unsigned > | m_fontNameOffset |
std::vector< double > | m_fontSize |
WP5ListFontsUsedPacket::WP5ListFontsUsedPacket | ( | WPXInputStream * | input, |
WPXEncryption * | encryption, | ||
int | id, | ||
uint32_t | dataOffset, | ||
uint32_t | dataSize, | ||
uint16_t | packetType | ||
) |
void WP5ListFontsUsedPacket::_readContents | ( | WPXInputStream * | input, |
WPXEncryption * | encryption, | ||
uint32_t | dataSize | ||
) | [virtual] |
Implements WP5GeneralPacketData.
unsigned WP5ListFontsUsedPacket::getFontNameOffset | ( | unsigned | fontNumber | ) | const |
double WP5ListFontsUsedPacket::getFontSize | ( | unsigned | fontNumber | ) | const |
std::vector<unsigned> WP5ListFontsUsedPacket::m_fontNameOffset [private] |
Referenced by _readContents(), and getFontNameOffset().
std::vector<double> WP5ListFontsUsedPacket::m_fontSize [private] |
Referenced by _readContents(), and getFontSize().
uint16_t WP5ListFontsUsedPacket::m_packetType [private] |
Referenced by _readContents().