]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcgraph.h
Added wxRICHTEXT_SETSTYLE_RESET SetStyleEx() flag to allow for clearing attributes...
[wxWidgets.git] / include / wx / dcgraph.h
index 3805a4a7e1511c62e5a7eccd19609456201209ca..091ebdfc32107a21e3482b49d97872e5f39f07b5 100755 (executable)
 
 #include "wx/geometry.h"
 #include "wx/dynarray.h"
+#include "wx/graphics.h"
 
-class WXDLLEXPORT wxGraphicsContext;
 class WXDLLEXPORT wxWindowDC;
 
-
 #ifdef __WXMAC__
 #define wxGCDC wxDC
 #endif
@@ -37,6 +36,9 @@ class WXDLLEXPORT wxGCDC:
 
 public:
     wxGCDC(const wxWindowDC& dc);
+#ifdef __WXMSW__
+    wxGCDC( const wxMemoryDC& dc);
+#endif    
     wxGCDC();
     virtual ~wxGCDC();
 
@@ -170,6 +172,8 @@ protected:
 protected:
     // scaling variables
     double       m_mm_to_pix_x, m_mm_to_pix_y;
+    wxGraphicsMatrix m_matrixOriginal;
+    wxGraphicsMatrix m_matrixCurrent;
 
     double m_formerScaleX, m_formerScaleY;