Flutter Engine
The Flutter Engine
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.

◆ destination_size

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

Definition at line 215 of file fake_flatland_types.h.

◆ id

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

Definition at line 211 of file fake_flatland_types.h.

◆ image_properties

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

Definition at line 213 of file fake_flatland_types.h.

◆ import_token

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

Definition at line 219 of file fake_flatland_types.h.

◆ 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.

◆ kDefaultDestinationSize

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

Definition at line 206 of file fake_flatland_types.h.

◆ kDefaultImageSize

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

Definition at line 204 of file fake_flatland_types.h.

◆ kDefaultOpacity

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

Definition at line 207 of file fake_flatland_types.h.

◆ kDefaultSampleRegion

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

Definition at line 205 of file fake_flatland_types.h.

◆ 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.

◆ vmo_index

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

Definition at line 220 of file fake_flatland_types.h.


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