Blend2D
2D Vector Graphics Engine
Font variation settings [C++ API].
Tests whether the container is empty, which means that no tag/value pairs are stored in it.
Returns the number of tag/value pairs stored in the container.
Returns the container capacity.
Returns a normalized view of tag/value pairs as an iterable BLFontVariationItem
array in the output view.
BLFontVariationItem
values will be created from the underlying SSO representation and BLFontVariationSettingsView::data
will point to BLFontVariationSettingsView::ssoData
. If the container is dynamic, BLFontVariationSettingsView::ssoData
won't be initialized and BLFontVariationSettingsView::data
will point to the container's data. This means that the view cannot outlive the container, and also during iteration the view the container cannot be modified as that could invalidate the entire view. Tests whether the settings contains the given variationTag
.
Returns the value associated with the given variationTag
.
If the variationTag
doesn't exist or is invalid NaN
is returned.
Sets or inserts the given variationTag
to the settings and associates it with the given value
.
Removes the given variationTag
and its value from the settings.
Nothing happens if the variationTag
is not in the settings (BL_SUCCESS is returned).
Tests whether this font variation settings is equal to other
- equality means that it has the same tag/value pairs.