wxwidgets/include/wx/osx/dcprint.h
Vadim Zeitlin e43f913313 Remove all blank "Modified by:" lines from top comment blocks
Having this line is not useful at all as it doesn't contain any
information and shouldn't be filled in the future as git-shortlog can
provide the information about people who changed the given file more
more reliably than consulting the comments in any case.

Keep the non-blank lines for historical purposes.
2023-10-22 01:22:48 +02:00

50 lines
1.3 KiB
C++

/////////////////////////////////////////////////////////////////////////////
// Name: wx/osx/dcprint.h
// Purpose: wxPrinterDC class
// Author: Stefan Csomor
// Created: 1998-01-01
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DCPRINT_H_
#define _WX_DCPRINT_H_
#include "wx/dc.h"
#include "wx/dcgraph.h"
#include "wx/cmndata.h"
class wxNativePrinterDC ;
class WXDLLIMPEXP_CORE wxPrinterDCImpl: public wxGCDCImpl
{
public:
#if wxUSE_PRINTING_ARCHITECTURE
wxPrinterDCImpl( wxPrinterDC *owner, const wxPrintData& printdata );
virtual ~wxPrinterDCImpl();
virtual bool StartDoc( const wxString& WXUNUSED(message) ) override;
virtual void EndDoc() override;
virtual void StartPage() override;
virtual void EndPage() override;
wxRect GetPaperRect() const override;
wxPrintData& GetPrintData() { return m_printData; }
virtual wxSize GetPPI() const override;
protected:
virtual void DoGetSize( int *width, int *height ) const override;
wxPrintData m_printData ;
wxNativePrinterDC* m_nativePrinterDC ;
private:
wxDECLARE_CLASS(wxPrinterDC);
#endif // wxUSE_PRINTING_ARCHITECTURE
};
#endif
// _WX_DCPRINT_H_