2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcps.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of wxPostScriptDC
|
2008-03-08 13:52:38 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
2010-07-13 13:29:13 +00:00
|
|
|
// Licence: wxWindows licence
|
2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxPostScriptDC
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-04-19 08:12:58 +00:00
|
|
|
This defines the wxWidgets Encapsulated PostScript device context, which
|
|
|
|
can write PostScript files on any platform. See wxDC for descriptions of
|
|
|
|
the member functions.
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
@library{wxbase}
|
|
|
|
@category{dc}
|
|
|
|
*/
|
|
|
|
class wxPostScriptDC : public wxDC
|
|
|
|
{
|
|
|
|
public:
|
2008-04-19 08:12:58 +00:00
|
|
|
/**
|
2008-09-18 18:47:34 +00:00
|
|
|
Constructs a PostScript printer device context from a wxPrintData object.
|
2008-04-19 08:12:58 +00:00
|
|
|
*/
|
|
|
|
wxPostScriptDC(const wxPrintData& printData);
|
2008-09-18 18:47:34 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
/**
|
2008-04-19 08:12:58 +00:00
|
|
|
Return resolution used in PostScript output.
|
|
|
|
|
|
|
|
@see SetResolution()
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
2009-01-10 22:10:54 +00:00
|
|
|
virtual int GetResolution() const;
|
2008-03-08 13:52:38 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
Set resolution (in pixels per inch) that will be used in PostScript
|
|
|
|
output. Default is 720ppi.
|
|
|
|
*/
|
2009-01-10 22:10:54 +00:00
|
|
|
virtual wxRect GetPaperRect() const;
|
2008-03-08 13:52:38 +00:00
|
|
|
};
|
|
|
|
|