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