You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
740 B
C

1 month ago
#pragma once
//////////////////////////////////////////////////////////////////////////////
//<2F>ļ<EFBFBD> DrawText.h
//<2F><>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD>:
//
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д: 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);
CList<unsigned char,unsigned char>v;
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);