CPoint Struct Reference

Point structure. More...

List of all members.

Public Member Functions

 CPoint (CCoord h=0, CCoord v=0)
CPointoperator() (CCoord h, CCoord v)
bool isInside (const CRect &r) const
bool operator!= (const CPoint &other) const
bool operator== (const CPoint &other) const
CPointoperator+= (const CPoint &other)
CPointoperator-= (const CPoint &other)
CPoint operator+ (const CPoint &other) const
CPoint operator- (const CPoint &other) const
CPointoffset (const CCoord h, const CCoord v)
void makeIntegral ()

Public Attributes

union {
   CCoord   h
   CCoord   x
}; 
union {
   CCoord   v
   CCoord   y
}; 

Detailed Description

Point structure.


Constructor & Destructor Documentation

CPoint ( CCoord  h = 0,
CCoord  v = 0 
) [inline]

Member Function Documentation

bool isInside ( const CRect r  )  const [inline]
void makeIntegral (  ) 
CPoint& offset ( const CCoord  h,
const CCoord  v 
) [inline]
bool operator!= ( const CPoint other  )  const [inline]
CPoint& operator() ( CCoord  h,
CCoord  v 
) [inline]
CPoint operator+ ( const CPoint other  )  const [inline]
CPoint& operator+= ( const CPoint other  )  [inline]
CPoint operator- ( const CPoint other  )  const [inline]
CPoint& operator-= ( const CPoint other  )  [inline]
bool operator== ( const CPoint other  )  const [inline]

Member Data Documentation

union { ... }
union { ... }

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

Generated on Fri Nov 22 11:09:53 2013 for VSTGUI by  doxygen 1.6.1