/////////////////////////////////////////////////////////////////////////////
// Name: dcps.h
-// Purpose: documentation for wxPostScriptDC class
+// Purpose: interface of wxPostScriptDC
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
static void SetResolution(int ppi);
};
-
-// ============================================================================
-// Global functions/macros
-// ============================================================================
-
-/**
- Gets the printer command used to print a file. The default is @c lpr.
-*/
-wxString wxGetPrinterCommand();
-
-/**
- Sets the printer command used to print a file. The default is @c lpr.
-*/
-void wxSetPrinterCommand(const wxString& command);
-
-/**
- Gets the orientation (PS_PORTRAIT or PS_LANDSCAPE). The default is PS_PORTRAIT.
-*/
-int wxGetPrinterOrientation();
-
-/**
- Sets the additional options for the print command (e.g. specific printer). The
- default is nothing.
-*/
-void wxSetPrinterOptions(const wxString& options);
-
-/**
- Gets the translation (from the top left corner) for PostScript output. The
- default is 0.0, 0.0.
-*/
-void wxGetPrinterTranslation(float* x, float* y);
-
-/**
- Sets the scaling factor for PostScript output. The default is 1.0, 1.0.
-*/
-void wxSetPrinterScaling(float x, float y);
-
-/**
- Sets the orientation (PS_PORTRAIT or PS_LANDSCAPE). The default is PS_PORTRAIT.
-*/
-void wxSetPrinterOrientation(int orientation);
-
-/**
- Sets the printing mode controlling where output is sent (PS_PREVIEW, PS_FILE or
- PS_PRINTER).
- The default is PS_PREVIEW.
-*/
-void wxSetPrinterMode(int mode);
-
-/**
- Sets the PostScript output filename.
-*/
-void wxSetPrinterFile(const wxString& filename);
-
-/**
- Gets the PostScript output filename.
-*/
-wxString wxGetPrinterFile();
-
-/**
- Gets the additional options for the print command (e.g. specific printer). The
- default is nothing.
-*/
-wxString wxGetPrinterOptions();
-
-/**
- Gets the command used to view a PostScript file. The default depends on the
- platform.
-*/
-wxString wxGetPrinterPreviewCommand();
-
-/**
- Gets the printing mode controlling where output is sent (PS_PREVIEW, PS_FILE or
- PS_PRINTER).
- The default is PS_PREVIEW.
-*/
-int wxGetPrinterMode();
-
-/**
- Gets the scaling factor for PostScript output. The default is 1.0, 1.0.
-*/
-void wxGetPrinterScaling(float* x, float* y);
-
-/**
- Sets the command used to view a PostScript file. The default depends on the
- platform.
-*/
-void wxSetPrinterPreviewCommand(const wxString& command);
-