X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/dcps.h diff --git a/interface/wx/dcps.h b/interface/wx/dcps.h index 34630fb92f..067cb380e3 100644 --- a/interface/wx/dcps.h +++ b/interface/wx/dcps.h @@ -2,13 +2,11 @@ // Name: dcps.h // Purpose: interface of wxPostScriptDC // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxPostScriptDC - @wxheader{dcps.h} This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files on any platform. See wxDC for descriptions of @@ -20,39 +18,12 @@ class wxPostScriptDC : public wxDC { public: - /** - Constructs a PostScript printer device context from a wxPrintData - object. - */ - wxPostScriptDC(const wxPrintData& printData); - /** - Constructor. @a output is an optional file for printing to, and if - @a interactive is @true a dialog box will be displayed for adjusting - various parameters. @a parent is the parent of the printer dialog box. - - Use the wxDC::Ok() member to test whether the constructor was - successful in creating a usable device context. - - See wxPrintData for various functions to set and get PostScript - printing settings. - - @deprecated This constructor is deprecated. - */ - wxPostScriptDC(const wxString& output, - bool interactive = true, - wxWindow* parent); + wxPostScriptDC(); /** - Return resolution used in PostScript output. - - @see SetResolution() + Constructs a PostScript printer device context from a wxPrintData object. */ - static int GetResolution(); + wxPostScriptDC(const wxPrintData& printData); - /** - Set resolution (in pixels per inch) that will be used in PostScript - output. Default is 720ppi. - */ - static void SetResolution(int ppi); };