Version: 1.0

Posted: 2007-06-04

Build Requirements: Xcode 3.0

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample (“CoreTextArc.zip”, 50.5K)
Download Sample (“CoreTextArc.dmg”, 100.1K)



Description

Carbon application that uses CoreText to draw text along a curved arc. Demonstrates key concepts in getting started with CoreText such as using CTFont, CTLine, and CTRun objects. Shows how to draw individual runs, or individual glyphs manually. Also illustrates basic Carbon application design concepts such as getting values for controls, maintaining proper control state, and using localized strings.

Document Revision History

Date Notes
2007-06-04Illustrates the use of fonts, lines, and runs in a CoreText text drawing Carbon application.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.