.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.ogl.drawn

.. highlight:: python



.. _wx.lib.ogl.drawn.DrawOp:

==========================================================================================================================================
|phoenix_title|  **wx.lib.ogl.drawn.DrawOp**
==========================================================================================================================================





|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>DrawOp</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.ogl.drawn.DrawOp_inheritance.svg" alt="Inheritance diagram of DrawOp" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.ogl.drawn.DrawOp.html" title="wx.lib.ogl.drawn.DrawOp" alt="" coords="5,5,212,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|sub_classes| Known Subclasses
==============================

:class:`wx.lib.ogl.drawn.OpDraw`, :class:`wx.lib.ogl.drawn.OpPolyDraw`, :class:`wx.lib.ogl.drawn.OpSetClipping`, :class:`wx.lib.ogl.drawn.OpSetGDI`

|


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

================================================================================ ================================================================================
:meth:`~wx.lib.ogl.drawn.DrawOp.__init__`                                        Initialize self.  See help(type(self)) for accurate signature.
:meth:`~wx.lib.ogl.drawn.DrawOp.GetOp`                                           
:meth:`~wx.lib.ogl.drawn.DrawOp.GetPerimeterPoint`                               
:meth:`~wx.lib.ogl.drawn.DrawOp.Rotate`                                          not implemented???
:meth:`~wx.lib.ogl.drawn.DrawOp.Scale`                                           not implemented???
:meth:`~wx.lib.ogl.drawn.DrawOp.Translate`                                       not implemented???
================================================================================ ================================================================================


|


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


.. class:: DrawOp(object)



   .. method:: __init__(self, theOp)

      Initialize self.  See help(type(self)) for accurate signature.


   .. method:: GetOp(self)


   .. method:: GetPerimeterPoint(self, x1, y1, x2, y2, xOffset, yOffset, attachmentMode)


   .. method:: Rotate(self, x, y, theta, sinTheta, cosTheta)

      not implemented???


   .. method:: Scale(self,scaleX, scaleY)

      not implemented???


   .. method:: Translate(self, x, y)

      not implemented???


