X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe604ccddcf5696a751892ad70dbc822be239c95..2c6f14e1a7b5062fcf77eda40824d820d9ac288e:/docs/latex/wx/memorydc.tex diff --git a/docs/latex/wx/memorydc.tex b/docs/latex/wx/memorydc.tex index ac29294fa4..a94e74c77b 100644 --- a/docs/latex/wx/memorydc.tex +++ b/docs/latex/wx/memorydc.tex @@ -1,12 +1,20 @@ \section{\class{wxMemoryDC}}\label{wxmemorydc} -A memory device context provides a means to draw graphics onto a bitmap. +A memory device context provides a means to draw graphics onto a bitmap. When +drawing in to a mono-bitmap, using {\tt wxWHITE}, {\tt wxWHITE\_PEN} and +{\tt wxWHITE\_BRUSH} +will draw the background colour (i.e. 0) whereas all other colours will draw the +foreground colour (i.e. 1). \wxheading{Derived from} \helpref{wxDC}{wxdc}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{Remarks} A bitmap must be selected into the new memory DC before it may be used @@ -38,7 +46,7 @@ can be reselected into another memory DC. Constructs a new memory device context. Use the {\it Ok} member to test whether the constructor was successful -in creating a useable device context. Don't forget to select a bitmap +in creating a usable device context. Don't forget to select a bitmap into the DC before drawing on it. \membersection{wxMemoryDC::SelectObject}