chromium/cc/base/region.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/base/region.h"

#include <stddef.h>
#include <utility>

#include "base/no_destructor.h"
#include "base/trace_event/traced_value.h"
#include "cc/base/simple_enclosed_region.h"
#include "ui/gfx/geometry/vector2d.h"

namespace cc {

Region::Region() = default;

Region::Region(const SkRegion& region) :{}

Region::Region(const Region& region) = default;

Region::Region(const gfx::Rect& rect)
    :{}

Region::~Region() = default;

const Region& Region::operator=(const gfx::Rect& rect) {}

const Region& Region::operator=(const Region& region) {}

const Region& Region::operator+=(const gfx::Vector2d& offset) {}

// static
const Region& Region::Empty() {}

void Region::Swap(Region* region) {}

void Region::Clear() {}

bool Region::IsEmpty() const {}

int Region::GetRegionComplexity() const {}

void Region::GetBoundaryPath(SkPath* path) const {}

bool Region::Contains(const gfx::Point& point) const {}

bool Region::Contains(const gfx::Rect& rect) const {}

bool Region::Contains(const Region& region) const {}

bool Region::Intersects(const gfx::Rect& rect) const {}

bool Region::Intersects(const Region& region) const {}

void Region::Subtract(const gfx::Rect& rect) {}

void Region::Subtract(const Region& region) {}

void Region::Subtract(const SimpleEnclosedRegion& region) {}

void Region::Union(const gfx::Rect& rect) {}

void Region::Union(const Region& region) {}

void Region::Intersect(const gfx::Rect& rect) {}

void Region::Intersect(const Region& region) {}

std::string Region::ToString() const {}

void Region::AsValueInto(base::trace_event::TracedValue* result) const {}

Region::Iterator Region::begin() const {}

Region::Iterator::Iterator(const Region& region)
    :{}

}  // namespace cc