]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/dcgraph.h
Mention wxGCDC
[wxWidgets.git] / interface / dcgraph.h
diff --git a/interface/dcgraph.h b/interface/dcgraph.h
new file mode 100644 (file)
index 0000000..e4d4459
--- /dev/null
@@ -0,0 +1,44 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        dcgraph.h
+// Purpose:     interface of wxGCDC
+// Author:      wxWidgets team
+// RCS-ID:      $Id: $
+// Licence:     wxWindows license
+/////////////////////////////////////////////////////////////////////////////
+
+/**
+    @class wxGCDC
+    @wxheader{dcgraph.h}
+
+    wxGCDC is a device context that draws on a wxGraphicsContext.
+
+    @library{wxcore}
+    @category{dc}
+
+    @see wxDC, wxGraphicsContext
+*/
+
+class wxGCDC: public wxDC
+{
+public:
+    /**
+       Constructs a wxGCDC from a wxWindowDC.
+    */
+    wxGCDC( const wxWindowDC& dc );
+    
+    /**
+       Constructs a wxGCDC from a wxMemoryDC.
+    */
+    wxGCDC( const wxMemoryDC& dc );
+    
+    /**
+       Constructs a wxGCDC from a wxPrinterDC.
+    */
+    wxGCDC( const wxPrinterDC& dc );
+    /**
+       Retrieves associated wxGraphicsContext
+    */
+    wxGraphicsContext* GetGraphicsContext();
+};
+