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

FX::FXPoint Class Reference

Point. More...

#include <FXPoint.h>

List of all members.

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
FXPointoperator= (const FXPoint &p)
FXPointset (const FXPoint &p)
FXPointset (FXshort xx, FXshort yy)
FXPointoperator+= (const FXPoint &p)
FXPointoperator-= (const FXPoint &p)
FXPointoperator *= (FXshort c)
FXPointoperator/= (FXshort c)
FXPoint operator- ()
FXPoint operator+ (const FXPoint &p) const
FXPoint operator- (const FXPoint &p) const

Public Attributes

FXshort x
FXshort y


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)
FXStreamoperator<< (FXStream &store, const FXPoint &p)
FXStreamoperator>> (FXStream &store, FXPoint &p)

Detailed Description


Constructor & Destructor Documentation

FX::FXPoint::FXPoint  )  [inline]


FX::FXPoint::FXPoint const FXSize s  )  [inline]

FX::FXPoint::FXPoint const FXPoint p  )  [inline]

FX::FXPoint::FXPoint FXshort  xx,
FXshort  yy

Member Function Documentation

bool FX::FXPoint::operator!  )  const [inline]

Test if zero.

bool FX::FXPoint::operator== const FXPoint p  )  const [inline]


bool FX::FXPoint::operator!= const FXPoint p  )  const [inline]

FXPoint& FX::FXPoint::operator= const FXPoint p  )  [inline]


FXPoint& FX::FXPoint::set const FXPoint p  )  [inline]

Set value from another point.

FXPoint& FX::FXPoint::set FXshort  xx,
FXshort  yy

Set value from components.

FXPoint& FX::FXPoint::operator+= const FXPoint p  )  [inline]

Assignment operators.

FXPoint& FX::FXPoint::operator-= const FXPoint p  )  [inline]

FXPoint& FX::FXPoint::operator *= FXshort  c  )  [inline]

FXPoint& FX::FXPoint::operator/= FXshort  c  )  [inline]

FXPoint FX::FXPoint::operator-  )  [inline]


FXPoint FX::FXPoint::operator+ const FXPoint p  )  const [inline]

Addition operators.

FXPoint FX::FXPoint::operator- const FXPoint p  )  const [inline]

Friends And Related Function Documentation

FXPoint operator * const FXPoint p,
FXshort  c

Scale operators.

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

Save object to a stream.

FXStream& operator>> FXStream store,
FXPoint p

Load object from a stream.

Member Data Documentation

FXshort FX::FXPoint::x

FXshort FX::FXPoint::y

Copyright © 1997-2005 Jeroen van der Zijp