scenic::FakeTransform

Summary

Public static attributes

kDefaultOpacity = 1.0f
constexpr float
kDefaultOrientation { fuchsia::ui::composition::Orientation::CCW_0_DEGREES}
constexpr fuchsia::ui::composition::Orientation
kDefaultScale {.x = 1.0f, .y = 1.0f}
constexpr fuchsia::math::VecF
kDefaultTranslation {.x = 0, .y = 0}
constexpr fuchsia::math::Vec

Public attributes

children
std::vector< std::shared_ptr< FakeTransform > >
clip_bounds = std::nullopt
std::optional< fuchsia::math::Rect >
content
std::shared_ptr< FakeContent >
hit_regions
std::vector< fuchsia::ui::composition::HitRegion >
id {kInvalidTransformId}
fuchsia::ui::composition::TransformId
opacity = kDefaultOpacity
float
orientation {kDefaultOrientation}
fuchsia::ui::composition::Orientation
scale {kDefaultScale}
fuchsia::math::VecF
translation {kDefaultTranslation}
fuchsia::math::Vec

Public functions

operator==(const FakeTransform & other) const
bool

Public static attributes

kDefaultOpacity

constexpr float scenic::FakeTransform::kDefaultOpacity = 1.0f

kDefaultOrientation

constexpr fuchsia::ui::composition::Orientation scenic::FakeTransform::kDefaultOrientation {
      fuchsia::ui::composition::Orientation::CCW_0_DEGREES}

kDefaultScale

constexpr fuchsia::math::VecF scenic::FakeTransform::kDefaultScale {.x = 1.0f, .y = 1.0f}

kDefaultTranslation

constexpr fuchsia::math::Vec scenic::FakeTransform::kDefaultTranslation {.x = 0, .y = 0}

Public attributes

children

std::vector< std::shared_ptr< FakeTransform > > scenic::FakeTransform::children

clip_bounds

std::optional< fuchsia::math::Rect > scenic::FakeTransform::clip_bounds = std::nullopt

content

std::shared_ptr< FakeContent > scenic::FakeTransform::content

hit_regions

std::vector< fuchsia::ui::composition::HitRegion > scenic::FakeTransform::hit_regions

id

fuchsia::ui::composition::TransformId scenic::FakeTransform::id {kInvalidTransformId}

opacity

float scenic::FakeTransform::opacity = kDefaultOpacity

orientation

fuchsia::ui::composition::Orientation scenic::FakeTransform::orientation {kDefaultOrientation}

scale

fuchsia::math::VecF scenic::FakeTransform::scale {kDefaultScale}

translation

fuchsia::math::Vec scenic::FakeTransform::translation {kDefaultTranslation}

Public functions

operator==

bool scenic::FakeTransform::operator==(
  const FakeTransform & other
) const