X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..8b6e6947fc8fb946391740d66b140413eccb6b6c:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index fe16c0e250..a5c3001478 100644 --- a/docs/latex/wx/region.tex +++ b/docs/latex/wx/region.tex @@ -40,6 +40,14 @@ Constructs a rectangular region a wxRect object. Constructs a region by copying another region. +\func{}{wxRegion}{\param{size\_t}{ n}, \param{const wxPoint }{*points}, \param{int }{fillStyle = wxWINDING\_RULE}} + +Constructs a region corresponding to the polygon made of {\it n} points in the +provided array. {\it fillStyle} parameter may have values +{\tt wxWINDING\_RULE} or {\tt wxODDEVEN\_RULE}. + +{\bf NB:} This constructor is only implemented for Win32 and GTK+ wxWindows ports. + \membersection{wxRegion::\destruct{wxRegion}} \func{}{\destruct{wxRegion}}{\void} @@ -114,10 +122,10 @@ is stored in this region. \constfunc{bool}{IsEmpty}{\void} -\func{bool}{IsEmpty}{\void} - Returns TRUE if the region is empty, FALSE otherwise. +\membersection{wxRegion::Subtract}\label{wxregionsubstract} + \func{bool}{Subtract}{\param{const wxRect\&}{ rect}} Subtracts a rectangular region from this region. @@ -285,6 +293,8 @@ Resets the iterator to the given region. Increment operator. Increments the iterator to the next region. +\pythonnote{A wxPython alias for this operator is called {\tt Next}.} + \membersection{wxRegionIterator::operator bool} \constfunc{}{operator bool}{\void}