]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/dcgraph.h
Mention wxFILE_EXISTS_NO_FOLLOW in wxFILE_EXISTS_SYMLINK description.
[wxWidgets.git] / interface / wx / dcgraph.h
CommitLineData
6d99a337
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: dcgraph.h
3// Purpose: interface of wxGCDC
4// Author: wxWidgets team
d0bbcd06 5// RCS-ID: $Id$
526954c5 6// Licence: wxWindows licence
6d99a337
RR
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxGCDC
6d99a337
RR
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
20class wxGCDC: public wxDC
21{
22public:
23 /**
24 Constructs a wxGCDC from a wxWindowDC.
25 */
6e350141 26 wxGCDC( const wxWindowDC& windowDC );
d0bbcd06 27
6d99a337
RR
28 /**
29 Constructs a wxGCDC from a wxMemoryDC.
30 */
6e350141 31 wxGCDC( const wxMemoryDC& memoryDC );
d0bbcd06 32
6d99a337
RR
33 /**
34 Constructs a wxGCDC from a wxPrinterDC.
35 */
6e350141 36 wxGCDC( const wxPrinterDC& printerDC );
d0bbcd06 37
8ff9b17d
RD
38 /**
39 Construct a wxGCDC from an existing grtaphics context.
40 */
41 wxGCDC(wxGraphicsContext* context);
42
2d770c4f
VZ
43 /**
44 Constructs a wxGCDC from a wxEnhMetaFileDC.
45
46 This constructor is only available in wxMSW port and when @c
47 wxUSE_ENH_METAFILE build option is enabled, i.e. when wxEnhMetaFileDC
48 class itself is available.
49
50 @since 2.9.3
51 */
6e350141 52 wxGCDC( const wxEnhMetaFileDC& emfDC );
2d770c4f 53
8ff9b17d
RD
54 wxGCDC();
55 virtual ~wxGCDC();
6e350141 56
6d99a337
RR
57 /**
58 Retrieves associated wxGraphicsContext
59 */
6c0e710f 60 wxGraphicsContext* GetGraphicsContext() const;
8ff9b17d
RD
61
62 /**
63 Set the grpahics context to be used for this wxGCDC.
64 */
65 void SetGraphicsContext( wxGraphicsContext* ctx );
66
6d99a337
RR
67};
68