![]() |
Type Run Attribute Sizes |
Header: MacTextEditor.h |
Specifies the type attribute sizes to set when you call the TXNSetTypeAttributes, TXNGetContinuousTypeTags, or TXNGetContinuousTypeAttributes functions.
enum { kTXNQDFontNameAttributeSize = 256, kTXNQDFontFamilyIDAttributeSize = 2, kTXNQDFontSizeAttributeSize = 2, kTXNQDFontStyleAttributeSize = 1, kTXNQDFontColorAttributeSize = 6, kTXNTextEncodingAttributeSize = 4, kTXNFontSizeAttributeSize = 4 };
Indicates font name attribute is Str255.
Indicates size of font family ID attribute is SInt16.
Obsolete and incorrect. Instead, use kTXNFontSizeAttibtureSize.
Indicates size of font style attribute is Style.
Indicates size of font color attribute is RGBColor.
Indicates size of text encoding attribute is TextEncoding.
You can supplement these with the style attributes defined for ATSUI.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)