A wxPoint is a useful data structure for graphics operations. It simply contains integer x and y members.
See also wxRealPoint for a floating point version.
Derived from
None
Include files
<wx/gdicmn.h>
See also
Members
wxPoint::wxPoint
wxPoint::x
wxPoint::y
Operators
wxPoint()
wxPoint(int x, int y)
Create a point.
int x
x member.
int y
y member.
void operator =(const wxPoint& pt)
Assignment operator.
bool operator ==(const wxPoint& pt)
bool operator !=(const wxPoint& pt)
wxPoint operator +(const wxPoint& pt)
wxPoint operator -(const wxPoint& pt)
wxPoint& operator +=(const wxPoint& pt)
wxPoint& operator -=(const wxPoint& pt)
Operators for comparison, sum and subtraction between wxPoint objects.
wxPoint operator +(const wxSize& sz)
wxPoint operator -(const wxSize& sz)
wxPoint& operator +=(const wxSize& sz)
wxPoint& operator -=(const wxSize& sz) Operators for sum and subtraction between a wxPoint object and a wxSize object.