Point(const Point &other)
Construct a point as a copy of another point.
Definition: point.h:57
int x
Definition: point.h:59
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:35
bool operator==(const Point &other) const
Check if this point is the same as another.
Definition: point.h:75
Point()
Construct an uninitialised point.
Definition: point.h:44
bool operator!=(const Point &other) const
Check if this point is different from another.
Definition: point.h:82
int y
Definition: point.h:60
bool operator>(const Point &other) const
Check if this points is greater than another.
Definition: point.h:118
Class to represent a two-dimensional size.
Definition: size.h:35
Point & operator=(const Point &other)
Assign this point to the same value as another.
Definition: point.h:68
Class to represent a position in two dimensional space.
Definition: point.h:37
bool operator>=(const Point &other) const
Check if this points is greater than or equal to another.
Definition: point.h:127
bool operator<=(const Point &other) const
Check if this points is less than or equal another.
Definition: point.h:109
Point(int ix, int iy)
Construct a point from the give coordinates.
Definition: point.h:51
bool operator<(const Point &other) const
Check if this points is less than another.
Definition: point.h:100
Size operator-(const Point &other) const
Subtract another point from this one.
Definition: point.h:90