dvi2bitmap  dvi2bitmap1.0
Public Member Functions | Static Public Member Functions | List of all members
PNGBitmap Class Reference

#include <PNGBitmap.h>

Inheritance diagram for PNGBitmap:
BitmapImage

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 BitmapImagenewBitmapImage (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 Bytebitmap_
 
ByteallocBitmap_
 
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
 

Constructor & Destructor Documentation

PNGBitmap::PNGBitmap ( const int  w,
const int  h,
const int  bpp = 1 
)
PNGBitmap::~PNGBitmap ( )

Member Function Documentation

string PNGBitmap::fileExtension ( ) const
inlinevirtual

Implements BitmapImage.

static const char* PNGBitmap::version_string ( void  )
inlinestatic

Referenced by main().

void PNGBitmap::write ( const string  filename)
virtual

The documentation for this class was generated from the following files: