wxmirrordcwxmirrordc is a simple wrapper class which is always associated with a real wxdc object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges x and 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. derived from include files <wx/dcmirror.h>
wxmirrordc::wxmirrordcwxmirrordc(wxdc& dc, bool mirror) creates a (maybe) mirrored dc associated with the real dc. everything drawn on wxmirrordc will appear (and maybe mirrored) on dc. mirror specifies if we do mirror (if it is true) or not (if it is false).
|