开发者

The simplest way to draw points on iPhone?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜