X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/320bf9ceec62cacabb3b2d811f9139a1db2f4f1f..245b9db51823e59bd61f0d7c0c69b419495cf0b7:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index e65055db79..060b19f31a 100644 --- a/docs/latex/wx/region.tex +++ b/docs/latex/wx/region.tex @@ -10,8 +10,14 @@ \section{\class{wxRegion}}\label{wxregion} -A wxRegion represents a simple or complex region on a device context or window. It uses -reference counting, so copying and assignment operations are fast. +A wxRegion represents a simple or complex region on a device context or window. + +This class uses \helpref{reference counting and copy-on-write}{trefcount} +internally so that assignments between two instances of this class are very +cheap. You can therefore use actual objects instead of pointers without +efficiency problems. If an instance of this class is changed it will create +its own data internally so that other instances, which previously shared the +data using the reference counting, are not affected. \wxheading{Derived from} @@ -22,6 +28,10 @@ reference counting, so copying and assignment operations are fast. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxRegionIterator}{wxregioniterator} @@ -291,6 +301,10 @@ See \helpref{wxPaintEvent}{wxpaintevent} for an example of use. +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{wxPaintEvent}{wxpaintevent} @@ -392,3 +406,4 @@ 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. +