<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year><year>2021</year>
    <holder>wxWidgets team.</holder></copyright>
  <legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
  </legalnotice>
  <title>wxMirrorDC</title>
</header>
<module>wxMirrorDC</module>
<modulesummary>Functions for wxMirrorDC class</modulesummary>
<description><p><seeerl marker="wxMirrorDC"><c>wxMirrorDC</c></seeerl> is a simple wrapper class which is always associated with a real <seeerl marker="wxDC"><c>wxDC</c></seeerl> object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges <c>x</c> and <c>y</c> 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.
      </p><p>Since: 2.5.0
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxDC"><c>wxDC</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_mirror_d_c.html">wxMirrorDC</url></p>
  </description>
<datatypes><datatype><name name="wxMirrorDC"/></datatype></datatypes>

<funcs>
  <func>
    <name name="new" arity="2" clause_i="1" since=""/>
    <fsummary>Creates a (maybe) mirrored DC associated with the real <c>dc</c>. </fsummary>
    <desc><p>Creates a (maybe) mirrored DC associated with the real <c>dc</c>. 
      </p><p>Everything drawn on <seeerl marker="wxMirrorDC"><c>wxMirrorDC</c></seeerl> will appear (and maybe mirrored) on <c>dc</c>.
      </p><p><c>mirror</c> specifies if we do mirror (if it is true) or not (if it is false). 
      </p></desc>
  </func>
  
  <func>
    <name name="destroy" arity="1" clause_i="1" since=""/>
    <fsummary>Destructor</fsummary>
    <desc><p>Destroys the object.</p></desc>
  </func>
  </funcs>
</erlref>
