#include <omgui/types.h>
Public Member Functions | |
bool | operator!= (const Point &p) |
Point & | operator+= (const Point &p) |
Point & | operator-= (const Point &p) |
bool | operator== (const Point &p) |
Point (int xx, int yy) | |
Point () | |
Public Attributes | |
int | x |
int | y |
omgui::Point::Point | ( | ) | [inline] |
Default constructor, initializes values to 0
omgui::Point::Point | ( | int | xx, | |
int | yy | |||
) | [inline] |
Constructs a Point from an x and y value.
xx | X value | |
yy | Y value |
bool omgui::Point::operator!= | ( | const Point & | p | ) | [inline] |
Add the x and y values of position p to this position's x and y values.
Subtract the x and y values of position p from this position's x and y values.
bool omgui::Point::operator== | ( | const Point & | p | ) | [inline] |
int omgui::Point::x |
int omgui::Point::y |