ladybird/Libraries/LibGfx/CompositingAndBlendingOperator.h
Tim Ledbetter 22225af994 LibGfx: Reorder CompositingAndBlendingOperator values
This change aligns blending operator values with the constants in
`SVGFEBlendElement`.
2025-08-06 15:21:03 +02:00

45 lines
722 B
C++

/*
* Copyright (c) 2025, Glenn Skrzypczak <glenn.skrzypczak@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Gfx {
// The values of this enum should match the constants in SVGFEBlendELement.idl
enum class CompositingAndBlendingOperator {
Normal = 1,
Multiply,
Screen,
Darken,
Lighten,
Overlay,
ColorDodge,
ColorBurn,
HardLight,
SoftLight,
Difference,
Exclusion,
Hue,
Saturation,
Color,
Luminosity,
Clear,
Copy,
SourceOver,
DestinationOver,
SourceIn,
DestinationIn,
SourceOut,
DestinationOut,
SourceATop,
DestinationATop,
Xor,
Lighter,
PlusDarker,
PlusLighter
};
}