Home | History | Annotate | Download | only in gfx

Lines Matching refs:POINT

15 typedef struct tagPOINT POINT;
24 // A point has an x and y coordinate.
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) {}
30 // |point| is a DWORD value that contains a coordinate. The x-coordinate is
33 explicit Point(DWORD point);
34 explicit Point(const POINT& point);
35 Point& operator=(const POINT& point);
37 explicit Point(const CGPoint& point);
40 ~Point() {}
43 POINT ToPOINT() const;
52 // Returns a string representation of point.
56 inline bool operator==(const Point& lhs, const Point& rhs) {
60 inline bool operator!=(const Point& lhs, const Point& rhs) {
64 inline Point operator+(const Point& lhs, const Vector2d& rhs) {
65 Point result(lhs);
70 inline Point operator-(const Point& lhs, const Vector2d& rhs) {
71 Point result(lhs);
76 inline Vector2d operator-(const Point& lhs, const Point& rhs) {
80 inline Point PointAtOffsetFromOrigin(const Vector2d& offset_from_origin) {
81 return Point(offset_from_origin.x(), offset_from_origin.y());
85 extern template class PointBase<Point, int, Vector2d>;