dvi2bitmap
dvi2bitmap1.0
|
#include <GIFBitmap.h>
Public Member Functions | |
GIFBitmap (const int w, const int h, const int bpp=1) | |
~GIFBitmap () | |
void | setBitmap (const Byte *b) |
void | setBitmapRow (const Byte *b) |
void | write (const string filename) |
string | fileExtension () const |
Public Member Functions inherited from BitmapImage | |
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) |
Additional Inherited Members | |
Public Types inherited from BitmapImage | |
enum | infoFields { SOFTWAREVERSION, INPUTFILENAME, FURTHERINFO } |
Static Public Member Functions inherited from BitmapImage | |
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 inherited from BitmapImage | |
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 inherited from BitmapImage | |
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 |
GIFBitmap::GIFBitmap | ( | const int | w, |
const int | h, | ||
const int | bpp = 1 |
||
) |
References BITS, normal, and BitmapImage::verbosity_.
GIFBitmap::~GIFBitmap | ( | ) |
|
inlinevirtual |
Implements BitmapImage.
void GIFBitmap::setBitmap | ( | const Byte * | b) |
void GIFBitmap::setBitmapRow | ( | const Byte * | b) |
|
virtual |
Implements BitmapImage.
References BitmapImage::bg_, BitmapImage::bitmapRows_, Bitmap::BitmapColour_s::blue, BitmapImage::bpp_, BitmapImage::fg_, Bitmap::BitmapColour_s::green, BitmapImage::h_, iround(), BitmapImage::isTransparent_, normal, Bitmap::BitmapColour_s::red, BitmapImage::verbosity_, and BitmapImage::w_.