2003-07-21 19:15:17 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% 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 wxWindows version 2.5.0.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxDC}{wxdc}
|
|
|
|
|
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/dcmirror.h>
|
|
|
|
|
|
|
|
|
|
|
|
\helponly{\insertatlevel{2}{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxMirrorDC::wxMirrorDC}\label{wxmirrordcwxmirrordc}
|
|
|
|
|
|
|
|
\func{}{wxMirrorDC}{\param{wxDC\& }{dc}, \param{bool }{mirror}}
|
|
|
|
|
2003-07-28 07:57:03 +00:00
|
|
|
Creates a (maybe) mirrored DC associated with the real \arg{dc}. Everything
|
|
|
|
drawn on wxMirrorDC will appear (and maybe mirrored) on \arg{dc}.
|
2003-07-21 19:15:17 +00:00
|
|
|
|
2003-07-28 07:57:03 +00:00
|
|
|
\arg{mirror} specifies if we do mirror (if it is \true) or not (if it is
|
|
|
|
\false).
|
2003-07-21 19:15:17 +00:00
|
|
|
|