Public Member Functions | |
| operator GuiPoint () const | |
| bool | operator!= (const Point &p) const |
| Point & | operator+= (const Point &p) |
| Point & | operator-= (const Point &p) |
| bool | operator== (const Point &p) const |
| Point (const GuiPoint &) | |
| Point (int xx, int yy) | |
| Point () | |
Public Attributes | |
| int | x |
| int | y |
| ifm::Point::Point | ( | ) |
Default constructor, initializes values to 0.
| ifm::Point::Point | ( | int | xx, | |
| int | yy | |||
| ) |
Constructs a Point from an x and y value.
| xx | X value | |
| yy | Y value |
| ifm::Point::Point | ( | const GuiPoint & | ) |
Allow implicit conversions for compatability with gui toolkits.
| ifm::Point::operator GuiPoint | ( | ) | const |
Allow implicit conversions for compatability with gui toolkits.
| bool ifm::Point::operator!= | ( | const Point & | p | ) | const |
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 ifm::Point::operator== | ( | const Point & | p | ) | const |
| int ifm::Point::x |
| int ifm::Point::y |