15 #ifndef GUI_LIB_TYPES_POINT_HPP_INCLUDED
16 #define GUI_LIB_TYPES_POINT_HPP_INCLUDED
38 return x == point.
x && y == point.
y;
42 return x != point.
x || y != point.
y;
46 return x < point.
x || (x == point.
x && y < point.
y);
51 return x < point.
x || (x == point.
x && y <= point.
y);
56 return tpoint(x + point.
x, y + point.
y);
63 return tpoint(x - point.
x, y - point.
y);
tformula< unsigned > x_
The x coordinate of the rectangle.
tpoint operator+(const tpoint &point) const
tpoint & operator-=(const tpoint &point)
bool operator<=(const tpoint &point) const
bool operator==(const tpoint &point) const
bool operator<(const tpoint &point) const
GLint GLint GLint GLint GLint GLint y
A class inherited from ttext_box that displays its input as stars.
bool operator!=(const tpoint &point) const
std::ostream & operator<<(std::ostream &stream, const tpoint &point)
tpoint(const int x_, const int y_)
GLint GLint GLint GLint GLint x
tformula< unsigned > y_
The y coordinate of the rectangle.
tpoint operator-(const tpoint &point) const
tpoint & operator+=(const tpoint &point)