graphicdisp.h
来自「实现了区域填充已经其他画线功能」· C头文件 代码 · 共 21 行
H
21 行
#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 + =
减小字号Ctrl + -
显示快捷键?