mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-28 15:50:17 +08:00
added wxMirrorDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
+2
-2
@@ -123,9 +123,9 @@ All GUI ports:
|
||||
determine whether a window should receive idle events.
|
||||
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
|
||||
styles for use with conservative idle and update event modes.
|
||||
- wxMSW and wxGTK now send menu update events only when a menu is
|
||||
about to be used.
|
||||
- send menu update events only when a menu is about to be used (MSW/GTK)
|
||||
- improved event processing performance (Hans Van Leemputten)
|
||||
- added wxMirrorDC class
|
||||
|
||||
Unix:
|
||||
|
||||
|
||||
@@ -167,6 +167,7 @@ by passing different device contexts.
|
||||
\twocolitem{\helpref{wxDC}{wxdc}}{The device context base class}
|
||||
\twocolitem{\helpref{wxMemoryDC}{wxmemorydc}}{A device context for drawing into bitmaps}
|
||||
\twocolitem{\helpref{wxMetafileDC}{wxmetafiledc}}{A device context for drawing into metafiles}
|
||||
\twocolitem{\helpref{wxMirrorDC}{wxmirrordc}}{A proxy device context allowing for simple mirroring.}
|
||||
\twocolitem{\helpref{wxPostScriptDC}{wxpostscriptdc}}{A device context for drawing into PostScript files}
|
||||
\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{A device context for drawing to printers}
|
||||
\end{twocollist}
|
||||
|
||||
@@ -197,6 +197,7 @@
|
||||
\input metafile.tex
|
||||
\input mimetype.tex
|
||||
\input minifram.tex
|
||||
\input mirrordc.tex
|
||||
\input module.tex
|
||||
\input mcaptevt.tex
|
||||
\input mouseevt.tex
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% 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}}
|
||||
|
||||
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).
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user