MWAWPictBitmapInternal Namespace Reference

Internal: namespace used to define some internal function. More...

Functions

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)

Detailed Description

Internal: namespace used to define some internal function.


Function Documentation

static bool MWAWPictBitmapInternal::getBMPData ( MWAWPictBitmapContainer< MWAWColor > const &  orig,
librevenge::RVNGBinaryData &  data 
) [static]

Internal: helper function to create a BMP for a color bitmap (freely inspired from libpwg::WPGBitmap.cpp)

Referenced by MWAWPictBitmapColor::createFileData().

static bool MWAWPictBitmapInternal::getPPMData ( MWAWPictBitmapContainer< MWAWColor > const &  orig,
librevenge::RVNGBinaryData &  data 
) [static]

Internal: helper function to create a PPM for a color bitmap.

static void MWAWPictBitmapInternal::writeU16 ( unsigned char *  buffer,
unsigned &  position,
const unsigned  value 
) [static]

Referenced by getBMPData().

static void MWAWPictBitmapInternal::writeU32 ( unsigned char *  buffer,
unsigned &  position,
const unsigned  value 
) [static]

Referenced by getBMPData().