改进平滑曲线

This commit is contained in:
feiyangqingyun
2021-03-09 09:56:59 +08:00
parent cd0029a6de
commit 3a4b44cd58
9 changed files with 91 additions and 31 deletions

View File

@@ -24,8 +24,9 @@ protected:
private:
Ui::frmSmoothCurve *ui;
QVector<QPointF> datas; //曲线上的点
QPainterPath smoothCurve; //平滑曲线
QPainterPath smoothCurve2; //直接连接点的非平滑曲线
QPainterPath pathNormal; //正常曲线
QPainterPath pathSmooth1; //平滑曲线1
QPainterPath pathSmooth2; //平滑曲线2
};
#endif // FRMSMOOTHCURVE_H