X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a16d7370e3cdc7d583a6f14ab11b3a1d27b73df..dc484d491b15355285a89da275c58c2ef247d1f4:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index 4cc3310907..e65055db79 100644 --- a/docs/latex/wx/region.tex +++ b/docs/latex/wx/region.tex @@ -1,3 +1,13 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Name: region.tex +%% Purpose: wxRegion documentation +%% Author: wxTeam +%% Created: +%% RCS-ID: $Id$ +%% Copyright: (c) wxTeam +%% License: wxWindows license +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \section{\class{wxRegion}}\label{wxregion} A wxRegion represents a simple or complex region on a device context or window. It uses @@ -39,7 +49,7 @@ Constructs a rectangular region a wxRect object. \func{}{wxRegion}{\param{const wxRegion\&}{ region}} -Constructs a region by copying another region. +Copy constructor, uses \helpref{reference counting}{trefcount}. \func{}{wxRegion}{\param{size\_t}{ n}, \param{const wxPoint }{*points}, \param{int }{fillStyle = wxWINDING\_RULE}} @@ -47,8 +57,6 @@ 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+ wxWidgets ports. - \func{}{wxRegion}{\param{const wxBitmap\&}{ bmp}} \func{}{wxRegion}{\param{const wxBitmap\&}{ bmp}, @@ -65,6 +73,7 @@ Constructs a region using the non-transparent pixels of a bitmap. See \func{}{\destruct{wxRegion}}{\void} Destructor. +See \helpref{reference-counted object destruction}{refcountdestruct} for more info. \membersection{wxRegion::Clear}\label{wxregionclear} @@ -260,7 +269,9 @@ for any overlapping areas. The result is stored in this region. \func{void}{operator $=$}{\param{const wxRegion\&}{ region}} -Copies {\it region} by reference counting. +Assignment operator, using \helpref{reference counting}{trefcount}. + + \section{\class{wxRegionIterator}}\label{wxregioniterator} @@ -381,4 +392,3 @@ Increment operator. Increments the iterator to the next region. Returns {\tt true} if there are still some rectangles; otherwise returns {\tt false}. You can use this to test the iterator object as if it were of type bool. -