Document a series of undocumented wxPoint and wxRealPoint operators.
Unary minus of wxPoint and multiplication with double are implemented but undocumented. Many of operators that use integers types other than int remain undocumented though.
This commit is contained in:
parent
66e7d0bce8
commit
8638db50da
1 changed files with 6 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ public:
|
|||
wxRealPoint& operator /=(int divisor);
|
||||
wxRealPoint& operator *=(int factor);
|
||||
|
||||
wxRealPoint operator *(const wxRealPoint& pt, double factor);
|
||||
wxRealPoint operator *(double factor, const wxRealPoint& pt);
|
||||
wxRealPoint operator /(const wxRealPoint& pt, double divisor);
|
||||
///@}
|
||||
|
||||
|
|
@ -733,6 +735,8 @@ public:
|
|||
wxPoint& operator +=(const wxSize& sz);
|
||||
wxPoint& operator -=(const wxSize& sz);
|
||||
|
||||
wxPoint operator -(const wxPoint& pt);
|
||||
|
||||
wxPoint operator /(const wxPoint& sz, int divisor);
|
||||
wxPoint operator *(const wxPoint& sz, int factor);
|
||||
wxPoint operator *(int factor, const wxPoint& sz);
|
||||
|
|
@ -740,6 +744,8 @@ public:
|
|||
wxPoint& operator *=(int factor);
|
||||
|
||||
wxPoint operator /(const wxPoint& pt, double divisor);
|
||||
wxPoint operator *(const wxPoint& pt, double factor);
|
||||
wxPoint operator *(double factor, const wxPoint& pt);
|
||||
///@}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue