![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#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) |
FXStream & | operator<< (FXStream &store, const FXPoint &p) |
FXStream & | operator>> (FXStream &store, FXPoint &p) |
Point.
FX::FXPoint::FXPoint | ( | ) | [inline] |
Constructors.
FX::FXPoint::FXPoint | ( | const FXSize & | s | ) | [inline] |
FX::FXPoint::FXPoint | ( | const FXPoint & | p | ) | [inline] |
FX::FXPoint::FXPoint | ( | FXshort | xx, |
FXshort | yy | ||
) | [inline] |
bool FX::FXPoint::operator! | ( | ) | const [inline] |
Test if zero.
bool FX::FXPoint::operator!= | ( | const FXPoint & | p | ) | const [inline] |
FXPoint& FX::FXPoint::set | ( | const FXPoint & | p | ) | [inline] |
Set value from another point.
References x.
FXPoint& FX::FXPoint::set | ( | FXshort | xx, |
FXshort | yy | ||
) | [inline] |
Set value from components.
FXPoint FX::FXPoint::operator- | ( | ) | [inline] |
Negation.
![]() |