C ++库来绘制图形 [英] C++ library for drawing graphics

查看:233
本文介绍了C ++库来绘制图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能建议我一个很好的,免费的,易于使用的库为C ++允许绘制数学函数用于Microsoft Windows的窗口? (例如抛物线X ^ 2 + 5X + 3 = 0)

Someone can suggest me a good, free, easy to use library for c++ that allow to draw a mathematical function in a window for microsoft windows? (e.g. the parabola x^2+5x+3=0)

推荐答案

另外wxWidgets的基础选择是 wxArt2D ,它得到了吨好等特点绘制数学函数的曲线,就像你可以很容易地通过这个 Y = 140 * COS(X / 20)+ 80 * COS(X * 2/20)+ 40 * COS( X * 4/20)以曲线对象,它会拿得出,这是惊人的! 查阅这些截图有一些曲线,通过的方程绘制字符串的格式!

Another wxWidgets-based option is wxArt2D, It has got tons of good features for drawing mathematical functions as curves, like you could easily pass this y=140*cos(x/20) + 80*cos(x*2/20) + 40*cos(x*4/20)" to a curve object and it will get drawn, it's amazing! Check out these screenshots there are some curves drawn by equations in string format!

这篇关于C ++库来绘制图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆