georect.h
来自「软件参考Windows操作系统下的画图程序」· C头文件 代码 · 共 29 行
H
29 行
// GeoRect.h: interface for the GeoRect class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GEORECT_H__D5977F5B_9183_11D7_908B_00A00CC807C7__INCLUDED_)
#define AFX_GEORECT_H__D5977F5B_9183_11D7_908B_00A00CC807C7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//
//矩形类
//
#include "GeoTwoPoint.h"
#include "GeoLine.h"
class GeoRect : public GeoTwoPoint
{
public:
GeoRect();
GeoRect(CPoint p1, CPoint p2)
{ SetTwoPoint( p1, p2); }
virtual ~GeoRect();
void Draw(CDC &dc);
};
#endif // !defined(AFX_GEORECT_H__D5977F5B_9183_11D7_908B_00A00CC807C7__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?