1wxWindowDC(3) Erlang Module Definition wxWindowDC(3)
2
3
4
6 wxWindowDC - Functions for wxWindowDC class
7
9 A wxWindowDC must be constructed if an application wishes to paint on
10 the whole area of a window (client and decorations). This should nor‐
11 mally be constructed as a temporary stack object; don't store a wxWin‐
12 dowDC object.
13
14 To draw on a window from inside an EVT_PAINT() handler, construct a wx‐
15 PaintDC object instead.
16
17 To draw on the client area of a window from outside an EVT_PAINT() han‐
18 dler, construct a wxClientDC object.
19
20 A wxWindowDC object is initialized to use the same font and colours as
21 the window it is associated with.
22
23 See: wxDC, wxMemoryDC, wxPaintDC, wxClientDC, wxScreenDC
24
25 This class is derived (and can use functions) from: wxDC
26
27 wxWidgets docs: wxWindowDC
28
30 wxWindowDC() = wx:wx_object()
31
33 new(Window) -> wxWindowDC()
34
35 Types:
36
37 Window = wxWindow:wxWindow()
38
39 Constructor.
40
41 Pass a pointer to the window on which you wish to paint.
42
43 destroy(This :: wxWindowDC()) -> ok
44
45 Destroys the object.
46
47
48
49wxWidgets team. wx 2.1.4 wxWindowDC(3)