#include <BMIHeader.h>
Public Member Functions | |
BMIHeader () | |
bool | load (const RVNGInputStreamPtr &input) |
bool | isSupported () const |
unsigned | size () const |
unsigned | startOffset () const |
unsigned | width () const |
unsigned | height () const |
bool | isPaletteMode () const |
unsigned | colorDepth () const |
unsigned | paletteColorCount () const |
const std::vector< BMIOffset > & | offsets () const |
bool | reconcileWidth (unsigned &colorWidth, unsigned &transparencyWidth) |
bool | reconcileHeight (unsigned &colorHeight, unsigned &transparencyHeight) |
Private Member Functions | |
void | readOffsets (const RVNGInputStreamPtr &input, uint16_t offsetCount) |
Private Attributes | |
std::string | m_signature |
unsigned | m_size |
unsigned | m_startOffset |
unsigned | m_width |
unsigned | m_height |
bool | m_isPaletteMode |
unsigned | m_colorDepth |
std::vector< BMIOffset > | m_offsets |
libzmf::BMIHeader::BMIHeader | ( | ) |
unsigned libzmf::BMIHeader::colorDepth | ( | ) | const |
Referenced by paletteColorCount().
unsigned libzmf::BMIHeader::height | ( | ) | const |
Referenced by libzmf::BMIParser::parse().
bool libzmf::BMIHeader::isPaletteMode | ( | ) | const |
Referenced by paletteColorCount().
bool libzmf::BMIHeader::isSupported | ( | ) | const |
Referenced by libzmf::BMIParser::readImage().
bool libzmf::BMIHeader::load | ( | const RVNGInputStreamPtr & | input | ) |
Referenced by libzmf::BMIParser::readImage().
Referenced by libzmf::BMIParser::readImage().
|
private |
Referenced by load().
Referenced by libzmf::BMIParser::reconcileDimensions().
Referenced by libzmf::BMIParser::reconcileDimensions().
unsigned libzmf::BMIHeader::size | ( | ) | const |
unsigned libzmf::BMIHeader::startOffset | ( | ) | const |
Referenced by libzmf::BMIParser::ColorBitmapHeader::parse().
unsigned libzmf::BMIHeader::width | ( | ) | const |
Referenced by libzmf::BMIParser::parse().
|
private |
Referenced by colorDepth(), and load().
|
private |
Referenced by height(), load(), and reconcileHeight().
|
private |
Referenced by isPaletteMode(), and load().
|
private |
Referenced by offsets(), and readOffsets().
|
private |
Referenced by isSupported(), and load().
|
private |
Referenced by readOffsets(), and size().
|
private |
Referenced by load(), and startOffset().
|
private |
Referenced by load(), reconcileWidth(), and width().