在iPhone上画点最简单的方法?

发布于 2024-09-01 14:56:26 字数 121 浏览 0 评论 0原文

在我的应用程序中,我有 49 个 x、y 点,我想要将它们显示在屏幕上。我见过很多可以帮助我的库(核心图、s7graphview 等)。但由于我正在做非常基本的事情(只是画点),那么最简单的方法是什么?

谢谢 !

in my app I have 49 points with x,y and I wnat to display them on the screen. I've seen a lot of library that can help me (core plot, s7graphview, etc.). But since I'm doing very basic stuff (just draw points), what is the simplest way do to that ?

Thanks !

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

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

发布评论

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

评论(2

在风中等你 2024-09-08 14:56:26

它的基本核心显卡。 developer.apple.com 网站上有大量示例,或者只需 google 即可获取 Core Graphics iPhone 教程。

Its basic core graphics. Plenty of examples on the developer.apple.com site or just google for Core Graphics iPhone Tutorial.

恰似旧人归 2024-09-08 14:56:26

你可以使用这个 Quartz2d 方法来画一个小圆圈:

CGContextFillEllipseInRect

You could use this Quartz2d method to draw a small circle:

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