wxpointa 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::wxpointwxpoint() wxpoint(int x, int y) create a point.
wxpoint::xint x x member.
wxpoint::yint y y member.
operatorsvoid 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.
|