]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/dcgraph.h
Simplify and correct MSW selection of background brush for children painting.
[wxWidgets.git] / interface / wx / dcgraph.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dcgraph.h
3 // Purpose: interface of wxGCDC
4 // Author: wxWidgets team
5 // RCS-ID: $Id$
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
8
9 /**
10 @class wxGCDC
11
12 wxGCDC is a device context that draws on a wxGraphicsContext.
13
14 @library{wxcore}
15 @category{dc}
16
17 @see wxDC, wxGraphicsContext
18 */
19
20 class wxGCDC: public wxDC
21 {
22 public:
23 /**
24 Constructs a wxGCDC from a wxWindowDC.
25 */
26 wxGCDC( const wxWindowDC& dc );
27
28 /**
29 Constructs a wxGCDC from a wxMemoryDC.
30 */
31 wxGCDC( const wxMemoryDC& dc );
32
33 /**
34 Constructs a wxGCDC from a wxPrinterDC.
35 */
36 wxGCDC( const wxPrinterDC& dc );
37
38 /**
39 Retrieves associated wxGraphicsContext
40 */
41 wxGraphicsContext* GetGraphicsContext();
42 };
43