]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/mirrordc.tex
escape underscores introduced by the last change
[wxWidgets.git] / docs / latex / wx / mirrordc.tex
CommitLineData
8f20ea03
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: mirrordc.tex
3%% Purpose: wxMirrorDC documentation
4%% Author: Vadim Zeitlin
5%% Modified by:
6%% Created: 21.07.03
7%% RCS-ID: $Id$
8%% Copyright: (c) 2003 Vadim Zeitlin
8795498c 9%% License: wxWindows license
8f20ea03
VZ
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxMirrorDC}}\label{wxmirrordc}
13
14wxMirrorDC is a simple wrapper class which is always associated with a real
15\helpref{wxDC}{wxdc} object and either forwards all of its operations to it
16without changes (no mirroring takes place) or exchanges {\it x} and {\it y}
17coordinates which makes it possible to reuse the same code to draw a figure and
18its mirror -- i.e. reflection related to the diagonal line $x == y$.
19
fc2171bd 20wxMirrorDC has been added in wxWidgets version 2.5.0.
8f20ea03
VZ
21
22\wxheading{Derived from}
23
7376079d
VZ
24\helpref{wxDC}{wxdc}\\
25\helpref{wxObject}{wxobject}
8f20ea03
VZ
26
27\wxheading{Include files}
28
29<wx/dcmirror.h>
30
a7af285d
VZ
31\wxheading{Library}
32
33\helpref{wxCore}{librarieslist}
34
8f20ea03
VZ
35
36\helponly{\insertatlevel{2}{\wxheading{Members}}}
37
38\membersection{wxMirrorDC::wxMirrorDC}\label{wxmirrordcwxmirrordc}
39
40\func{}{wxMirrorDC}{\param{wxDC\& }{dc}, \param{bool }{mirror}}
41
36be32ec
VS
42Creates a (maybe) mirrored DC associated with the real \arg{dc}. Everything
43drawn on wxMirrorDC will appear (and maybe mirrored) on \arg{dc}.
8f20ea03 44
36be32ec
VS
45\arg{mirror} specifies if we do mirror (if it is \true) or not (if it is
46\false).
8f20ea03 47