![]() |
ATSUGetFontFeature |
||||
Header: | ATSUnicode.h | Carbon status: | Supported | |
Obtains the font feature type and selector for an indexed font feature.
OSStatus ATSUGetFontFeature ( ATSUStyle iStyle, ItemCount iFeatureIndex, ATSUFontFeatureType *oFeatureType, ATSUFontFeatureSelector *oFeatureSelector );
A reference to a valid style object whose font feature value you want to obtain. You cannot pass NULL for this parameter.
An index of the font feature you want information about. Pass a value between 0 and one less than the value passed back in the oActualFeatureCount parameter of the function ATSUGetAllFontFeatures.
On return, a pointer to the font feature type corresponding to iFeatureIndex. If the font feature type has not been set, ATSUGetFontFeature passes back the font-specified default value and returns the result code kATSUNotSetErr.
On return, a pointer to the font feature selector. If the feature selector value has not been set, ATSUGetFontFeature passes back the font-specified default value and returns the result code kATSUNotSetErr.
A result code.
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)