📄 graphicdisp.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 + -