Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXPoint Class Reference

Point.

#include <FXPoint.h>

List of all members.

Public Methods

 FXPoint ()
 Constructors.

 FXPoint (const FXSize &s)
 FXPoint (const FXPoint &p)
 FXPoint (FXshort xx, FXshort yy)
FXPoint & operator= (const FXPoint &p)
 Assignment.

FXPoint & operator= (const FXSize &s)
FXPoint & operator+= (const FXPoint &p)
 Assignment operators.

FXPoint & operator+= (const FXSize &s)
FXPoint & operator-= (const FXPoint &p)
FXPoint & operator-= (const FXSize &s)
FXPoint & operator *= (FXshort c)
FXPoint & operator/= (FXshort c)
FXPoint operator- ()
 Negation.


Public Attributes

FXshort x
FXshort y

Friends

FXAPI FXbool operator== (const FXPoint &p, const FXPoint &q)
 Equality.

FXAPI FXbool operator!= (const FXPoint &p, const FXPoint &q)
FXAPI FXPoint operator+ (const FXPoint &p, const FXPoint &q)
 Other operators.

FXAPI FXPoint operator+ (const FXPoint &p, const FXSize &s)
FXAPI FXPoint operator+ (const FXSize &s, const FXPoint &p)
FXAPI FXPoint operator- (const FXPoint &p, const FXPoint &q)
FXAPI FXPoint operator- (const FXPoint &p, const FXSize &s)
FXAPI FXPoint operator- (const FXSize &s, const FXPoint &p)
FXAPI FXPoint operator * (const FXPoint &p, FXshort c)
FXAPI FXPoint operator * (FXshort c, const FXPoint &p)
FXAPI FXPoint operator/ (const FXPoint &p, FXshort c)
FXAPI FXPoint operator/ (FXshort c, const FXPoint &p)
FXAPI FXStreamoperator<< (FXStream &store, const FXPoint &p)
 Save object to a stream.

FXAPI FXStreamoperator>> (FXStream &store, FXPoint &p)
 Load object from a stream.