dvi2bitmap
dvi2bitmap1.0
|
#include <PNGBitmap.h>
Public Member Functions | |
PNGBitmap (const int w, const int h, const int bpp=1) | |
~PNGBitmap () | |
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) |
Static Public Member Functions | |
static const char * | version_string (void) |
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) |
Additional Inherited Members | |
Public Types inherited from BitmapImage | |
enum | infoFields { SOFTWAREVERSION, INPUTFILENAME, FURTHERINFO } |
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 |
PNGBitmap::PNGBitmap | ( | const int | w, |
const int | h, | ||
const int | bpp = 1 |
||
) |
PNGBitmap::~PNGBitmap | ( | ) |
|
inlinevirtual |
Implements BitmapImage.
|
inlinestatic |
Referenced by main().
|
virtual |
Implements BitmapImage.
References BitmapImage::bg_, BitmapImage::bitmap_, BitmapImage::bitmapRows_, Bitmap::BitmapColour_s::blue, BitmapImage::bpp_, debug, BitmapImage::fg_, BitmapImage::furtherinfo, Bitmap::BitmapColour_s::green, BitmapImage::h_, BitmapImage::inputfilename, iround(), BitmapImage::isTransparent_, normal, Bitmap::BitmapColour_s::red, BitmapImage::softwareversion, BitmapImage::verbosity_, and BitmapImage::w_.