Lines Matching full:vector2d
11 #include "ui/gfx/vector2d.h"
25 class UI_EXPORT Point : public PointBase<Point, int, Vector2d> {
27 Point() : PointBase<Point, int, Vector2d>(0, 0) {}
28 Point(int x, int y) : PointBase<Point, int, Vector2d>(x, y) {}
64 inline Point operator+(const Point& lhs, const Vector2d& rhs) {
70 inline Point operator-(const Point& lhs, const Vector2d& rhs) {
76 inline Vector2d operator-(const Point& lhs, const Point& rhs) {
77 return Vector2d(lhs.x() - rhs.x(), lhs.y() - rhs.y());
80 inline Point PointAtOffsetFromOrigin(const Vector2d& offset_from_origin) {
85 extern template class PointBase<Point, int, Vector2d>;