PDA

View Full Version : Quartz paths & text question




mccannmarc
Sep 8, 2008, 05:37 PM
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
Sep 17, 2008, 08:13 AM
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
Sep 17, 2008, 09:16 AM
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.

mccannmarc
Sep 17, 2008, 03:17 PM
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.

Cheers mate, just what I was after. God knows how I managed to overlook this