2005-05-04 14:57:50 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/dcprint.h
|
|
|
|
// Purpose: wxPrinterDC base header
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created:
|
|
|
|
// Copyright: (c) Julian Smart
|
|
|
|
// Licence: wxWindows Licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-14 20:23:28 -04:00
|
|
|
#ifndef _WX_DCPRINT_H_BASE_
|
|
|
|
#define _WX_DCPRINT_H_BASE_
|
1998-05-20 10:01:55 -04:00
|
|
|
|
2006-09-15 12:45:48 -04:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#if wxUSE_PRINTING_ARCHITECTURE
|
|
|
|
|
2007-11-13 08:20:15 -05:00
|
|
|
#include "wx/dc.h"
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// wxPrinterDC
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2007-11-30 12:47:55 -05:00
|
|
|
class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
|
2007-11-13 08:20:15 -05:00
|
|
|
{
|
|
|
|
public:
|
2007-11-14 09:49:40 -05:00
|
|
|
wxPrinterDC();
|
2007-11-30 12:47:55 -05:00
|
|
|
wxPrinterDC(const wxPrintData& data);
|
|
|
|
|
2008-11-15 06:10:34 -05:00
|
|
|
wxRect GetPaperRect() const;
|
2014-03-29 20:02:23 -04:00
|
|
|
int GetResolution() const wxOVERRIDE;
|
2007-11-30 12:47:55 -05:00
|
|
|
|
2007-11-30 15:56:12 -05:00
|
|
|
protected:
|
|
|
|
wxPrinterDC(wxDCImpl *impl) : wxDC(impl) { }
|
|
|
|
|
2007-11-14 09:49:40 -05:00
|
|
|
private:
|
2015-04-23 07:49:01 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxPrinterDC);
|
2007-11-13 08:20:15 -05:00
|
|
|
};
|
|
|
|
|
2007-11-30 12:47:55 -05:00
|
|
|
#endif // wxUSE_PRINTING_ARCHITECTURE
|
2007-11-13 08:20:15 -05:00
|
|
|
|
2007-11-30 12:47:55 -05:00
|
|
|
#endif // _WX_DCPRINT_H_BASE_
|