line.h

来自「显示地震剖面对地震专业的学生来说显示地震剖面特别重要本程序实现了地震剖面的绘制」· C头文件 代码 · 共 35 行

H
35
字号
// Line.h: interface for the CLine class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_LINE_H__9A58F7B7_93F6_11D9_B9DA_00E04CB1BB02__INCLUDED_)
#define AFX_LINE_H__9A58F7B7_93F6_11D9_B9DA_00E04CB1BB02__INCLUDED_

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

class CLine : public CObject  
{
DECLARE_SERIAL(CLine)
public:
	int GetNext();
	void SetNext(int i);
	int GetStatus();
	void Empty();
	bool isempty();
	void Serialize(CArchive & ar);
	void DrawLine(CDC * pdc);
	CLine(CPoint pt1,CPoint pt2);
	CLine();
	virtual ~CLine();

private:
	int m_next;
	int m_status;
	CPoint m_pt2;
	CPoint m_pt1;
};

#endif // !defined(AFX_LINE_H__9A58F7B7_93F6_11D9_B9DA_00E04CB1BB02__INCLUDED_)

⌨️ 快捷键说明

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