#include <FXPoint.h>
Public Member Functions | |
FXPoint () | |
FXPoint (const FXSize &s) | |
FXPoint (const FXPoint &p) | |
FXPoint (FXshort xx, FXshort yy) | |
bool | operator! () const |
bool | operator== (const FXPoint &p) const |
bool | operator!= (const FXPoint &p) const |
FXPoint & | operator= (const FXPoint &p) |
FXPoint & | set (const FXPoint &p) |
FXPoint & | set (FXshort xx, FXshort yy) |
FXPoint & | operator+= (const FXPoint &p) |
FXPoint & | operator-= (const FXPoint &p) |
FXPoint & | operator*= (FXshort c) |
FXPoint & | operator/= (FXshort c) |
FXPoint | operator- () |
FXPoint | operator+ (const FXPoint &p) const |
FXPoint | operator- (const FXPoint &p) const |
Public Attributes | |
FXshort | x |
FXshort | y |
Friends | |
FXPoint | operator* (const FXPoint &p, FXshort c) |
FXPoint | operator* (FXshort c, const FXPoint &p) |
FXPoint | operator/ (const FXPoint &p, FXshort c) |
FXPoint | operator/ (FXshort c, const FXPoint &p) |
FXAPI FXStream & | operator<< (FXStream &store, const FXPoint &p) |
FXAPI FXStream & | operator>> (FXStream &store, FXPoint &p) |
FX::FXPoint::FXPoint | ( | ) | [inline] |
Constructors.
bool FX::FXPoint::operator! | ( | ) | const [inline] |
Test if zero.
FXPoint& FX::FXPoint::set | ( | FXshort | xx, | |
FXshort | yy | |||
) | [inline] |
Set value from components.
FXPoint FX::FXPoint::operator- | ( | ) | [inline] |
Negation.
Save object to a stream.