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
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// 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);
|
|
|
|
|
2007-11-13 08:20:15 -05:00
|
|
|
wxRect GetPaperRect();
|
2007-11-14 09:49:40 -05:00
|
|
|
int GetResolution();
|
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:
|
2007-11-30 12:47:55 -05:00
|
|
|
DECLARE_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_
|