#include "ui/gfx/geometry/vector2d_f.h"
#include <cmath>
#include "base/strings/stringprintf.h"
#include "base/trace_event/typed_macros.h"
#include "build/build_config.h"
namespace gfx {
std::string Vector2dF::ToString() const { … }
void Vector2dF::WriteIntoTrace(perfetto::TracedValue ctx) const { … }
bool Vector2dF::IsZero() const { … }
void Vector2dF::Add(const Vector2dF& other) { … }
void Vector2dF::Subtract(const Vector2dF& other) { … }
double Vector2dF::LengthSquared() const { … }
float Vector2dF::Length() const { … }
void Vector2dF::Scale(float x_scale, float y_scale) { … }
void Vector2dF::InvScale(float inv_x_scale, float inv_y_scale) { … }
double CrossProduct(const Vector2dF& lhs, const Vector2dF& rhs) { … }
double DotProduct(const Vector2dF& lhs, const Vector2dF& rhs) { … }
Vector2dF ScaleVector2d(const Vector2dF& v, float x_scale, float y_scale) { … }
float Vector2dF::SlopeAngleRadians() const { … }
}