#include "components/viz/common/quads/offset_tag.h"
#include <algorithm>
#include "base/strings/stringprintf.h"
#include "ui/gfx/geometry/outsets_f.h"
namespace viz {
OffsetTag OffsetTag::CreateRandom() { … }
std::string OffsetTag::ToString() const { … }
bool OffsetTagValue::IsValid() const { … }
std::string OffsetTagValue::ToString() const { … }
OffsetTagConstraints::OffsetTagConstraints() = default;
OffsetTagConstraints::OffsetTagConstraints(float min_x,
float max_x,
float min_y,
float max_y)
: … { … }
gfx::Vector2dF OffsetTagConstraints::Clamp(gfx::Vector2dF value) const { … }
void OffsetTagConstraints::ExpandVisibleRect(
gfx::RectF& visible_rect_in_target) const { … }
bool OffsetTagConstraints::IsValid() const { … }
std::string OffsetTagConstraints::ToString() const { … }
OffsetTagDefinition::OffsetTagDefinition() = default;
OffsetTagDefinition::OffsetTagDefinition(
const OffsetTag& tag,
const SurfaceRange& provider,
const OffsetTagConstraints& constraints)
: … { … }
OffsetTagDefinition::OffsetTagDefinition(const OffsetTagDefinition& other) =
default;
OffsetTagDefinition& OffsetTagDefinition::operator=(
const OffsetTagDefinition& other) = default;
OffsetTagDefinition::~OffsetTagDefinition() = default;
bool OffsetTagDefinition::IsValid() const { … }
}