Pyrogenesis  trunk
Public Member Functions | Public Attributes | List of all members
CPos Class Reference

Made to represent screen positions and delta values. More...

#include <Shapes.h>

Public Member Functions

 CPos ()
 
 CPos (const CSize &pos)
 
 CPos (const float &_x, const float &_y)
 
CPosoperator= (const CPos &a)
 
bool operator== (const CPos &a) const
 
bool operator!= (const CPos &a) const
 
CPos operator- (void) const
 
CPos operator+ (void) const
 
CPos operator+ (const CPos &a) const
 
CPos operator+ (const CSize &a) 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)
 
void operator-= (const CSize &a)
 

Public Attributes

float x
 Position. More...
 
float y
 

Detailed Description

Made to represent screen positions and delta values.

See also
CRect
CSize

Constructor & Destructor Documentation

CPos::CPos ( )
CPos::CPos ( const CSize pos)
CPos::CPos ( const float &  _x,
const float &  _y 
)

Member Function Documentation

bool CPos::operator!= ( const CPos a) const
CPos CPos::operator+ ( void  ) const
CPos CPos::operator+ ( const CPos a) const
CPos CPos::operator+ ( const CSize a) const
void CPos::operator+= ( const CPos a)
void CPos::operator+= ( const CSize a)
CPos CPos::operator- ( void  ) const
CPos CPos::operator- ( const CPos a) const
CPos CPos::operator- ( const CSize a) const
void CPos::operator-= ( const CPos a)
void CPos::operator-= ( const CSize a)
CPos & CPos::operator= ( const CPos a)
bool CPos::operator== ( const CPos a) const

Member Data Documentation

float CPos::x

Position.

float CPos::y

The documentation for this class was generated from the following files: