Xcode如何制作曲线?

时间:2012-04-13 18:07:09

标签: core-graphics

我正在制作iPhone应用程序,我想知道如果我制作一条曲线,例如得到3分

(3,2)
(4,3)
(5,4)

我该如何制作曲线?

1 个答案:

答案 0 :(得分:0)

如果您使用的是CoreGraphics,

CGPathAddCurveToPointCGContextAddCurveToPointCGContextAddArcCGPathAddArc等API将是一个开始。