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)
FXPoint & operator= (const FXPoint &p)
FXPoint & operator= (const FXSize &s)
FXPoint & operator+= (const FXPoint &p)
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- ()

Public Attributes

FXshort x
FXshort y

Friends

FXbool operator== (const FXPoint &p, const FXPoint &q)
FXbool operator!= (const FXPoint &p, const FXPoint &q)
FXPoint operator+ (const FXPoint &p, const FXPoint &q)
FXPoint operator+ (const FXPoint &p, const FXSize &s)
FXPoint operator+ (const FXSize &s, const FXPoint &p)
FXPoint operator- (const FXPoint &p, const FXPoint &q)
FXPoint operator- (const FXPoint &p, const FXSize &s)
FXPoint operator- (const FXSize &s, const FXPoint &p)
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)


Detailed Description

Point.


Constructor & Destructor Documentation

FX::FXPoint::FXPoint (   )  [inline]
 

Constructors.


Member Function Documentation

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

Assignment.

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

Assignment operators.

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

Negation.


Friends And Related Function Documentation

FXbool operator== (  const FXPoint &  p,
const FXPoint &  q
)  [friend]
 

Equality.

FXPoint operator+ (  const FXPoint &  p,
const FXPoint &  q
)  [friend]
 

Other operators.

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.

Copyright © 1997-2005 Jeroen van der Zijp