#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.
Classes | |
struct | impeller::ColorMatrix |
struct | impeller::Color |
Namespaces | |
impeller | |
std | |
Macros | |
#define | IMPELLER_FOR_EACH_BLEND_MODE(V) |
Enumerations | |
enum class | impeller::YUVColorSpace { impeller::kBT601LimitedRange , impeller::kBT601FullRange } |
enum class | impeller::BlendMode : uint8_t { impeller::kClear = 0 , impeller::kSrc , impeller::kDst , impeller::kSrcOver , impeller::kDstOver , impeller::kSrcIn , impeller::kDstIn , impeller::kSrcOut , impeller::kDstOut , impeller::kSrcATop , impeller::kDstATop , 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::kLastMode = kLuminosity , impeller::kDefaultMode = kSrcOver } |
Functions | |
const char * | impeller::BlendModeToString (BlendMode blend_mode) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | impeller::operator+ (T value, const Color &c) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | impeller::operator- (T value, const Color &c) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | impeller::operator* (T value, const Color &c) |
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>> | |
constexpr Color | impeller::operator/ (T value, const Color &c) |
std::string | impeller::ColorToString (const Color &color) |
std::ostream & | std::operator<< (std::ostream &out, const impeller::Color &c) |
std::ostream & | std::operator<< (std::ostream &out, const impeller::BlendMode &mode) |
#define IMPELLER_FOR_EACH_BLEND_MODE | ( | V | ) |