![]() |
ATSUCompareStyles |
||||
Header: | ATSUnicode.h | Carbon status: | Supported | |
Compares the contents of two style objects.
OSStatus ATSUCompareStyles ( ATSUStyle iFirstStyle, ATSUStyle iSecondStyle, ATSUStyleComparison *oComparison );
A reference to a style object whose contents you want to compare. You cannot pass NULL for this parameter.
A reference to a style object whose contents you want to compare. You cannot pass NULL for this parameter.
On return, a pointer to a value that indicates the results of the comparison. See
A result code.
The ATSUCompareStyles function compares the contents of two style objects, including style run attributes, font features, and font variations. It does not consider reference constants or application-defined style run attributes. You can call ATSUCompareStyles to implement style sheets and tables of style runs.
Available beginning with ATSUI 1.0.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.5 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)