X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59b48b469045e4d3e9258be2c4b149bb0fd77f08..245b9db51823e59bd61f0d7c0c69b419495cf0b7:/docs/latex/wx/region.tex diff --git a/docs/latex/wx/region.tex b/docs/latex/wx/region.tex index 16a33a2c21..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}