Carbon


Caret Direction Constants

Header: QuickdrawText.h

enum {
    leftCaret = 0,
    rightCaret = -1,
    kHilite = 1
};

Constant descriptions

leftCaret

Place caret for left-to-right text direction.

rightCaret

Place caret for right-to-left text direction.

kHilite

Specifies that the caret position should be determined according to the primary line direction, based on the value of SysDirection.

You can use these constants to specify a value for direction, as used in the CharToPixel function.


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