savegraphic.h

来自「此程序实现了类似protel电路画图程序。」· C头文件 代码 · 共 45 行

H
45
字号
// SaveGraphic.h: interface for the SaveGraphic class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SAVEGRAPHIC_H__D7ABA0C1_69EA_11D4_BBD7_600000000ECD__INCLUDED_)
#define AFX_SAVEGRAPHIC_H__D7ABA0C1_69EA_11D4_BBD7_600000000ECD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Elist.h"
#include "pointlist.h"
#include "linelist.h"
#include "textlist.h"
#include "basetool.h"
class SaveGraphic  
{
public:
	SaveGraphic(CWnd * pWnd,CElist* pList , CPointList* pOintList,CLineList* pLineList,CTextList* pTextList);
	virtual ~SaveGraphic();
	void Serialize(CArchive& ar);
	void CreateElement(UINT id,CPoint point,double Rotate,BOOL select,float value);
public:
	CElist* m_pList;
	CPointList* m_PointList;
	CLineList* m_pLineList;
	CTextList* m_pTextList;
	CBaseTool *     m_pBaseTool;
	int nTime;
	UINT m_ElementType;
	BOOL m_iSelected;
	double TotalAngle;
	CPoint CenterPoint;
	float Value;
	CWnd* m_pWnd;
	int parentnumber1,parentnumber2;

	CRect TextRect;
	CString TextString;

	CText * pText;
};

#endif // !defined(AFX_SAVEGRAPHIC_H__D7ABA0C1_69EA_11D4_BBD7_600000000ECD__INCLUDED_)

⌨️ 快捷键说明

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