📄 polygon.h
字号:
// Polygon.h: interface for the CPolygon class.
//
// Class Name : CPolygon
// Author : Minseok Choi, Hanyang Univ. Image Engineering Lab.
// Date : 2000. 1. 10
// 1. 捞傈 康开 汗荤矫 荤侩且 Polygon 按眉
// 2. CEdgeList甫 惑加 罐澜
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_POLYGON_H__A0C576E6_330C_46DD_B018_E6FD3CF292A4__INCLUDED_)
#define AFX_POLYGON_H__A0C576E6_330C_46DD_B018_E6FD3CF292A4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "EdgeList.h"
class CPolygonList;
class CPolygon : public CEdgeList
{
friend CPolygonList;
public:
// 扁夯 积己磊
CPolygon();
// 家戈磊
~CPolygon();
// polygon 沥焊甫 拳搁俊 钎矫, pDC : 措惑 DC, col : 祸惑
void Paint(CDC* pDC, COLORREF col);
// Polygon阑 捞悼, dx : x规氢 捞悼, dy : y规氢 捞悼
void Move(int dx, int dy);
// CRgn 按眉 积己
void MakeRgn();
// Polygon 康开救俊 point 粮犁 咯何 八荤, pnt : 谅钎
BOOL PtInRgn(CPoint pnt);
// EdgeList 涝仿 罐酒 sub-sampling窍咯 polygon 积己
void Set(CEdgeList* pList);
protected:
CRgn m_Rgn; // CRgn 按眉
CPolygon* m_pNext; // 捞傈 polygon 按眉 器牢磐
CPolygon* m_pPrev; // 促澜 polygon 按眉 器牢磐
};
#endif // !defined(AFX_POLYGON_H__A0C576E6_330C_46DD_B018_E6FD3CF292A4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -