VSTGUI  3.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
CPoint Struct Reference

Point structure. More...

#include <vstgui.h>

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
 
CPointoffset (const CCoord h, const CCoord v)
 

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
CPoint& offset ( const CCoord  h,
const CCoord  v 
)
inline
bool operator!= ( const CPoint other) const
inline
CPoint& operator() ( CCoord  h,
CCoord  v 
)
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 file: