X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06d20283afba5439c8a2c1b3b7cd3390541da52d..8b6e6947fc8fb946391740d66b140413eccb6b6c:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index ad356d307a..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,7 +293,7 @@ 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}.} +\pythonnote{A wxPython alias for this operator is called {\tt Next}.} \membersection{wxRegionIterator::operator bool}