.. 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

   <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.svg" 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,159,155,188"/> <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="42,82,119,111"/> <area shape="rect" id="node3" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="31,5,130,34"/> </map> 
   </p>
   </div>

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.PostScriptDC.__init__`                                                
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: wx.PostScriptDC(DC)

   **Possible constructors**::

       PostScriptDC() -> None
       
       PostScriptDC(printData) -> None
       
   
   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)`
      
      
      
      :rtype: `None`     
      
      
      
      
      
      
      
      :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
      
      
      
      
      :rtype: `None`     
      
      
      
      
      
      
      
      :html:`<hr class="overloadsep" /><br />`





