dvi2bitmap
dvi2bitmap1.0
|
The superclass of the various bitmap formats. More...
#include <BitmapImage.h>
Public Types | |
enum | infoFields { SOFTWAREVERSION, INPUTFILENAME, FURTHERINFO } |
Public Member Functions | |
BitmapImage (const int w, const int h, const int bpp=1) | |
virtual | ~BitmapImage () |
void | setBitmap (const Byte *B) |
void | setBitmapRow (const Byte *B) |
void | setTransparent (const bool sw) |
void | setRGB (const bool fg, const Bitmap::BitmapColour *rgb) |
virtual void | write (const string filename)=0 |
virtual string | fileExtension () const =0 |
Static Public Member Functions | |
static void | setInfo (const infoFields which, const string *s) |
static BitmapImage * | newBitmapImage (const string format, const int w, const int h, const int bpp=1) |
static bool | supportedBitmapImage (const string format) |
static const char * | firstBitmapImageFormat () |
static const char * | nextBitmapImageFormat () |
static void | verbosity (const verbosities level) |
Protected Attributes | |
int | w_ |
int | h_ |
const int | bpp_ |
const Byte * | bitmap_ |
Byte * | allocBitmap_ |
bool | myBitmap_ |
int | bitmapRows_ |
bool | isTransparent_ |
Bitmap::BitmapColour | fg_ |
Bitmap::BitmapColour | bg_ |
Static Protected Attributes | |
static const string * | softwareversion = 0 |
static const string * | inputfilename = 0 |
static const string * | furtherinfo = 0 |
static const char * | formats [] |
static const int | nformats = sizeof(formats)/sizeof(formats[0]) |
static int | iterator_index = 0 |
static verbosities | verbosity_ = normal |
The superclass of the various bitmap formats.
BitmapImage::BitmapImage | ( | const int | w, |
const int | h, | ||
const int | bpp = 1 |
||
) |
References bg_, Bitmap::BitmapColour_s::blue, fg_, Bitmap::BitmapColour_s::green, and Bitmap::BitmapColour_s::red.
|
virtual |
References allocBitmap_, and myBitmap_.
|
pure virtual |
Implemented in GIFBitmap, PNGBitmap, XPMBitmap, and XBMBitmap.
Referenced by Bitmap::write().
|
static |
References formats, and iterator_index.
Referenced by main(), and Bitmap::write().
|
static |
Referenced by Bitmap::write().
|
static |
References formats, iterator_index, and nformats.
Referenced by main().
void BitmapImage::setBitmap | ( | const Byte * | B) |
References bitmap_, bitmapRows_, and h_.
Referenced by Bitmap::write().
void BitmapImage::setBitmapRow | ( | const Byte * | B) |
References allocBitmap_, bitmap_, bitmapRows_, h_, myBitmap_, and w_.
Referenced by Bitmap::write().
|
static |
References FURTHERINFO, furtherinfo, INPUTFILENAME, inputfilename, SOFTWAREVERSION, and softwareversion.
Referenced by main().
|
inline |
References bg_, Bitmap::BitmapColour_s::blue, fg_, Bitmap::BitmapColour_s::green, and Bitmap::BitmapColour_s::red.
Referenced by Bitmap::write().
|
inline |
References isTransparent_.
Referenced by Bitmap::write().
|
static |
|
inlinestatic |
References verbosity_.
Referenced by main().
|
pure virtual |
Implemented in GIFBitmap, PNGBitmap, XPMBitmap, and XBMBitmap.
Referenced by Bitmap::write().
|
protected |
Referenced by setBitmapRow(), and ~BitmapImage().
|
protected |
Referenced by BitmapImage(), setRGB(), PNGBitmap::write(), and GIFBitmap::write().
|
protected |
Referenced by setBitmap(), setBitmapRow(), XBMBitmap::write(), XPMBitmap::write(), and PNGBitmap::write().
|
protected |
Referenced by setBitmap(), setBitmapRow(), PNGBitmap::write(), and GIFBitmap::write().
|
protected |
Referenced by PNGBitmap::write(), and GIFBitmap::write().
|
protected |
Referenced by BitmapImage(), setRGB(), PNGBitmap::write(), and GIFBitmap::write().
|
staticprotected |
Referenced by firstBitmapImageFormat(), nextBitmapImageFormat(), and supportedBitmapImage().
|
staticprotected |
Referenced by setInfo(), and PNGBitmap::write().
|
protected |
Referenced by setBitmap(), setBitmapRow(), XBMBitmap::write(), XPMBitmap::write(), PNGBitmap::write(), and GIFBitmap::write().
|
staticprotected |
Referenced by setInfo(), and PNGBitmap::write().
|
protected |
Referenced by setTransparent(), PNGBitmap::write(), and GIFBitmap::write().
|
staticprotected |
Referenced by firstBitmapImageFormat(), and nextBitmapImageFormat().
|
protected |
Referenced by setBitmapRow(), and ~BitmapImage().
Referenced by nextBitmapImageFormat(), and supportedBitmapImage().
|
staticprotected |
Referenced by setInfo(), and PNGBitmap::write().
|
staticprotected |
Referenced by GIFBitmap::GIFBitmap(), verbosity(), PNGBitmap::write(), and GIFBitmap::write().
|
protected |
Referenced by setBitmapRow(), XBMBitmap::write(), XPMBitmap::write(), PNGBitmap::write(), and GIFBitmap::write().