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