X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2c4d939f3e2c3971f56a0f741a575b5a4aae094..3b96ea1ac54b735c3a018980cd2ac652c30aa129:/docs/latex/wx/rect.tex diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index a6c97fd2cc..94251a289e 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -10,6 +10,10 @@ None +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxPoint}{wxpoint}, \helpref{wxSize}{wxsize} @@ -268,6 +272,17 @@ means: \helpref{Deflate}{wxrectdeflate} +\membersection{wxRect::Intersect}\label{wxrectintersect} + +\constfunc{wxRect}{Intersect}{\param{const wxRect\& }{rect}} + +\func{wxRect\&}{Intersect}{\param{const wxRect\& }{rect}} + +Modifies the rectangle to contain the overlapping box of this rectangle and the +one passed in as parameter. The const version returns the new rectangle, the +other one modifies this rectangle in place. + + \membersection{wxRect::Intersects}\label{wxrectintersects} \constfunc{bool}{Intersects}{\param{const wxRect\& }{rect}} @@ -354,14 +369,33 @@ 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). + +