Legacy Mac OS X Reference Library Apple Developer Connection

Version: 1.0

Posted: 2007-06-04

Build Requirements: Xcode 3.0

Runtime Requirements: Mac OS X 10.5

View Source Code:

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



Description

Carbon application that uses Core Text to draw text along a curved arc. Demonstrates key concepts in getting started with Core Text 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 Core Text text drawing Carbon application.
Did this document help you? Yes It's good, but... Not helpful...