]> git.saurik.com Git - wxWidgets.git/blob - interface/dcgraph.h
was incorrectly forcing the font to 12 in most cases, fixes #4745
[wxWidgets.git] / interface / 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 @wxheader{dcgraph.h}
12
13 wxGCDC is a device context that draws on a wxGraphicsContext.
14
15 @library{wxcore}
16 @category{dc}
17
18 @see wxDC, wxGraphicsContext
19 */
20
21 class wxGCDC: public wxDC
22 {
23 public:
24 /**
25 Constructs a wxGCDC from a wxWindowDC.
26 */
27 wxGCDC( const wxWindowDC& dc );
28
29 /**
30 Constructs a wxGCDC from a wxMemoryDC.
31 */
32 wxGCDC( const wxMemoryDC& dc );
33
34 /**
35 Constructs a wxGCDC from a wxPrinterDC.
36 */
37 wxGCDC( const wxPrinterDC& dc );
38
39 /**
40 Retrieves associated wxGraphicsContext
41 */
42 wxGraphicsContext* GetGraphicsContext();
43 };
44