I would like to draw text along a complex bezier curve. I've seen several examples on the web using CGPathApply
to do this. But those examples seem to be wrong. CGPathApply does not supply you with a series of points along
the curve. I just get back the points, and control points, I just used to specify the Bezier curve. I want actual
pixel coordinates of points along the curve. Is there some way to do this? Do I have to write my own
function to reproduce the Bezier curve points given the end points and control points? Has Apple documented
exactly the algorithm they use for doing this? Or is there some CG function I have overlooked that
does the evaluation for me? Or is there a CG function that takes a string and a path as arguments and
does the job for me?
Thanks.