Blend2D
2D Vector Graphics Engine
Information bits used by BLObjectCore and all Blend2D compatible objects inheriting it.
Packs object type into object info bits.
Packs object type and M flag into object info bits.
Packs A, B, C, and P fields so they can be combined with other object info bits.
Extracts a field based on Shift and Mask.
Tests whether BLObjectInfo describes a valid BLObject and verifies that additionalBits
match the given mask
in BLObjectInfo bits as well. This function is a higher-level function used by others.
Tests whether BLObjectInfo describes a valid BLObject and verifies the the given flags
are all set.
Tests whether the object info represents a valid BLObject signature.
A valid signature describes a BLObjectCore and not an alternative representation used by BLRgba data.
Tests whether BLObjectInfo describes a valid BLObject of the given type
.
Tests a whether this BLObjectInfo represents a valid BLObjectCore.
Returns a whether this BLObjectInfo represents a valid BLObjectCore as a mask (either all zeros or all ones).
Tests whether the object info represents a valid BLObject, which has a valid Impl field.
Tests whether the object info represents a valid BLObject, which has a valid Impl, and is reference counted.
Tests whether the object info represents a valid BLObject, which has a valid Impl, and has a virtual function table.
Returns a RAW BLObjectType read from object info bits without checking for a 'M' object marker.
This function should only be used in case that the caller knows that the object info is of a valid BLObjectCore. In any other case the use of getType() is preferred and would always provide a correct type.
Returns a corrected BLObjectType read from object info bits.
If the object marker bit 'M' is not set, 0 will be returned, which represents BL_OBJECT_TYPE_RGBA.
Tests whether the object info represents a BLArray<T>
storing any supported type.
Tests whether the object info represents a BLBitArray
.
Tests whether the object info represents a BLBitSet
.
Tests whether the object info represents a boxed bool
value.
Tests whether the object info represents BLContext
.
Tests whether the object info represents a boxed double
value.
Tests whether the object info represents BLFont
.
Tests whether the object info represents BLFontData
.
Tests whether the object info represents BLFontFace
.
Tests whether the object info represents BLFontFeatureSettings
.
Tests whether the object info represents BLFontManager
.
Tests whether the object info represents BLFontVariationSettings
.
Tests whether the object info represents BLGradient
.
Tests whether the object info represents BLImage
.
Tests whether the object info represents BLImageCodec
.
Tests whether the object info represents BLImageDecoder
.
Tests whether the object info represents BLImageEncoder
.
Tests whether the object info represents a boxed int64_t
value.
Tests whether the object info represents a null value.
Tests whether the object info represents BLPath
.
Tests whether the object info represents BLPattern.
Tests whether the object info represents BLRgba
.
Tests whether the object info represents BLRgba32
.
Tests whether the object info represents BLRgba64
.
Tests whether the object info represents BLString
.
Tests whether the object info represents a boxed uint64_t
value.
Tests whether the object info represents a style that can be passed to the rendering context.
Stores all object info bits.