Package wx :: Class MirrorDC
[frames | no frames]

Type MirrorDC

object --+        
         |        
    Object --+    
             |    
            DC --+
                 |
                MirrorDC


wx.MirrorDC is a simple wrapper class which is always associated with a real wx.DC object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges x and y coordinates which makes it possible to reuse the same code to draw a figure and its mirror -- i.e. reflection related to the diagonal line x == y.
Method Summary
MirrorDC __init__(self, dc, mirror)
Creates a mirrored DC associated with the real dc.
  __repr__(self)

Method Details

__init__(self, dc, mirror)
(Constructor)

Creates a mirrored DC associated with the real dc. Everything drawn on the wx.MirrorDC will appear on the dc, and will be mirrored if mirror is True.
Parameters:
dc
           (type=DC)
mirror
           (type=bool)
Returns:
MirrorDC
Overrides:
wx.DC.__init__

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:59 2005 http://epydoc.sf.net