dcprint.h 881 B

12345678910111213141516171819202122232425262728293031
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/motif/dcprint.h
  3. // Purpose: wxPrinterDC class
  4. // Author: Julian Smart
  5. // Modified by:
  6. // Created: 17/09/98
  7. // Copyright: (c) Julian Smart
  8. // Licence: wxWindows licence
  9. /////////////////////////////////////////////////////////////////////////////
  10. #ifndef _WX_DCPRINT_H_
  11. #define _WX_DCPRINT_H_
  12. #include "wx/motif/dc.h"
  13. class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
  14. {
  15. public:
  16. // Create a printer DC
  17. wxPrinterDCImpl(const wxString& driver, const wxString& device,
  18. const wxString& output,
  19. bool interactive = true,
  20. wxPrintOrientation orientation = wxPORTRAIT);
  21. virtual ~wxPrinterDC();
  22. wxRect GetPaperRect() const;
  23. DECLARE_CLASS(wxPrinterDCImpl)
  24. };
  25. #endif // _WX_DCPRINT_H_