X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b687dd2fc1680f149a740c61b095b6ac1f64ef08..523d2f145ef7d8e653fbe1f16797c1f0b4d91c16:/include/wx/dcgraph.h diff --git a/include/wx/dcgraph.h b/include/wx/dcgraph.h index 3805a4a7e1..091ebdfc32 100755 --- a/include/wx/dcgraph.h +++ b/include/wx/dcgraph.h @@ -16,11 +16,10 @@ #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;