]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/dcgraph.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxGCDC
4 // Author: wxWidgets team
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
12 wxGCDC is a device context that draws on a wxGraphicsContext.
17 @see wxDC, wxGraphicsContext
20 class wxGCDC
: public wxDC
24 Constructs a wxGCDC from a wxWindowDC.
26 wxGCDC( const wxWindowDC
& dc
);
29 Constructs a wxGCDC from a wxMemoryDC.
31 wxGCDC( const wxMemoryDC
& dc
);
34 Constructs a wxGCDC from a wxPrinterDC.
36 wxGCDC( const wxPrinterDC
& dc
);
39 Constructs a wxGCDC from a wxEnhMetaFileDC.
41 This constructor is only available in wxMSW port and when @c
42 wxUSE_ENH_METAFILE build option is enabled, i.e. when wxEnhMetaFileDC
43 class itself is available.
47 wxGCDC( const wxEnhMetaFileDC
& dc
);
50 Retrieves associated wxGraphicsContext
52 wxGraphicsContext
* GetGraphicsContext() const;