Home | History | Annotate | Download | only in ui

Lines Matching defs:Point

24 class Point
33 // Default constructor doesn't initialize the Point
34 inline Point() {
36 inline Point(int x, int y) : x(x), y(y) {
39 inline bool operator == (const Point& rhs) const {
42 inline bool operator != (const Point& rhs) const {
52 bool operator < (const Point& rhs) const {
56 inline Point& operator - () {
62 inline Point& operator += (const Point& rhs) {
67 inline Point& operator -= (const Point& rhs) {
73 const Point operator + (const Point& rhs) const {
74 const Point result(x+rhs.x, y+rhs.y);
77 const Point operator - (const Point& rhs) const {
78 const Point result(x-rhs.x, y-rhs.y);
83 ANDROID_BASIC_TYPES_TRAITS(Point)