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

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


Detailed Description

Point.


Constructor & Destructor Documentation

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]
 


Member Function Documentation

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

Test if zero.

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

Equality.

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

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

Assignment.

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

Set value from another point.

FXPoint& FX::FXPoint::set FXshort  xx,
FXshort  yy
[inline]
 

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]
 

Negation.

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
[friend]
 

Scale operators.

FXPoint operator * FXshort  c,
const FXPoint p
[friend]
 

FXPoint operator/ const FXPoint p,
FXshort  c
[friend]
 

FXPoint operator/ FXshort  c,
const FXPoint p
[friend]
 

FXStream& operator<< FXStream store,
const FXPoint p
[friend]
 

Save object to a stream.

FXStream& operator>> FXStream store,
FXPoint p
[friend]
 

Load object from a stream.


Member Data Documentation

FXshort FX::FXPoint::x
 

FXshort FX::FXPoint::y
 

Copyright © 1997-2005 Jeroen van der Zijp