Internal: namespace used to define some internal function. More...
Functions | |
template<class T> | |
bool | getPBMData (MWAWPictBitmapContainer< T > const &orig, librevenge::RVNGBinaryData &data, T white) |
Internal: helper function to create a PBM. | |
template<class T> | |
bool | getPPMData (MWAWPictBitmapContainer< T > const &orig, librevenge::RVNGBinaryData &data, std::vector< MWAWColor > const &indexedColor) |
Internal: helper function to create a PPM. | |
static bool | getPPMData (MWAWPictBitmapContainer< MWAWColor > const &orig, librevenge::RVNGBinaryData &data) |
Internal: helper function to create a PPM for a color bitmap. | |
static void | writeU16 (unsigned char *buffer, unsigned &position, const unsigned value) |
static void | writeU32 (unsigned char *buffer, unsigned &position, const unsigned value) |
static bool | getBMPData (MWAWPictBitmapContainer< MWAWColor > const &orig, librevenge::RVNGBinaryData &data) |
Internal: helper function to create a BMP for a color bitmap (freely inspired from libpwg::WPGBitmap.cpp) | |
Internal: namespace used to define some internal function.
|
static |
Internal: helper function to create a BMP for a color bitmap (freely inspired from libpwg::WPGBitmap.cpp)
Referenced by MWAWPictBitmapColor::createFileData().
bool MWAWPictBitmapInternal::getPBMData | ( | MWAWPictBitmapContainer< T > const & | orig, |
librevenge::RVNGBinaryData & | data, | ||
T | white ) |
Internal: helper function to create a PBM.
Referenced by MWAWPictBitmapBW::createFileData(), and MWAWPictBitmapIndexed::createFileData().
|
static |
Internal: helper function to create a PPM for a color bitmap.
bool MWAWPictBitmapInternal::getPPMData | ( | MWAWPictBitmapContainer< T > const & | orig, |
librevenge::RVNGBinaryData & | data, | ||
std::vector< MWAWColor > const & | indexedColor ) |
Internal: helper function to create a PPM.
Referenced by MWAWPictBitmapColor::createFileData(), and MWAWPictBitmapIndexed::createFileData().
|
static |
Referenced by getBMPData().
|
static |
Referenced by getBMPData().