#pragma once ////////////////////////////////////////////////////////////////////////////// //文件 DrawText.h //主要功能: // //程序编写: 2005-12-07 ///////////////////////////////////////////////////////////////////////////// class CDrawText: public LOGFONT { public: CDrawText(void); ~CDrawText(void); void Draw(CDC *pDC); void TextOut(CDC* pDC,double x,double y,CString str); unsigned char GetChar(); double ReadDouble(); char *ReadString(); int Read(int fr); CListv; POSITION p; double angle; double y0; double x0; double x; double y; CSize8 m_delt; double width; }; void DrawText(CDC *pDC,CString str,double x0,double y0,double x_scale,double y_scale,double w,double h,LOGFONT *lf);