dvi2bitmap  dvi2bitmap1.0
XBMBitmap.h
Go to the documentation of this file.
1 /* This file is part of dvi2bitmap; see README for copyrights and licence */
2 
3 #ifndef XBMBITMAP_HEADER_READ
4 #define XBMBITMAP_HEADER_READ 1
5 
6 #include "BitmapImage.h"
7 
8 class XBMBitmap : public BitmapImage {
9  public:
10  XBMBitmap (const int w, const int h);
11  ~XBMBitmap();
12  void setBitmap (const Byte *b);
13  void setBitmapRow (const Byte *B);
14  void setTransparent (const bool) { };
15  void write (const string filename);
16  string fileExtension() const { return "xbm"; }
17 };
18 
19 #endif // #ifndef XBMBITMAP_HEADER_READ