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:
@@ -354,14 +354,32 @@ Assignment operator.
|
||||
|
||||
\membersection{wxRect::operator $==$}\label{wxrectequal}
|
||||
|
||||
\func{bool}{operator $==$}{\param{const wxRect\& }{rect}}
|
||||
\func{bool}{operator $==$}{\param{const wxRect\& }{r1}, \param{const wxRect\& }{r2}}
|
||||
|
||||
Equality operator.
|
||||
|
||||
|
||||
\membersection{wxRect::operator $!=$}\label{wxrectnotequal}
|
||||
|
||||
\func{bool}{operator $!=$}{\param{const wxRect\& }{rect}}
|
||||
\func{bool}{operator $!=$}{\param{const wxRect\& }{r1}, \param{const wxRect\& }{r2}}
|
||||
|
||||
Inequality operator.
|
||||
|
||||
|
||||
\func{wxRect}{operator $+$}{\param{const wxRect\& }{r1}, \param{const wxRect\& }{r2}}
|
||||
|
||||
\func{wxRect\&}{operator $+=$}{\param{const wxRect\& }{r}}
|
||||
|
||||
Like \helpref{Union}{wxrectunion} but don't treat empty rectangles specially.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxRect::Union}{wxrectunion}
|
||||
|
||||
|
||||
\func{wxRect}{operator $*$}{\param{const wxRect\& }{r1}, \param{const wxRect\& }{r2}}
|
||||
|
||||
\func{wxRect\&}{operator $*=$}{\param{const wxRect\& }{r}}
|
||||
|
||||
Returns the intersection of two rectangles (which may be empty).
|
||||
|
||||
|
Reference in New Issue
Block a user