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.
38 lines
807 B
C++
38 lines
807 B
C++
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//文件 DrawDF.h
|
|
//主要功能:
|
|
// 基础类库
|
|
//程序编写: 2009-10-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include "Curve.h"
|
|
#include "screenxy.h"
|
|
|
|
class AFX_EXT_CLASS CDrawDF
|
|
{
|
|
public:
|
|
CDrawDF(void);
|
|
~CDrawDF(void);
|
|
|
|
void Draw(CDC* pDC); //显示商标
|
|
void DrawDoubleFox(CDC* pDC); //显示DOUBLEFOX字体曲线
|
|
|
|
void SetDrawRect(CRect rect); //调用Draw函数之前必须先调用该函数设置显示范围
|
|
void Write(LPCTSTR lpszFileName);
|
|
void WriteDoubleFox(CFile& fw);
|
|
|
|
int GetDoubleFoxTextCurve(CPtrList& curveList);
|
|
|
|
protected:
|
|
void ClearPoint(void);
|
|
|
|
CScreenXY sxy; //屏幕与实际坐标转换
|
|
CRect m_rect; //显示范围
|
|
|
|
CCurve curve[3];
|
|
COLORREF color[3];
|
|
POINT *point[3];
|
|
};
|