#include <BitmapImage.h>
Inheritance diagram for BitmapImage:
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 | |
void | setInfo (const infoFields which, const string *s) |
BitmapImage * | newBitmapImage (const string format, const int w, const int h, const int bpp=1) |
bool | supportedBitmapImage (const string format) |
const char * | firstBitmapImageFormat () |
const char * | nextBitmapImageFormat () |
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 | |
const string * | softwareversion = 0 |
const string * | inputfilename = 0 |
const string * | furtherinfo = 0 |
const char * | formats [] |
const int | nformats = sizeof(formats)/sizeof(formats[0]) |
int | iterator_index = 0 |
verbosities | verbosity_ = normal |
|
|
|
|
|
|
|
Implemented in GIFBitmap, PNGBitmap, XBMBitmap, and XPMBitmap.
|
|
|
|
|
|
|
|
Reimplemented in GIFBitmap, XBMBitmap, and XPMBitmap.
|
|
Reimplemented in GIFBitmap, XBMBitmap, and XPMBitmap.
|
|
|
|
|
|
Reimplemented in XBMBitmap, and XPMBitmap.
|
|
|
|
|
|
Implemented in GIFBitmap, PNGBitmap, XBMBitmap, and XPMBitmap.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|