Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 3 - QuickDraw Text / QuickDraw Text Reference
Routines


Determining the Caret Position, and Selecting and Highlighting Text

To mark an insertion point you need to know where to draw the caret. To highlight text, you need to know the caret positions that begin and end the text range. This section describes routines that you use to locate a caret position for marking an insertion point or highlighting text. You can also use the PixelToChar function to determine where to break a line, and the CharToPixel function to find the screen pixel width of a text segment.


Subtopics
PixelToChar
CharToPixel
HiliteText

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996