Enumeration

NSLineSweepDirection

These constants describe the progression of text on a page. The typesetter decides which way text is supposed to flow and passes these values as arguments to the text container, which uses them to calculate the next line rectangle.

Declaration

typedef enum NSLineSweepDirection : NSUInteger {
    ...
} NSLineSweepDirection;

Overview

Line sweep is the direction text progresses within a line. See Text System Storage Layer Overview.

The only values currently used by the supplied typesetters are NSLineSweepRight and NSLineMovesDown. An NSTextContainer subclass should be prepared to deal with any value, and an NSTypesetter subclass should be able to use any of them.

Topics

Constants

NSLineSweepLeft

Characters move from right to left.

NSLineSweepRight

Characters move from left to right.

NSLineSweepDown

Characters move from top to bottom.

NSLineSweepUp

Characters move from bottom to top.

See Also

Layout

NSLayoutManager

An object that coordinates the layout and display of text characters.

NSLayoutManagerDelegate

A set of optional methods implemented by delegates of layout manager objects.

NSTextContainer

A region where text is laid out.

NSLineMovementDirection

The direction in which a line moves.

NSATSTypesetter

A concrete typesetter object that places glyphs during the text layout process.

NSTypesetter

An abstract class that performs various type layout tasks.

NSTextLayoutOrientationProvider

A set of methods that define the orientation of text for an object.