VSTGUI
4.10
Graphical User Interface Framework not only for VST plugins
|
Point structure. More...
Public Member Functions | |
constexpr | CPoint ()=default |
constexpr | CPoint (CCoord x, CCoord y) |
CPoint & | operator() (CCoord _x, CCoord _y) |
constexpr bool | operator!= (const CPoint &other) const |
constexpr bool | operator== (const CPoint &other) const |
CPoint & | operator+= (const CPoint &other) |
CPoint & | operator-= (const CPoint &other) |
CPoint & | operator*= (double factor) |
CPoint & | operator/= (double factor) |
constexpr CPoint | operator+ (const CPoint &other) const |
constexpr CPoint | operator- (const CPoint &other) const |
constexpr CPoint | operator* (double factor) const |
constexpr CPoint | operator/ (double factor) const |
constexpr CPoint | operator- () const |
CPoint & | offset (const CCoord c) |
CPoint & | offset (const CCoord _x, const CCoord _y) |
CPoint & | offset (const CPoint &other) |
CPoint & | offsetInverse (const CPoint &other) |
CPoint & | makeIntegral () |
Public Attributes | |
CCoord | x {0.} |
CCoord | y {0.} |
Point structure.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
CCoord x {0.} |
CCoord y {0.} |