]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/rect.tex
added wxWindow::Set/GetMin/MaxClientSize convenience functions
[wxWidgets.git] / docs / latex / wx / rect.tex
index a6c97fd2cc31a7462451e7b42a2cc51e06957a0b..94251a289e3a02dc0f603a3048e63ab8bf381cfe 100644 (file)
@@ -10,6 +10,10 @@ None
 
 <wx/gdicmn.h>
 
+\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).
+
+