简体   繁体   English

在 iPhone 中画曲线?

[英]Draw a curve in iPhone?

I am developing a game app in which a curve(Bezier) is required on the basis of theta provided by user and this will be in animated format.我正在开发一个游戏应用程序,其中需要根据用户提供的 theta 曲线(贝塞尔曲线),这将是动画格式。 But i am not aware of openGL.但我不知道 openGL。 Then how can i do it programatically?那我怎么能以编程方式做到这一点?

Have a look at UIBezierPath看看UIBezierPath

Have a look at the Quartz drawing guide.查看Quartz绘图指南。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM