~registry/dolphin-emu/triforce

« back to all changes in this revision

Viewing changes to Externals/wxWidgets3/include/wx/osx/dcprint.h

  • Committer: Sérgio Benjamim
  • Date: 2015-02-13 05:54:40 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150213055440-ey2rt3sjpy27km78
Dolphin Triforce branch from code.google, commit b957980 (4.0-315).

Show diffs side-by-side

added added

removed removed

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