#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) { … }
bool LineIntersectsCircle(const PointF& center,
float radius,
const PointF& p0,
const PointF& p1) { … }
}
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 { … }
}