2D Vector Graphics Engine
Pixel converter [C++ API].
Provides an interface to convert pixels between various pixel formats. The primary purpose of this class is to allow efficient conversion between pixel formats used natively by Blend2D and pixel formats used elsewhere, for example image codecs or native framebuffers.
Creates a new default-initialized pixel converter.
Creates a copy of the
other converter has dynamically allocated resources they will be properly managed (reference counting). Only very specific converters require such resources so this operation should be considered very cheap.
Destroys the pixel-converter and releases all resources allocated by it.
true if the converter is initialized.
Reset the pixel converter.
other pixel converter into this one.
Creates a new pixel converter that will convert pixels described by
srcInfo into pixels described by
createFlags to further specify the parameters of the conversion, see BLPixelConverterCreateFlags for more details.
BL_ERROR_INVALID_VALUEwould be returned.
Converts a single span of pixels of
Converts a rectangular area of pixels from source format to destination.