VSTGUI  4.2
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 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

+ Here is the caller graph for this function:

Member Function Documentation

bool isInside ( const CRect r) const
inline

+ Here is the caller graph for this function:

void makeIntegral ( )
CPoint& offset ( const CCoord  h,
const CCoord  v 
)
inline

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool operator!= ( const CPoint other) const
inline
CPoint& operator() ( CCoord  h,
CCoord  v 
)
inline
CPoint operator+ ( const CPoint other) const
inline

+ Here is the call graph for this function:

CPoint& operator+= ( const CPoint other)
inline
CPoint operator- ( const CPoint other) const
inline

+ Here is the call graph for this function:

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: