Module pconvert_rust::blending
source · Expand description
Blending algorithms and associated utility functions and enums.
Modules
Low-level implementation of the blending algorithms.
Blend algorithms and PConvert API optional parameter types (
BlendAlgorithmParams and Options, respectively).
Low level layer for the composition system.Enums
Enumeration of supported blending modes.
Functions
Blends two images buffers with the given blending function and
optional parameters.
Demultiplies an image buffer, by applying the demultiply operation over the
complete set of pixels in the provided image buffer.
Matches a
BlendAlgorithm enum variant with a blend function.Returns whether or not a
BlendAlgorithm enum variant corresponds to a
multiplied blending algorithm.Multiplies an image buffer, running the opposite operation over the
complete set of pixels in the image buffer.