⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 text.h

📁 一个复杂的画图系统
💻 H
字号:
// text.h: interface for the CText class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TEXT_H__26BE5460_39F7_11D4_9B7C_0000B45DD4B6__INCLUDED_)
#define AFX_TEXT_H__26BE5460_39F7_11D4_9B7C_0000B45DD4B6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Shape.h"

class CText : public CShape  
{
public:
	void UpdateProp();
	void changepts(int sel);
	void CalForRot(CPoint &pt);
	void rotate(int rsel,CDC *pDC,CPoint pt, CGeditorView *pView);
	CShape * copys(TCHAR &ch);
	void InitProp();
	void serialfont(CArchive &ar);
	void Serialize(CArchive& ar);
	void invalid(CGeditorView *pView);
	void dragobj(int leash,CDC *pDC,CPoint pt,CGeditorView* pView);
	int InTest(CPoint pt);
	int RotateNoInit;
	LOGFONT tlog;
	CString textstr;
	CPoint pts[4];
	CRect rect;
	int Rotnumber;
	CText();
	CText(LOGFONT &log,CPoint &pt,COLORREF &clr,CString &str);
	void Draw(CDC *pDC);
	virtual ~CText();

};

#endif // !defined(AFX_TEXT_H__26BE5460_39F7_11D4_9B7C_0000B45DD4B6__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -