Qt中如何画曲线?
可能的重复:
如何在 Qt 中以图形方式绘制回旋曲线?
我正在尝试绘制一些我的应用程序中的曲线,我想知道最好的方法。这些曲线实际上是回旋曲线的片段,我知道每个曲线的起点和终点以及它们的起点和终点曲率。
我正在考虑使用 QWT 来绘制曲线,但我需要计算曲线上的所有点。
还有其他(更简单)的方法来绘制曲线吗?
Possible Duplicate:
How to draw clothoids graphically in Qt?
I am trying to draw some curves in my application and I would like to know the best method to do that. The curves are actually segments of clothoids and I know the start and end point for each of them as well as their start and end curvature.
I was thinking of using QWT to plot the curves but I need to calculate all the points on the curve for that.
Is there some other (easier) way to draw the curves?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要什么样的曲线? 图形视图系统提供了许多不同的方式来绘制东西,并且QPainter 你可以手动绘制任何东西。
What kind of curves you need? Graphics view system provide many different ways to draw stuff, and with QPainter you can manually draw anything.