X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4c43a177e90b0699097934d4bc40b3fc452becd..751731864888f00e31e6dce1092ac28a1fac5358:/docs/latex/wx/rect.tex?ds=sidebyside diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index f99446bc73..d9905a99dc 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -103,6 +103,18 @@ Gets the left point of the rectangle (the same as \helpref{wxRect::GetX}{wxrectg Gets the position. +\membersection{wxRect::GetTopLeft}\label{wxrectgettopleft} + +\constfunc{wxPoint}{GetTopLeft}{\void} + +Gets the topleft position of the rectangle. (Same as GetPosition). + +\membersection{wxRect::GetBottomRight}\label{wxrectgetbottomright} + +\constfunc{wxPoint}{GetBottomRight}{\void} + +Gets the the bottom right position. Returns the bottom right point inside the rectangle. + \membersection{wxRect::GetRight}\label{wxrectgetright} \constfunc{int}{GetRight}{\void} @@ -149,7 +161,7 @@ Gets the y member. Increase the rectangle size by {\it dx} in x direction and {\it dy} in y direction. Both (or one of) parameters may be negative to decrease the -rectngle size. +rectangle size. The second form uses the same {\it diff} for both {\it dx} and {\it dy}. @@ -166,15 +178,15 @@ new rectangle leaving this one unchanged. \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. +Returns {\tt true} if the given point is inside the rectangle (or on its +boundary) and {\tt false} otherwise. \membersection{wxRect:Intersects}\label{wxrectintersects} \constfunc{bool}{Intersects}{\param{const wxRect\& }{rect}} -Returns {\tt TRUE} if this rectangle has a non empty intersection with the -rectangle {\it rect} and {\tt FALSE} otherwise. +Returns {\tt true} if this rectangle has a non empty intersection with the +rectangle {\it rect} and {\tt false} otherwise. \membersection{wxRect::Offset}\label{wxrectoffset}