MWAWPictBitmap.cxx File Reference
#include <sstream>
#include <string>
#include <librevenge/librevenge.h>
#include "libmwaw_internal.hxx"
#include "MWAWPictBitmap.hxx"

Namespaces

 MWAWPictBitmapInternal
 Internal: namespace used to define some internal function.
 

Functions

template<class T >
bool getPBMData (MWAWPictBitmapContainer< T > const &orig, librevenge::RVNGBinaryData &data, T white)
 Internal: helper function to create a PBM. More...
 
template<class T >
bool getPPMData (MWAWPictBitmapContainer< T > const &orig, librevenge::RVNGBinaryData &data, std::vector< MWAWColor > const &indexedColor)
 Internal: helper function to create a PPM. More...
 
static bool MWAWPictBitmapInternal::getPPMData (MWAWPictBitmapContainer< MWAWColor > const &orig, librevenge::RVNGBinaryData &data)
 Internal: helper function to create a PPM for a color bitmap. More...
 
static void MWAWPictBitmapInternal::writeU16 (unsigned char *buffer, unsigned &position, const unsigned value)
 
static void MWAWPictBitmapInternal::writeU32 (unsigned char *buffer, unsigned &position, const unsigned value)
 
static bool MWAWPictBitmapInternal::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) More...
 

Function Documentation

template<class T >
bool getPBMData ( MWAWPictBitmapContainer< T > const &  orig,
librevenge::RVNGBinaryData &  data,
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.


Generated on Thu Jul 9 2015 20:26:37 for libmwaw by doxygen 1.8.8