Important: The information in this document is obsolete and should not be used for new development.
QuickDraw Text Reference
This section describes the data structures, routines, and an application-defined routine that provide the text-handling components of QuickDraw.In addition to the graphics port record, which all of the routines use and which is defined in the QuickDraw chapters of Inside Macintosh: Imaging, these routines use two additional data structures: the font information record and the
Style
data type. They are described in the "Data Structures" section.The "Routines" section describes the QuickDraw routines that you use to define the text drawing environment, measure and draw text, and identify what glyphs to highlight and where to position the cursor in a range of text.
The constants that you use to identify the text direction and to specify where a style run occurs within a line of text are listed in the "Summary of QuickDraw Text." The constants that you use to identify a font are listed in the chapter "Font Manager" in this book. Equivalent declarations in the C language for the declarations and routines described in this section are listed in the "C Summary."
Subtopics
- Data Structures
- Routines
- Application-Supplied Routine