7376079d09
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
48 lines
1.4 KiB
TeX
48 lines
1.4 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
%% Name: mirrordc.tex
|
|
%% Purpose: wxMirrorDC documentation
|
|
%% Author: Vadim Zeitlin
|
|
%% Modified by:
|
|
%% Created: 21.07.03
|
|
%% RCS-ID: $Id$
|
|
%% Copyright: (c) 2003 Vadim Zeitlin
|
|
%% License: wxWindows license
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\section{\class{wxMirrorDC}}\label{wxmirrordc}
|
|
|
|
wxMirrorDC is a simple wrapper class which is always associated with a real
|
|
\helpref{wxDC}{wxdc} object and either forwards all of its operations to it
|
|
without changes (no mirroring takes place) or exchanges {\it x} and {\it 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$.
|
|
|
|
wxMirrorDC has been added in wxWidgets version 2.5.0.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxDC}{wxdc}\\
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/dcmirror.h>
|
|
|
|
\wxheading{Library}
|
|
|
|
\helpref{wxCore}{librarieslist}
|
|
|
|
|
|
\helponly{\insertatlevel{2}{\wxheading{Members}}}
|
|
|
|
\membersection{wxMirrorDC::wxMirrorDC}\label{wxmirrordcwxmirrordc}
|
|
|
|
\func{}{wxMirrorDC}{\param{wxDC\& }{dc}, \param{bool }{mirror}}
|
|
|
|
Creates a (maybe) mirrored DC associated with the real \arg{dc}. Everything
|
|
drawn on wxMirrorDC will appear (and maybe mirrored) on \arg{dc}.
|
|
|
|
\arg{mirror} specifies if we do mirror (if it is \true) or not (if it is
|
|
\false).
|
|
|