1 //========================================================================
5 // Copyright 1998-2002 Glyph & Cog, LLC
7 //========================================================================
10 #define PBMOUTPUTDEV_H
18 #include "XOutputDev.h"
20 //------------------------------------------------------------------------
22 class PBMOutputDev: public XOutputDev {
25 // NB: Users must use makePBMOutputDev and killPBMOutputDev rather
26 // than the constructor and destructor. (This is due to some
27 // constraints in the underlying XOutputDev object.)
29 static PBMOutputDev *makePBMOutputDev(char *displayName,
32 static void killPBMOutputDev(PBMOutputDev *out);
34 virtual ~PBMOutputDev();
36 //----- initialization and control
39 virtual void startPage(int pageNum, GfxState *state);
42 virtual void endPage();
46 PBMOutputDev(Display *displayA, int screenA,
47 Pixmap pixmapA, Window dummyWinA,
48 int invertA, char *fileRootA);