Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
flutter_runner::testing::FakeImage Struct Reference

#include <fake_flatland_types.h>

Public Member Functions

bool operator== (const FakeImage &other) const
 

Public Attributes

fuchsia::ui::composition::ContentId id {kInvalidContentId}
 
fuchsia::ui::composition::ImageProperties image_properties {}
 
fuchsia::math::RectF sample_region {kDefaultSampleRegion}
 
fuchsia::math::SizeU destination_size {kDefaultDestinationSize}
 
float opacity {kDefaultOpacity}
 
fuchsia::ui::composition::BlendMode blend_mode {kDefaultBlendMode}
 
zx_koid_t import_token {}
 
uint32_t vmo_index {0}
 

Static Public Attributes

static constexpr fuchsia::math::SizeU kDefaultImageSize {}
 
static constexpr fuchsia::math::RectF kDefaultSampleRegion {}
 
static constexpr fuchsia::math::SizeU kDefaultDestinationSize {}
 
static constexpr float kDefaultOpacity {1.f}
 
static constexpr fuchsia::ui::composition::BlendMode kDefaultBlendMode
 

Detailed Description

Definition at line 201 of file fake_flatland_types.h.

Member Function Documentation

◆ operator==()

bool flutter_runner::testing::FakeImage::operator== ( const FakeImage other) const

Definition at line 127 of file fake_flatland_types.cc.

127 {
128 return id == other.id && image_properties == other.image_properties &&
129 sample_region == other.sample_region &&
130 destination_size == other.destination_size &&
131 opacity == other.opacity && blend_mode == other.blend_mode &&
132 import_token == other.import_token && vmo_index == other.vmo_index;
133}
fuchsia::ui::composition::BlendMode blend_mode
fuchsia::ui::composition::ImageProperties image_properties

Member Data Documentation

◆ blend_mode

fuchsia::ui::composition::BlendMode flutter_runner::testing::FakeImage::blend_mode {kDefaultBlendMode}

Definition at line 217 of file fake_flatland_types.h.

static constexpr fuchsia::ui::composition::BlendMode kDefaultBlendMode

◆ destination_size

fuchsia::math::SizeU flutter_runner::testing::FakeImage::destination_size {kDefaultDestinationSize}

Definition at line 215 of file fake_flatland_types.h.

static constexpr fuchsia::math::SizeU kDefaultDestinationSize

◆ id

fuchsia::ui::composition::ContentId flutter_runner::testing::FakeImage::id {kInvalidContentId}

Definition at line 211 of file fake_flatland_types.h.

static constexpr fuchsia::ui::composition::ContentId kInvalidContentId

◆ image_properties

fuchsia::ui::composition::ImageProperties flutter_runner::testing::FakeImage::image_properties {}

Definition at line 213 of file fake_flatland_types.h.

213{};

◆ import_token

zx_koid_t flutter_runner::testing::FakeImage::import_token {}

Definition at line 219 of file fake_flatland_types.h.

219{};

◆ kDefaultBlendMode

constexpr fuchsia::ui::composition::BlendMode flutter_runner::testing::FakeImage::kDefaultBlendMode
staticconstexpr
Initial value:
{
fuchsia::ui::composition::BlendMode::SRC_OVER}

Definition at line 208 of file fake_flatland_types.h.

208 {
209 fuchsia::ui::composition::BlendMode::SRC_OVER};

◆ kDefaultDestinationSize

constexpr fuchsia::math::SizeU flutter_runner::testing::FakeImage::kDefaultDestinationSize {}
staticconstexpr

Definition at line 206 of file fake_flatland_types.h.

206{};

◆ kDefaultImageSize

constexpr fuchsia::math::SizeU flutter_runner::testing::FakeImage::kDefaultImageSize {}
staticconstexpr

Definition at line 204 of file fake_flatland_types.h.

204{};

◆ kDefaultOpacity

constexpr float flutter_runner::testing::FakeImage::kDefaultOpacity {1.f}
staticconstexpr

Definition at line 207 of file fake_flatland_types.h.

207{1.f};

◆ kDefaultSampleRegion

constexpr fuchsia::math::RectF flutter_runner::testing::FakeImage::kDefaultSampleRegion {}
staticconstexpr

Definition at line 205 of file fake_flatland_types.h.

205{};

◆ opacity

float flutter_runner::testing::FakeImage::opacity {kDefaultOpacity}

Definition at line 216 of file fake_flatland_types.h.

◆ sample_region

fuchsia::math::RectF flutter_runner::testing::FakeImage::sample_region {kDefaultSampleRegion}

Definition at line 214 of file fake_flatland_types.h.

static constexpr fuchsia::math::RectF kDefaultSampleRegion

◆ vmo_index

uint32_t flutter_runner::testing::FakeImage::vmo_index {0}

Definition at line 220 of file fake_flatland_types.h.

220{0};

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