Size operator-(const Point &other) const
Subtract another point from this one.
Definition: point.h:90
A library for creating RISC OS toolbox applications.
Definition: abouttobeshownlistener.cc:34
Class to represent a two-dimensional size.
Definition: size.h:34
bool operator>(const Point &other) const
Check if this points is greater than another.
Definition: point.h:118
int x
Definition: point.h:59
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 or equal another.
Definition: point.h:109
Point & operator=(const Point &other)
Assign this point to the same value as another.
Definition: point.h:68
int y
Definition: point.h:60
Class to represent a position in two dimensional space.
Definition: point.h:36
bool operator==(const Point &other) const
Check if this point is the same as another.
Definition: point.h:75
Point(const Point &other)
Construct a point as a copy of another point.
Definition: point.h:57
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
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 another.
Definition: point.h:100