1 CTFrameRef
The CTFrame opaque type represents a frame containing multiple lines of text. The frame object is the output resulting from the text-framing process performed by a framesetter object.
You can draw the entire text frame directly into the current graphic context. The frame object contains an array of line objects that can be retrieved for individual rendering or to get glyph information.
Functions by Task
Getting Frame Data
Getting Lines
Drawing the Frame
Getting the Type Identifier
2 CTFramesetterRef
The CTFramesetter opaque type is used to generate text frames. That is, CTFramesetter is an object factory for CTFrame objects.
The framesetter takes an attributed string object and a shape descriptor object and calls into the typesetter to create line objects that fill that shape. The output is a frame object containing an array of lines. The frame can then draw itself directly into the current graphic context.
Functions by Task
Creating a Framesetter
Creating Frames
Frame Sizing
Getting the Type Identifier
3 CTLineRef
The CTLine opaque type represents a line of text.
A CTLine object contains an array of glyph runs. Line objects are created by the typesetter during a framesetting operation and can draw themselves directly into a graphics context.
Functions by Task
Creating Lines
Drawing the Line
Getting Line Data
Measuring Lines
Getting Line Positioning
Getting the Type Identifier