Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

ps
Class CPos

   in Overlay.h
   in Overlay.cpp

class CPos

Made to represent screen positions and delta values.

See Also:
CRect, CSize

Field Summary
 float x
          Position
 float y
          Position
 
Constructor Summary
CPos( const CSize& pos )
          
CPos( const float& _x, const float& _y )
          
CPos()
          
 
Method Summary
 bool operator!=( const CPos& a ) const
          
 CPos operator+( const CSize& a ) const
          
 CPos operator+( void ) const
          
 CPos operator+( const CPos& a ) const
          
 void operator+=( const CSize& a )
          
 void operator+=( const CPos& a )
          
 CPos operator-( void ) const
          
 CPos operator-( const CPos& a ) const
          
 CPos operator-( const CSize& a ) const
          
 void operator-=( const CPos& a )
          
 void operator-=( const CSize& a )
          
 void operator=( const CPos& a )
          
 bool operator==( const CPos& a ) const
          
 

Field Detail

x

public float x;
Position

y

public float y;
Position


Constructor Detail

CPos

public CPos( const CSize& pos );

CPos

public CPos( const float& _x, const float& _y );

CPos

public CPos();


Method Detail

operator!=

public bool operator!=( const CPos& a ) const;

operator+

public CPos operator+( const CSize& a ) const;

operator+

public CPos operator+( void ) const;

operator+

public CPos operator+( const CPos& a ) const;

operator+=

public void operator+=( const CSize& a );

operator+=

public void operator+=( const CPos& a );

operator-

public CPos operator-( void ) const;

operator-

public CPos operator-( const CPos& a ) const;

operator-

public CPos operator-( const CSize& a ) const;

operator-=

public void operator-=( const CPos& a );

operator-=

public void operator-=( const CSize& a );

operator=

public void operator=( const CPos& a );

operator==

public bool operator==( const CPos& a ) const;

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD