📄 graphrectangle.h
字号:
// GraphRectangle.h: interface for the CGraphRectangle class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GRAPHRECTANGLE_H__F0B86580_94F9_486D_B2CA_F4B8142ABA43__INCLUDED_)
#define AFX_GRAPHRECTANGLE_H__F0B86580_94F9_486D_B2CA_F4B8142ABA43__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Graph.h"
class CGraphRectangle : public CGraph
{
public:
void Draw(CDC *pDC);
CPoint GetPoint2();
void SetPoint2(CPoint point);
CPoint GetPoint1();
void SetPoint1(CPoint point);
CGraphRectangle();
virtual ~CGraphRectangle();
void Serialize(CArchive& ar);
protected:
CPoint m_point1;
CPoint m_point2;
int a;
};
#endif // !defined(AFX_GRAPHRECTANGLE_H__F0B86580_94F9_486D_B2CA_F4B8142ABA43__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -