.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2018 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. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;"> <img id="toggleBlock-trigger" src="_static/images/closed.png"/> Inheritance diagram for class <strong>PostScriptDC</strong>: </div> <div id="toggleBlock-summary" style="display:block;"></div> <div id="toggleBlock-content" style="display:none;"> <p class="graphviz"> <center><img src="_static/images/inheritance/wx.PostScriptDC_inheritance.png" alt="Inheritance diagram of PostScriptDC" usemap="#dummy" class="inheritance"/></center> <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script> <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.PostScriptDC.html" title="This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files on any platform." alt="" coords="5,160,137,189"/> <area shape="rect" id="node2" href="wx.DC.html" title="A wx.DC is a `'device context'` onto which graphics and text can be drawn." alt="" coords="35,83,107,112"/> <area shape="rect" id="node3" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="27,5,115,35"/> </map> </p> </div> | |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:`<hr class="overloadsep" /><br />` **__init__** `(self)` :html:`<hr class="overloadsep" /><br />` **__init__** `(self, printData)` Constructs a PostScript printer device context from a :ref:`wx.PrintData` object. :param `printData`: :type `printData`: wx.PrintData :html:`<hr class="overloadsep" /><br />`