1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-07-25 10:31:55 -04:00
|
|
|
// Name: wx/motif/dcprint.h
|
1998-09-18 06:19:10 -04:00
|
|
|
// Purpose: wxPrinterDC class
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) Julian Smart
|
2006-07-25 10:31:55 -04:00
|
|
|
// Licence: wxWindows licence
|
1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCPRINT_H_
|
|
|
|
#define _WX_DCPRINT_H_
|
|
|
|
|
2007-12-14 19:06:08 -05:00
|
|
|
#include "wx/motif/dc.h"
|
1998-09-18 06:19:10 -04:00
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
|
1998-09-18 06:19:10 -04:00
|
|
|
{
|
2002-02-05 11:34:33 -05:00
|
|
|
public:
|
|
|
|
// Create a printer DC
|
2007-12-14 19:06:08 -05:00
|
|
|
wxPrinterDCImpl(const wxString& driver, const wxString& device,
|
|
|
|
const wxString& output,
|
|
|
|
bool interactive = true,
|
|
|
|
int orientation = wxPORTRAIT);
|
|
|
|
virtual ~wxPrinterDC();
|
2006-07-25 10:31:55 -04:00
|
|
|
|
2008-11-15 06:10:34 -05:00
|
|
|
wxRect GetPaperRect() const;
|
2006-10-27 09:07:40 -04:00
|
|
|
|
2007-12-14 19:06:08 -05:00
|
|
|
DECLARE_CLASS(wxPrinterDCImpl)
|
1998-09-18 06:19:10 -04:00
|
|
|
};
|
|
|
|
|
2007-12-14 19:06:08 -05:00
|
|
|
#endif // _WX_DCPRINT_H_
|