![]() |
Line Height Constant |
Header: ATSLayoutTypes.h |
enum { kATSUseLineHeight = 2147483647, kATSNoTracking = -2147483648 };
Specifies that ATSUI use the natural line ascent and descent values dictated by the font and pixel size to determine line ascent and descent in a line or entire text layout object.
A value of type negativeInfinity that indicates that font tracking should be off.
You use this constant to specify that ATSUI use the natural line ascent and descent values dictated by the font and pixel size to determine line ascent and descent. You can set the line ascent text layout attribute for a line or an entire text layout object by passing the kATSULineAscentTag tag to the functions ATSUSetLineControls and ATSUSetLayoutControls, respectively. You can set the line descent text layout attribute for a line or an entire text layout object by passing the kATSULineDescentTag tag to the functions ATSUSetLineControls and ATSUSetLayoutControls, respectively.
Available beginning with ATSUI 1.0.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)