📄 bezier.h
字号:
#ifndef BEZIERCURVE_H
#define BEZIERCURVE_H
#include "stdafx.h"
struct fPoint
{
float x, y;
};
//
// For doing proper rounding when casting to int.
//
#define ROUND(x) ((int) (x + 0.5f))
void DrawBezier(CDC* pDC, CPoint* pPoints, int nSegments);
void DrawBeziers(CDC* pDC, CPoint* pPoints, int nPoints, int nSegments);
void BezierComputePoint(float fU, fPoint* pDstPoint, CPoint* pSrcPoints);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -