#include <PtRect.h>
Structors | |
Pt () | |
Pt (int x_, int y_) | |
Accessors | |
bool | Less (const Pt &rhs) const |
Mutators | |
void | operator+= (const Pt &rhs) |
void | operator-= (const Pt &rhs) |
Pt | operator- () const |
Public Attributes | |
int | x |
int | y |
Definition at line 43 of file PtRect.h.
GG::Pt::Pt | ( | ) |
default ctor
GG::Pt::Pt | ( | int | x_, | |
int | y_ | |||
) |
ctor that creates a Pt ( _x , y )
bool GG::Pt::Less | ( | const Pt & | rhs | ) | const [inline] |
void GG::Pt::operator+= | ( | const Pt & | rhs | ) | [inline] |
void GG::Pt::operator-= | ( | const Pt & | rhs | ) | [inline] |
int GG::Pt::x |
the x component
Definition at line 62 of file PtRect.h.
Referenced by Less(), GG::Spin< T >::MinUsableSize(), GG::operator+(), operator+=(), GG::operator-(), operator-=(), GG::operator<(), GG::operator<=(), GG::operator==(), GG::operator>(), GG::operator>=(), and GG::Spin< T >::Render().
int GG::Pt::y |
the y component
Definition at line 63 of file PtRect.h.
Referenced by Less(), GG::Spin< T >::MinUsableSize(), GG::operator+(), operator+=(), GG::operator-(), operator-=(), GG::operator<(), GG::operator<=(), GG::operator==(), GG::operator>(), GG::operator>=(), and GG::Spin< T >::Render().