X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8673a125052b480c4a79772c310586e5eff05bf8..8b2858410444b111cb192d1539ef6c76209091fd:/docs/latex/wx/rect.tex?ds=sidebyside diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index 44239884dd..30cba05bf7 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -126,7 +126,7 @@ Gets the topleft position of the rectangle. (Same as GetPosition). \constfunc{wxPoint}{GetBottomRight}{\void} -Gets the the bottom right position. Returns the bottom right point inside the rectangle. +Gets the bottom right position. Returns the bottom right point inside the rectangle. \membersection{wxRect::GetRight}\label{wxrectgetright} @@ -142,6 +142,10 @@ Gets the right point of the rectangle. Gets the size. +\wxheading{See also} + +\helpref{wxRect::SetSize}{wxrectsetsize} + \membersection{wxRect::GetTop}\label{wxrectgettop} @@ -235,6 +239,14 @@ Returns {\tt true} if this rectangle has a non empty intersection with the rectangle {\it rect} and {\tt false} otherwise. +\membersection{wxRect::IsEmpty}\label{wxrectisempty} + +\constfunc{bool}{IsEmpty}{} + +Returns {\tt true} if this rectangle has a width or height less than or equal to +0 and {\tt false} otherwise. + + \membersection{wxRect::Offset}\label{wxrectoffset} \func{void}{Offset}{\param{wxCoord }{dx}, \param{wxCoord }{dy}} @@ -253,6 +265,17 @@ bottom, otherwise it is moved to the left or top respectively. Sets the height. +\membersection{wxRect::SetSize}\label{wxrectsetsize} + +\func{void}{SetSize}{\param{const wxSize\&}{ s}} + +Sets the size. + +\wxheading{See also} + +\helpref{wxRect::GetSize}{wxrectgetsize} + + \membersection{wxRect::SetWidth}\label{wxrectsetwidth} \func{void}{SetWidth}{\param{int}{ width}}