added wxRect::operator+() and *() (union and intersection); also made other operators friends instead of members (patch 1589175)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-05-24 01:47:29 +00:00
parent a3e70e1f3b
commit bc5e942bf3
9 changed files with 238 additions and 76 deletions

View File

@@ -56,13 +56,13 @@ y member.
Assignment operator.
\func{bool}{operator $==$}{\param{const wxPoint\& }{pt}}
\func{bool}{operator $==$}{\param{const wxPoint\& }{p1}, \param{const wxPoint\& }{p2}}
\func{bool}{operator $!=$}{\param{const wxPoint\& }{pt}}
\func{bool}{operator $!=$}{\param{const wxPoint\& }{p1}, \param{const wxPoint\& }{p2}}
\func{wxPoint}{operator $+$}{\param{const wxPoint\& }{pt}}
\func{wxPoint}{operator $+$}{\param{const wxPoint\& }{p1}, \param{const wxPoint\& }{p2}}
\func{wxPoint}{operator $-$}{\param{const wxPoint\& }{pt}}
\func{wxPoint}{operator $-$}{\param{const wxPoint\& }{p1}, \param{const wxPoint\& }{p2}}
\func{wxPoint\&}{operator $+=$}{\param{const wxPoint\& }{pt}}
@@ -71,14 +71,18 @@ Assignment operator.
Operators for comparison, sum and subtraction between \helpref{wxPoint}{wxpoint} objects.
\func{wxPoint}{operator $+$}{\param{const wxSize\& }{sz}}
\func{wxPoint}{operator $+$}{\param{const wxPoint\& }{pt}, \param{const wxSize\& }{sz}}
\func{wxPoint}{operator $-$}{\param{const wxSize\& }{sz}}
\func{wxPoint}{operator $-$}{\param{const wxPoint\& }{pt}, \param{const wxSize\& }{sz}}
\func{wxPoint}{operator $+$}{\param{const wxSize\& }{sz}, \param{const wxPoint\& }{pt}}
\func{wxPoint}{operator $-$}{\param{const wxSize\& }{sz}, \param{const wxPoint\& }{pt}}
\func{wxPoint\&}{operator $+=$}{\param{const wxSize\& }{sz}}
\func{wxPoint\&}{operator $-=$}{\param{const wxSize\& }{sz}}
Operators for sum and subtraction between a \helpref{wxPoint}{wxpoint} object and a
\helpref{wxSize}{wxsize} object.