////////////////////////////////////////////////////////////////////////////// //文件 XyInsertDC.h //主要功能: // //程序编写: 2005-12-07 ///////////////////////////////////////////////////////////////////////////// #pragma once #include "XyDC.h" #include "DrawModel/Rotate.h" class AFX_EXT_CLASS CXyInsertDC : public CXyDC { public: CXyInsertDC(void); virtual ~CXyInsertDC(void); virtual void Clear(void); void operator=(CXyInsertDC& dc); virtual CPoint GetScreen(double x, double y); virtual CPoint2D GetScreen8(double x, double y); virtual double GetScreenWidth8(double v); virtual double GetScreenHeight8(double v); virtual long GetScreenWidth(double v); virtual long GetScreenHeight(double v); virtual void Rotate(double &ww, double &wh, double &wa); bool Push(CSize8 sz, double dAngleRadians, CPoint2D point); protected: CRotate* m_pRotate; };