.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.PostScriptDC: ========================================================================================================================================== |phoenix_title| **wx.PostScriptDC** ========================================================================================================================================== This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files on any platform. See :ref:`wx.DC` for descriptions of the member functions. |phoenix_title| Starting a document =================================== Document should be started with call to :meth:`~wx.DC.StartDoc` prior to calling any function to execute a drawing operation. However, some functions, like :meth:`~wx.DC.SetFont` may be legitimately called even before :meth:`~wx.DC.StartDoc` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class PostScriptDC:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.PostScriptDC.__init__` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: wx.PostScriptDC(DC) **Possible constructors**:: PostScriptDC() PostScriptDC(printData) This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files on any platform. .. method:: __init__(self, *args, **kw) |overload| Overloaded Implementations: :html:`

` **__init__** `(self)` :html:`

` **__init__** `(self, printData)` Constructs a PostScript printer device context from a :ref:`wx.PrintData` object. :param `printData`: :type `printData`: wx.PrintData :html:`

`