dvi2bitmap  dvi2bitmap1.0
XPMBitmap.h
Go to the documentation of this file.
1 /* This file is part of dvi2bitmap; see README for copyrights and licence */
2 
3 // XPMBitmap contributed by Yamabe Kazuharu <tako_da@qc4.so-net.ne.jp>
4 
5 #ifndef XPMBITMAP_HEADER_READ
6 #define XPMBITMAP_HEADER_READ 1
7 
8 #include "BitmapImage.h"
9 
10 class XPMBitmap : public BitmapImage {
11  public:
12  XPMBitmap (const int w, const int h);
13  ~XPMBitmap();
14  void setBitmap (const Byte *b);
15  void setBitmapRow (const Byte *B);
16  void setTransparent (const bool) { };
17  void write (const string filename);
18  string fileExtension() const { return "xpm"; }
19 };
20 
21 #endif // #ifndef XPMBITMAP_HEADER_READ