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