black now denotes 0 on mono-bitmaps.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-01-15 10:39:27 +00:00
parent 5dd26b0839
commit 41fbc84101
7 changed files with 156 additions and 7 deletions

View File

@@ -174,6 +174,11 @@ The arc is drawn in an anticlockwise direction from the start point to the end p
Draw a bitmap on the device context at the specified point. If {\it transparent} is TRUE and the bitmap has
a transparency mask, the bitmap will be drawn transparently.
When drawing a mono-bitmap, the current text foreground colour will be used to draw the foreground
of the bitmap (all bit set to 1), and the current text background colour to draw the background
(all bits set 0). See also \helpref{SetTextForeground}{wxwindowsettextforeground},
\helpref{SetTextForeground}{wxwindowsettextforeground} and \helpref{wxMemoryDC}{wxmemorydc}.
\membersection{wxDC::DrawEllipse}\label{wxdcdrawellipse}
\func{void}{DrawEllipse}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}}

View File

@@ -1,6 +1,9 @@
\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}