myrect.h
来自「用多态实现的画图小程序」· C头文件 代码 · 共 26 行
H
26 行
// MyRect.h: interface for the CMyRect class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MYRECT_H__45F4B2CF_E82E_457A_A737_6F642426E3E5__INCLUDED_)
#define AFX_MYRECT_H__45F4B2CF_E82E_457A_A737_6F642426E3E5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Shape.h"
class CMyRect : public CShape
{
DECLARE_SERIAL(CMyRect)
public:
CMyRect(CPoint ptStart, CPoint ptEnd, COLORREF iColor);
virtual void Draw(CDC *pDC, CPoint ptStart, CPoint ptEnd, COLORREF iColor);
CMyRect();
virtual ~CMyRect();
};
#endif // !defined(AFX_MYRECT_H__45F4B2CF_E82E_457A_A737_6F642426E3E5__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?