Blend2D
2D Vector Graphics Engine
Containers and views used by Blend2D.
Blend2D needs certain containers to function, but it cannot use containers from a C++ standard library because it provides both C-API and C-ABI. In addition, the underlying representation of all classes that inherit from BLObjectCore need to provide reference counting, even for containers, so they can be shared across threads without requiring to do any extra work by Blend2D users.
In addition, Blend2D embraces small data optimization (often described as SSO - small string optimization), which is utilized by BLString, BLArray, BLBitArray, and other specialized containers.
View of char[]
data used by String.
View of untyped data.
BitSet builder [C++ API] that is configured to have a temporary storage of 512 bits.
Constant | Description |
---|---|
BL_BIT_SET_INVALID_INDEX | Invalid bit-index. This is the only index that cannot be stored in |
BL_BIT_SET_RANGE_MASK | Range mask used by |
BL_BIT_SET_SEGMENT_WORD_COUNT | Number of words in a BLBitSetSegment. |