Reputation: 55
I want to know about the coordinates of the Quadratic Bézier Curve.
CGContextMoveToPoint(context4, 10, 200);
CGContextAddQuadCurveToPoint(context4, 150, 10, 500, 200);
What are the coordinates used here. Please help me? Can you please explain it?
Upvotes: 0
Views: 181
Reputation: 7973
CGContextMoveToPoint(context4, 10, 200);
These are x,y the starting points.
CGContextAddQuadCurveToPoint(context4, 150, 10, 500, 200);
the values are (x1,y1)
and (x2,y2)
two tangents, P1
and P2
Upvotes: 0