From 23621b352c80acbb252aa4ebddcf31829f62d4d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 13 Sep 2006 17:06:01 +0000 Subject: [PATCH] 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 --- docs/latex/wx/rect.tex | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) 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}} -- 2.45.2