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

📄 line.h

📁 一个复杂的画图系统
💻 H
字号:
// Line.h: interface for the CLine class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_LINE_H__F0FB63F5_F735_11D2_B2E0_A1874FE1ADE4__INCLUDED_)#define AFX_LINE_H__F0FB63F5_F735_11D2_B2E0_A1874FE1ADE4__INCLUDED_#if _MSC_VER >= 1000#pragma once#endif // _MSC_VER >= 1000#include "Shape.h"class CLine : public CShape  {protected:	CPoint	m_tStartPt,m_tEndPt,basicpoint;public:	CLine();	virtual ~CLine();public:
	void InitProp();
	void UpdateProp(int sel);
	void invalid(CGeditorView *pView);
	void Mirror(int syd,CDC *pDC,CPoint &basept,CGeditorView* pView);
	void CalForRot(CPoint &pt);
	void rotate(int rsel,CDC *pDC,CPoint pt, CGeditorView *pView);
	int InTest(CPoint pt);
	void dragobj(int leash,CDC *pDC,CPoint point,CGeditorView* pView);
	void SetStartPt(POINT& pt);
	CPoint MidPt;
	float rad;
	CShape * copys(TCHAR &ch);	CPoint& GetStartPt(){		return m_tStartPt;		};	void SetEndPt(POINT& pt);	CPoint& GetEndPt(){		return m_tEndPt;		};	void Draw(CDC* pDC);	void Serialize(CArchive& ar);#ifdef _DEBUG	virtual void AssertValid() const;	virtual void Dump(CDumpContext& dc) const;#endifprotected:	DECLARE_SERIAL(CLine)};#endif // !defined(AFX_LINE_H__F0FB63F5_F735_11D2_B2E0_A1874FE1ADE4__INCLUDED_)

⌨️ 快捷键说明

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