*********** wx.MirrorDC *********** Inheritance diagram for `wx.MirrorDC`: | .. inheritance-diagram:: wx.MirrorDC | Description =========== `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 `y` = `x`. `wx.MirrorDC` has been added in wxWidgets version 2.5.0. Derived From ^^^^^^^^^^^^^ * `wx.DC `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(dc, mirror) 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 the `mirror` parameter is ``True``. **Parameters:** * `dc` (`wx.DC `_) * `mirror` (bool) | **Returns:** `wx.MirrorDC `_