Darken,///< Selects the darker of the colors. B(source, dest) = qMin(source, dest)
Lighten,///< Selects the lighter of the colors. B(source, dest) = qMax(source, dest)
ColorDodge,///< Brightens the backdrop color reflecting the source color. B(source, dest) = qMin(1.0, dest / (1.0 - source)), or 1.0, if source is 1.0
ColorBurn,///< Darkens the backdrop color reflecting the source color. B(source, dest) = 1.0 - qMin(1.0, (1.0 - dest) / source), or 0.0, if source is 0.0
HardLight,///< Multiply or screen the color, depending on the source value.
SoftLight,///< Darkens or lightens the color, depending on the source value.
Difference,///< Subtract the darker of colors from the lighter color. B(source, dest) = qAbs(source - dest)
Exclusion,///< B(source, dest) = source + dest - 2 * source * dest
// Non-separable blending modes
Hue,
Saturation,
Color,
Luminosity,
// For compatibility - older PDF specification specifies Compatible mode, which is equal
// to normal. It should be recognized for sake of compatibility.
Compatible,///< Equals to normal
// Invalid blending mode - for internal purposes only
Invalid
};
classPDFBlendModeInfo
{
public:
PDFBlendModeInfo()=delete;
/// Returns blend mode from the specified string. If string is invalid,