Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
impeller::testing::ColorBlendTestData Struct Reference

Static Public Attributes

static constexpr Color kDestinationColor
 
static constexpr Color kSourceColors []
 
static const std::map< BlendMode, ColorkExpectedResults [sizeof(kSourceColors)]
 

Detailed Description

Definition at line 1437 of file geometry_unittests.cc.

Member Data Documentation

◆ kDestinationColor

constexpr Color impeller::testing::ColorBlendTestData::kDestinationColor
staticconstexpr
Initial value:
=
static constexpr Color CornflowerBlue()
Definition color.h:334
constexpr Color WithAlpha(Scalar new_alpha) const
Definition color.h:270

Definition at line 1438 of file geometry_unittests.cc.

◆ kExpectedResults

const std::map< BlendMode, Color > impeller::testing::ColorBlendTestData::kExpectedResults
static

Definition at line 1445 of file geometry_unittests.cc.

◆ kSourceColors

constexpr Color impeller::testing::ColorBlendTestData::kSourceColors[]
staticconstexpr
Initial value:
static constexpr Color LimeGreen()
Definition color.h:594
static constexpr Color Black()
Definition color.h:258
static constexpr Color White()
Definition color.h:256

Definition at line 1440 of file geometry_unittests.cc.

1440 {Color::White().WithAlpha(0.75),
1442 Color::Black().WithAlpha(0.75)};

The documentation for this struct was generated from the following file: