]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/dcmirror.h
deprecate wxDos2UnixFilename, wxUnix2DosFilename, wxStripExtension, wxGetTempFileName...
[wxWidgets.git] / interface / wx / dcmirror.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcmirror.h
e54c96f1 3// Purpose: interface of wxMirrorDC
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxMirrorDC
7c913512
FM
11
12 wxMirrorDC is a simple wrapper class which is always associated with a real
3a7fb603
BP
13 wxDC object and either forwards all of its operations to it without changes
14 (no mirroring takes place) or exchanges @e x and @e y coordinates which
15 makes it possible to reuse the same code to draw a figure and its mirror --
16 i.e. reflection related to the diagonal line x == y.
7c913512 17
1e24c2af 18 @since 2.5.0
7c913512 19
23324ae1
FM
20 @library{wxcore}
21 @category{dc}
22*/
23class wxMirrorDC : public wxDC
24{
25public:
26 /**
3a7fb603
BP
27 Creates a (maybe) mirrored DC associated with the real @a dc.
28 Everything drawn on wxMirrorDC will appear (and maybe mirrored) on
29 @a dc.
30
4cc4bfaf 31 @a mirror specifies if we do mirror (if it is @true) or not (if it is
23324ae1
FM
32 @false).
33 */
34 wxMirrorDC(wxDC& dc, bool mirror);
35};
e54c96f1 36