Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mccannmarc

macrumors 6502
Original poster
Aug 15, 2008
270
0
Manchester, UK
Hi everyone,

I've been looking all night for a simple answer to this but I can't seem to find any way of doing it, so before I sit and write the entire routine myself from scratch does anyone know of any way to get text to clip to a path in quartz/ core graphics? Basically I am trying to get a string of text to follow the curvature of an arc.

Cheers
 

mccannmarc

macrumors 6502
Original poster
Aug 15, 2008
270
0
Manchester, UK
any ideas?

I've read something about being able to use Glyphs using cocoa text functions but I dont know if this would be any use?
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
You might want to look at the CircleView sample code. This is an appkit example but you might get a better idea how to do it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.