- virtual void CalcScrolledPosition(const int x, const int y, int *xx, int *yy) const ;
- virtual void CalcUnscrolledPosition(const int x, const int y, float *xx, float *yy) const ;
+ // Set the scale factor, used in PrepareDC
+ inline void SetScale(double xs, double ys) { m_scaleX = xs; m_scaleY = ys; }
+ inline double GetScaleX() const { return m_scaleX; }
+ inline double GetScaleY() const { return m_scaleY; }
+
+ virtual void CalcScrolledPosition(int x, int y, int *xx, int *yy) const ;
+ virtual void CalcUnscrolledPosition(int x, int y, float *xx, float *yy) const ;