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