#include <stdint.h>
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <type_traits>
#include "impeller/geometry/scalar.h"
#include "impeller/geometry/type_traits.h"
Go to the source code of this file.
|
| enum class | impeller::YUVColorSpace {
impeller::kBT601LimitedRange
,
impeller::kBT601FullRange
} |
| |
| enum class | impeller::BlendMode : uint8_t {
impeller::kClear = 0
,
impeller::kSource
,
impeller::kDestination
,
impeller::kSourceOver
,
impeller::kDestinationOver
,
impeller::kSourceIn
,
impeller::kDestinationIn
,
impeller::kSourceOut
,
impeller::kDestinationOut
,
impeller::kSourceATop
,
impeller::kDestinationATop
,
impeller::kXor
,
impeller::kPlus
,
impeller::kModulate
,
impeller::kScreen
,
impeller::kOverlay
,
impeller::kDarken
,
impeller::kLighten
,
impeller::kColorDodge
,
impeller::kColorBurn
,
impeller::kHardLight
,
impeller::kSoftLight
,
impeller::kDifference
,
impeller::kExclusion
,
impeller::kMultiply
,
impeller::kHue
,
impeller::kSaturation
,
impeller::kColor
,
impeller::kLuminosity
,
impeller::kLast = kLuminosity
} |
| |
◆ IMPELLER_FOR_EACH_BLEND_MODE
| #define IMPELLER_FOR_EACH_BLEND_MODE |
( |
|
V | ) |
|
Value: V(Clear) \
V(Source) \
V(Destination) \
V(SourceOver) \
V(DestinationOver) \
V(SourceIn) \
V(DestinationIn) \
V(SourceOut) \
V(DestinationOut) \
V(SourceATop) \
V(DestinationATop) \
V(Xor) \
V(Plus) \
V(Modulate) \
V(Screen) \
V(Overlay) \
V(Darken) \
V(Lighten) \
V(ColorDodge) \
V(ColorBurn) \
V(HardLight) \
V(SoftLight) \
V(Difference) \
V(Exclusion) \
V(Multiply) \
V(Hue) \
V(Color) \
static constexpr Scalar Saturation(Vector3 color)
static constexpr Scalar Luminosity(Vector3 color)
Definition at line 19 of file color.h.