chromium/ui/gfx/geometry/quad_f.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 "ui/gfx/geometry/quad_f.h"

#include <limits>

#include "base/strings/stringprintf.h"
#include "ui/gfx/geometry/triangle_f.h"

namespace gfx {

namespace {

PointF RightMostCornerToVector(const RectF& rect, const Vector2dF& vector) {}

// Tests whether the line is contained by or intersected with the circle.
bool LineIntersectsCircle(const PointF& center,
                          float radius,
                          const PointF& p0,
                          const PointF& p1) {}

}  // anonymous namespace

void QuadF::operator=(const RectF& rect) {}

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

static inline bool WithinEpsilon(float a, float b) {}

bool QuadF::IsRectilinear() const {}

bool QuadF::IsCounterClockwise() const {}

bool QuadF::Contains(const PointF& point) const {}

bool QuadF::ContainsQuad(const QuadF& other) const {}

void QuadF::Scale(float x_scale, float y_scale) {}

void QuadF::operator+=(const Vector2dF& rhs) {}

void QuadF::operator-=(const Vector2dF& rhs) {}

QuadF operator+(const QuadF& lhs, const Vector2dF& rhs) {}

QuadF operator-(const QuadF& lhs, const Vector2dF& rhs) {}

bool QuadF::IntersectsRect(const RectF& rect) const {}

bool QuadF::IntersectsRectPartial(const RectF& rect) const {}

bool QuadF::IsToTheLeftOfOrTouchingLine(const PointF& base,
                                        const Vector2dF& vector) const {}

bool QuadF::FullyOutsideOneEdge(const QuadF& quad) const {}

bool QuadF::IntersectsQuad(const QuadF& quad) const {}

bool QuadF::IntersectsCircle(const PointF& center, float radius) const {}

bool QuadF::IntersectsEllipse(const PointF& center, const SizeF& radii) const {}

}  // namespace gfx