From: Václav Slavík Date: Wed, 13 Sep 2006 17:06:01 +0000 (+0000) Subject: renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23621b352c80acbb252aa4ebddcf31829f62d4d7?ds=sidebyside renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index f94ab4fc95..e70e47d85b 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -81,6 +81,21 @@ directions but if \arg{dir} includes only \texttt{wxVERTICAL} or only the other component of its position remains unchanged. +\membersection{wxRect::Contains}\label{wxrectcontains} + +\constfunc{bool}{Contains}{\param{int }{x}, \param{int }{y}} + +\constfunc{bool}{Contains}{\param{const wxPoint\& }{pt}} + +Returns {\tt true} if the given point is inside the rectangle (or on its +boundary) and {\tt false} otherwise. + +\constfunc{bool}{Contains}{\param{const wxRect\& }{rect}} + +Returns \true if the given rectangle is completely inside this rectangle +(or touches its boundary) and \false otherwise. + + \membersection{wxRect::Deflate}\label{wxrectdeflate} \func{void}{Deflate}{\param{wxCoord }{dx}, \param{wxCoord }{dy}} @@ -234,20 +249,6 @@ means: \helpref{Deflate}{wxrectdeflate} -\membersection{wxRect::Inside}\label{wxrectinside} - -\constfunc{bool}{Inside}{\param{int }{x}, \param{int }{y}} - -\constfunc{bool}{Inside}{\param{const wxPoint\& }{pt}} - -Returns {\tt true} if the given point is inside the rectangle (or on its -boundary) and {\tt false} otherwise. - -\constfunc{bool}{Inside}{\param{const wxRect\& }{rect}} - -Returns \true if the given rectangle is completely inside this rectangle -(or touches its boundary) and \false otherwise. - \membersection{wxRect::Intersects}\label{wxrectintersects} \constfunc{bool}{Intersects}{\param{const wxRect\& }{rect}}