Flutter Impeller
impeller::testing::ColorBlendTestData Struct Reference

Static Public Attributes

static constexpr Color kDestinationColor
 
static constexpr Color kSourceColors []
 
static constexpr Color kExpectedResults [sizeof(kSourceColors)][static_cast< std::underlying_type_t< BlendMode >>(BlendMode::kLast)+1]
 

Detailed Description

Definition at line 1446 of file geometry_unittests.cc.

Member Data Documentation

◆ kDestinationColor

constexpr Color impeller::testing::ColorBlendTestData::kDestinationColor
staticconstexpr
Initial value:

Definition at line 1447 of file geometry_unittests.cc.

Referenced by impeller::testing::TEST().

◆ kExpectedResults

constexpr Color impeller::testing::ColorBlendTestData::kExpectedResults[sizeof(kSourceColors)][static_cast< std::underlying_type_t< BlendMode >>(BlendMode::kLast)+1]
staticconstexpr

Definition at line 1459 of file geometry_unittests.cc.

◆ kSourceColors

constexpr Color impeller::testing::ColorBlendTestData::kSourceColors[]
staticconstexpr
Initial value:

Definition at line 1449 of file geometry_unittests.cc.

Referenced by impeller::testing::TEST().


The documentation for this struct was generated from the following file:
impeller::Color::CornflowerBlue
static constexpr Color CornflowerBlue()
Definition: color.h:334
impeller::Color::WithAlpha
constexpr Color WithAlpha(Scalar new_alpha) const
Definition: color.h:270
impeller::Color::White
static constexpr Color White()
Definition: color.h:256
impeller::Color::Black
static constexpr Color Black()
Definition: color.h:258
impeller::Color::LimeGreen
static constexpr Color LimeGreen()
Definition: color.h:594