⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphicdisp.h

📁 实现了区域填充已经其他画线功能
💻 H
字号:
#if !defined(AFX_GRAPHICDISP_H_INCLUDED_)
#define AFX_GRAPHICDISP_H_INCLUDED_

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

class CGraphicDisp
{
public:
	void Pnarc(int x0, int y0, int r, COLORREF crColor);
	void putdot(int x0, int y0, int x, int y,COLORREF crColor);
	void MidpointCircle(int x0,int y0,int r,COLORREF crColor=RGB(255,0,0));
	void lineBresenham(int x1,int y1,int x2,int y2,COLORREF  crColor=RGB(255,0,0));
	void lineDDA(int x1,int y1,int x2,int y2,COLORREF  crColor=RGB(0,255,255));
	CDC *pDC;
	CGraphicDisp(CDC *poDC);
};


#endif // !defined(AFX_GRAPHICDISP_H_INCLUDED_)

⌨️ 快捷键说明

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