]> git.saurik.com Git - wxWidgets.git/commitdiff
document that wxRenderer methods [are supposed to] preserve wxDC attributes
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 May 2006 22:03:42 +0000 (22:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 May 2006 22:03:42 +0000 (22:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/renderer.tex

index 2f2a7d6fcd34fbff6f1ea1090afeb29afc188971..17469cdc33d9e864df880f2e4d1f2f3acb328a79 100644 (file)
@@ -52,6 +52,11 @@ the rendering functions should always prepare it.
 combination of the \texttt{wxCONTROL\_XXX} constants below.
 \end{itemize}
 
+Note that each drawing function restores the \helpref{wxDC}{wxdc} attributes if
+it changes them, so it is safe to assume that the same pen, brush and colours
+that were active before the call to this function are still in effect after it.
+
+
 \wxheading{Constants}
 
 The following rendering flags are defined: