VSTGUI  4.4
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
CPoint Struct Reference

Point structure. More...

Public Member Functions

 CPoint (CCoord x=0, CCoord y=0)
 
CPointoperator() (CCoord _x, CCoord _y)
 
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
 
CPoint operator- () const
 
CPointoffset (const CCoord _x, const CCoord _y)
 
CPointoffset (const CPoint &other)
 
CPointoffsetInverse (const CPoint &other)
 
CPointmakeIntegral ()
 

Public Attributes

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

Detailed Description

Point structure.

Constructor & Destructor Documentation

CPoint ( CCoord  x = 0,
CCoord  y = 0 
)
inline

Member Function Documentation

bool isInside ( const CRect r) const
CPoint & makeIntegral ( )
inline
CPoint& offset ( const CCoord  _x,
const CCoord  _y 
)
inline
CPoint& offset ( const CPoint other)
inline
CPoint& offsetInverse ( const CPoint other)
inline
bool operator!= ( const CPoint other) const
inline
CPoint& operator() ( CCoord  _x,
CCoord  _y 
)
inline
CPoint operator+ ( const CPoint other) const
inline
CPoint& operator+= ( const CPoint other)
inline
CPoint operator- ( const CPoint other) const
inline
CPoint operator- ( ) const
inline
CPoint& operator-= ( const CPoint other)
inline
bool operator== ( const CPoint other) const
inline

Member Data Documentation

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

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