<?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>
    <holder>Ericsson AB. All Rights Reserved.</holder></copyright>
  <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.

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