![]() |
Text Box Options Masks |
Header: MacTextEditor.h |
Specifies how text should be displayed in a Unicode text box.
enum { kTXNSetFlushnessMask = 1, kTXNSetJustificationMask = 2, kTXNUseFontFallBackMask = 4, kTXNRotateTextMask = 8, kTXNUseVerticalTextMask = 16, kTXNDontUpdateBoxRectMask = 32, kTXNDontDrawTextMask = 64 };
Display text flush according to the line direction.
Show text fully justified.
Enables ATSUI transient font matching that searches for a font with that has a matching character.
Display text rotated clockwise.
Display text vertically from top to bottom.
If you dont use this option then the right side of the text box changes to accommodate the longest line for text. For vertical text, the bottom of the text box remains unchanged. For horizontal text the bottom of the text box is set to accommodate the bottom of the last line.
Return the size of the text, but do not display the text.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)