X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76c5df2420c0a6e430ea0194ce0f7d93b316f119..16d38102e8ad5534d185cc532b9aa8077a75e0a4:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index a2828e8e24..a5c3001478 100644 --- a/docs/latex/wx/region.tex +++ b/docs/latex/wx/region.tex @@ -8,6 +8,10 @@ reference counting, so copying and assignment operations are fast. \helpref{wxGDIObject}{wxgdiobject}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxRegionIterator}{wxregioniterator} @@ -36,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} @@ -110,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. @@ -197,6 +209,10 @@ See \helpref{wxWindow::OnPaint}{wxwindowonpaint} for an example of use. \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxWindow::OnPaint}{wxwindowonpaint} @@ -277,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}