1wxMirrorDC(3)              Erlang Module Definition              wxMirrorDC(3)
2
3
4

NAME

6       wxMirrorDC - Functions for wxMirrorDC class
7

DESCRIPTION

9       wxMirrorDC  is a simple wrapper class which is always associated with a
10       real wxDC object and either forwards all of its operations to it  with‐
11       out changes (no mirroring takes place) or exchanges x and y coordinates
12       which makes it possible to reuse the same code to draw a figure and its
13       mirror - i.e. reflection related to the diagonal line x == y.
14
15       Since: 2.5.0
16
17       This class is derived (and can use functions) from: wxDC
18
19       wxWidgets docs: wxMirrorDC
20

DATA TYPES

22       wxMirrorDC() = wx:wx_object()
23

EXPORTS

25       new(Dc, Mirror) -> wxMirrorDC()
26
27              Types:
28
29                 Dc = wxDC:wxDC()
30                 Mirror = boolean()
31
32              Creates a (maybe) mirrored DC associated with the real dc.
33
34              Everything  drawn on wxMirrorDC will appear (and maybe mirrored)
35              on dc.
36
37              mirror specifies if we do mirror (if it is true) or not  (if  it
38              is false).
39
40       destroy(This :: wxMirrorDC()) -> ok
41
42              Destroys the object.
43
44
45
46wxWidgets team.                    wx 2.3.1                      wxMirrorDC(3)
Impressum