Carbon


Glyph Direction Constants

Header: ATSUnicode.h

enum {
    kATSULeftToRightBaseDirection = 0,
    kATSURightToLeftBaseDirection = 1
};

Constant descriptions

kATSULeftToRightBaseDirection

Imposes left-to-right direction on glyphs in a line of horizontal text; for vertical text, imposes top-to-bottom direction.

kATSURightToLeftBaseDirection

Imposes right-to-left direction on glyphs in a line of horizontal text; for vertical text, imposes bottom-to-top direction.

You can use one of these constants to set or obtain glyph direction in a line of text or an entire text layout object, regardless of their font-specified direction; see the functions ATSUSetLayoutControls, ATSUSetLineControls, ATSUGetLayoutControl, and ATSUGetLineControl.

VERSION NOTES

Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)