X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e5d4c38a3881ac290689af3ddf2a96623d97683..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/affinematrix2d.h?ds=sidebyside diff --git a/include/wx/affinematrix2d.h b/include/wx/affinematrix2d.h index dfd4969614..28055f8d35 100644 --- a/include/wx/affinematrix2d.h +++ b/include/wx/affinematrix2d.h @@ -4,12 +4,16 @@ // Author: Based on wxTransformMatrix by Chris Breeze, Julian Smart // Created: 2011-04-05 // Copyright: (c) wxWidgets team -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_AFFINEMATRIX2D_H_ #define _WX_AFFINEMATRIX2D_H_ +#include "wx/defs.h" + +#if wxUSE_GEOMETRY + #include "wx/affinematrix2dbase.h" // A simple implementation of wxAffineMatrix2DBase interface done entirely in @@ -32,7 +36,7 @@ public: virtual bool IsEqual(const wxAffineMatrix2DBase& t) const; virtual void Translate(wxDouble dx, wxDouble dy); virtual void Scale(wxDouble xScale, wxDouble yScale); - virtual void Rotate(wxDouble ccRadians); + virtual void Rotate(wxDouble cRadians); protected: virtual wxPoint2DDouble DoTransformPoint(const wxPoint2DDouble& p) const; @@ -42,4 +46,6 @@ private: wxDouble m_11, m_12, m_21, m_22, m_tx, m_ty; }; +#endif // wxUSE_GEOMETRY + #endif // _WX_AFFINEMATRIX2D_H_