Skip to content

Commit b3d8be8

Browse files
committed
[lib] Wrote documentation of public set feature values function
1 parent 883d8cd commit b3d8be8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Headers/SFScheme.h

+17
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,23 @@ void SFSchemeSetScriptTag(SFSchemeRef scheme, SFTag scriptTag);
5858
*/
5959
void SFSchemeSetLanguageTag(SFSchemeRef scheme, SFTag languageTag);
6060

61+
/**
62+
* Sets the OpenType feature values in a scheme.
63+
*
64+
* If the value of a feature is set to zero, it would be disabled provided that it is not a required
65+
* feature of the script specific shaping engine. If the value of a feature is greater than zero, it
66+
* would be enabled. In case of an alternate feature, this value would be used to pick the alternate
67+
* glyph at this position.
68+
*
69+
* @param scheme
70+
* The scheme for which to set the feature values.
71+
* @param featureTags
72+
* An array of feature tags whose values should be set.
73+
* @param featureValues
74+
* An array of OpenType feature values.
75+
* @param featureCount
76+
* The number of elements in feature tags and feature values array.
77+
*/
6178
void SFSchemeSetFeatureValues(SFSchemeRef scheme,
6279
SFTag *featureTags, SFUInt16 *featureValues, SFUInteger featureCount);
6380

0 commit comments

Comments
 (0)