![]() |
ATSUAttributeInfo |
Header: ATSUnicode.h |
struct ATSUAttributeInfo { ATSUAttributeTag fTag; ByteCount fValueSize; };
Identifies a particular style run or text attribute value. For a description of the Apple-defined style run and text layout attribute tag constants, see
The size (in bytes) of the style run or text layout attribute value.
The ATSUAttributeInfo type represents a structure containing an attribute tag that identifies a particular attribute value and the data size (in bytes) of that attribute value.
Several ATSUI functions pass back an array of structures of this type. The function ATSUGetAllAttributes passes back an array of ATSUAttributeInfo structures to represent the data sizes of all previously set style run attribute values and the corresponding style run attribute tags that identify those style run attribute values. The function ATSUGetAllLayoutControls passes back an array of ATSUAttributeInfo structures to represent the data sizes of all previously set text layout attribute values for an entire text layout object and the corresponding text layout attribute tags that identify those text layout attribute values. The function ATSUGetAllLineControls passes back an array of ATSUAttributeInfo structures to represent the data sizes of all previously set text layout attribute values for a single line in a text layout object and the corresponding text layout attribute tags that identify those text layout attribute values.
Available beginning with ATSUI 1.0.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)