]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/carbon/dcprint.h
remove an unused pool of strings using wxStringList
[wxWidgets.git] / include / wx / osx / carbon / dcprint.h
CommitLineData
5c6eb3a8
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/mac/carbon/dcprint.h
3// Purpose: wxPrinterDC class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 1998-01-01
7// RCS-ID: $Id$
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DCPRINT_H_
13#define _WX_DCPRINT_H_
14
15#include "wx/dc.h"
16#include "wx/dcgraph.h"
17#include "wx/cmndata.h"
18
19class wxNativePrinterDC ;
20
21class WXDLLIMPEXP_CORE wxPrinterDCImpl: public wxGCDCImpl
22{
23public:
24#if wxUSE_PRINTING_ARCHITECTURE
25
26 wxPrinterDCImpl( wxPrinterDC *owner, const wxPrintData& printdata );
27 virtual ~wxPrinterDCImpl();
28
29 virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
30 virtual void EndDoc(void) ;
31 virtual void StartPage(void) ;
32 virtual void EndPage(void) ;
33
6d52ca53 34 wxRect GetPaperRect() const;
5c6eb3a8
SC
35
36 wxPrintData& GetPrintData() { return m_printData; }
37 virtual wxSize GetPPI() const;
6d52ca53 38
5c6eb3a8
SC
39protected:
40 virtual void DoGetSize( int *width, int *height ) const;
6d52ca53 41
5c6eb3a8
SC
42 wxPrintData m_printData ;
43 wxNativePrinterDC* m_nativePrinterDC ;
6d52ca53 44
5c6eb3a8
SC
45private:
46 DECLARE_CLASS(wxPrinterDC)
47#endif // wxUSE_PRINTING_ARCHITECTURE
48};
49
50#endif
51 // _WX_DCPRINT_H_
52