Internal and low level: a class used to read pack/unpack black-white bitmap. More...
Public Member Functions | |
Bitmap () | |
bool | unpackedData (unsigned char const *pData, int sz) |
creates the bitmap from the packdata | |
bool | readBitmapData (MWAWInputStream &input, bool packed) |
parses the bitmap data zone | |
bool | get (MWAWEmbeddedObject &picture) const |
returns the bitmap and the type | |
Public Attributes | |
int | m_rowBytes |
the num of bytes used to store a row | |
MWAWBox2i | m_rect |
the bitmap rectangle | |
MWAWBox2i | m_src |
the initial dimension | |
MWAWBox2i | m_dst |
the final dimension | |
std::shared_ptr< Region > | m_region |
the region | |
std::vector< unsigned char > | m_bitmap |
the bitmap | |
int | m_mode |
the encoding mode ? | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Bitmap const &f) |
operator<< for Bitmap | |
Internal and low level: a class used to read pack/unpack black-white bitmap.
|
inline |
|
inline |
returns the bitmap and the type
Referenced by ApplePictParser::drawBitmap().
|
inline |
parses the bitmap data zone
Referenced by ApplePictParser::readBitmap().
|
inline |
creates the bitmap from the packdata
Referenced by readBitmapData().
std::vector<unsigned char> ApplePictParserInternal::Bitmap::m_bitmap |
the bitmap
Referenced by get(), readBitmapData(), and unpackedData().
MWAWBox2i ApplePictParserInternal::Bitmap::m_dst |
the final dimension
Referenced by ApplePictParser::drawBitmap(), and ApplePictParser::readBitmap().
int ApplePictParserInternal::Bitmap::m_mode |
the encoding mode ?
Referenced by ApplePictParser::readBitmap().
MWAWBox2i ApplePictParserInternal::Bitmap::m_rect |
the bitmap rectangle
Referenced by ApplePictParser::drawBitmap(), get(), ApplePictParser::readBitmap(), and readBitmapData().
std::shared_ptr<Region> ApplePictParserInternal::Bitmap::m_region |
the region
Referenced by ApplePictParser::readBitmap().
int ApplePictParserInternal::Bitmap::m_rowBytes |
the num of bytes used to store a row
Referenced by get(), ApplePictParser::readBitmap(), readBitmapData(), and unpackedData().
MWAWBox2i ApplePictParserInternal::Bitmap::m_src |
the initial dimension
Referenced by ApplePictParser::readBitmap().