使用 Visual C 绘制图形

发布于 2024-07-19 11:52:11 字数 219 浏览 2 评论 0原文

我需要在使用 Visual C++ 构建的 ActiveX 控件中绘制散点图。 我看过 ZedGraph 但乍一看,我无法使用它,因为我没有框架。

我相信绘图必须使用 C++ 绘图上下文来完成。 是否有任何 Visual C++ API 能够将其输出定向到绘图上下文对象?

I need to draw a scatter plot into an activex control I'm building using Visual C++.
I have looked at ZedGraph but, at first glance, I can't use it as I don't have a frame.

I believe the drawing must be done using the c++ drawing contexts. Is there any Visual C++ API which is able to direct its output to a drawing context object?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

静谧 2024-07-26 11:52:11

您可以在类似终端的模式下使用 ZedGraph。 这很简单,您只需要记住缩放/调整大小即可。

请参阅此处的示例: http://zedgraph.org/wiki/index.php?title =Use_ZedGraph_to_generate_an_image_from_a_console_application

You can use ZedGraph in terminal-like mode. It's quite easy, you just need to remember about scaling/resizing.

See the example here: http://zedgraph.org/wiki/index.php?title=Use_ZedGraph_to_generate_an_image_from_a_console_application

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文