Blend2D
2D Vector Graphics Engine
Tests whether the container is empty, which means that no tag/value pairs are stored in it.
Returns the number of feature tag/value pairs stored in the container.
Returns the container capacity
Returns a normalized view of tag/value pairs as an iterable BLFontFeatureItem array in the output view out
.
Tests whether the settings contains the given featureTag
.
Returns the value associated with the given featureTag
.
If the featureTag
doesn't exist or is invalid BL_FONT_FEATURE_INVALID_VALUE is returned.
Sets or inserts the given featureTag
to the settings, associating the featureTag
with value
.
The featureTag
must be valid, which means that it must contain 4 characters within ' ' to '~' range - [32, 126] in ASCII. If the given featureTag
is not valid or value
is out of range (maximum value is 65535
) BL_ERROR_INVALID_VALUE is returned.
The following tags only support values that are either 0 (disabled) or 1 (enabled):
Trying to use any other value with these tags would fail with BL_ERROR_INVALID_VALUE error.
Removes the given featureTag
and its associated value from the settings.
Nothing happens if the featureTag
is not in the settings (BL_SUCCESS is returned).
Tests whether this font feature settings is equal to other
- equality means that it has the same tag/value pairs.