Carbon


ATSUStyleIsEmpty

Header: ATSUnicode.h Carbon status: Supported

Indicates whether a style object contains only default values.

OSStatus ATSUStyleIsEmpty (
    ATSUStyle iStyle, 
    Boolean *isClear
);
Parameter descriptions
iStyle

A reference to a style object whose state you wish to determine. You cannot pass NULL for this parameter.

isClear

On return, a pointer to a value that indicates whether the style object contains any style run attribute, font feature, or font variation values other than the defaults. If true, the style object only contains default style run attribute, font feature, and font variation values. You cannot pass NULL for this parameter.

function result

A result code.

DISCUSSION

The ATSUStyleIsEmpty function indicates whether a style object contains only default style run attribute, font feature, and font variation values. ATSUStyleIsEmpty does not consider reference constants in its evaluation.

VERSION NOTES

Available beginning with ATSUI 1.0.

AVAILABILITY

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)