summaryrefslogtreecommitdiff
path: root/dviware/dvi2bitmap/XBMBitmap.h
blob: 78465b94f98e17c69c8b1856b6d0ca4c9c6f27ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* This file is part of dvi2bitmap; see README for copyrights and licence */

#ifndef XBMBITMAP_HEADER_READ
#define XBMBITMAP_HEADER_READ 1

#include "BitmapImage.h"

class XBMBitmap : public BitmapImage {
 public:
    XBMBitmap (const int w, const int h);
    ~XBMBitmap();
    void setBitmap (const Byte *b);
    void setBitmapRow (const Byte *B);
    void setTransparent (const bool) { };
    void write (const string filename);
    string fileExtension() const { return "xbm"; }
};

#endif // #ifndef XBMBITMAP_HEADER_READ