开发者

The simplest way to draw points on iPhone?

开发者 https://www.devze.com 2022-12-31 09:41 出处:网络
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 (cor开发者_如何学Goe plot, s7graphview, etc.). But since I\'m doing very basi

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 (cor开发者_如何学Goe plot, s7graphview, etc.). But since I'm doing very basic stuff (just draw points), what is the simplest way do to that ?

Thanks !


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


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

CGContextFillEllipseInRect
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号