Main Page Class Hierarchy Compound List File List Compound Members

# printer.h

    00001
    00002
    00003 #ifndef _PRINTERDRIVER
    00004 #define _PRINTERDRIVER
    00005
    00006 #ifdef __GNUG__
    00007 #pragma interface
    00008 #endif
    00009
    00010
    00013
    00014 #include "wx/prntbase.h"
    00015 #include "scrndrv.h"
    00016 #include "lsetup.h"
    00017 #include "gdsii.h"
    00018 #include "mainwin.h"
    00019
    00020
    00022
    00028 class PrintDriver : public wxPrintout
    00029 {
    00030         public:
    00031                 PrintDriver(GDSMainWindow*,char *);
    00032                 ~PrintDriver(void);
    00033
    00034       bool      OnPrintPage(int);
    00035                 bool    OnBeginDocument(int startPage, int endPage);
    00036                 bool    HasPage(int page);
    00037                 void    GetPageInfo(int *minPage, int *maxPage, int *selPageFrom, int *selPageTo);
    00038
    00039         private:
    00040
    00042                 wxDC*                                   _dc;
    00043
    00044                 int                                     _w,_h;
    00045       bool            _crosshair;
    00046
    00047         private:
    00048                 GDSMainWindow*  _parent;
    00049 };
    00050 #endif
    00051

printer.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page