X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41fbc84101e7fc1a3e658f1d3f01664289637f01..66f55ec64c250fc51147815bf905a86e943bfd16:/docs/latex/wx/dc.tex?ds=sidebyside diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 3e7e236341..ea39bed045 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -175,9 +175,17 @@ Draw a bitmap on the device context at the specified point. If {\it transparent} 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}. +of the bitmap (all bits set to 1), and the current text background colour to draw the background +(all bits set to 0). See also \helpref{SetTextForeground}{wxdcsettextforeground}, +\helpref{SetTextBackground}{wxdcsettextbackground} and \helpref{wxMemoryDC}{wxmemorydc}. + +\membersection{wxDC::DrawCheckMark}\label{wxdcdrawcheckmark} + +\func{void}{DrawCheckMark}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{wxCoord}{ width}, \param{wxCoord}{ height}} + +\func{void}{DrawCheckMark}{\param{const wxRect \&}{rect}} + +Draws a check mark inside the given rectangle. \membersection{wxDC::DrawEllipse}\label{wxdcdrawellipse} @@ -631,6 +639,9 @@ be destroyed safely. See also \helpref{wxBrush}{wxbrush}. +See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours +when drawing into a monochrome bitmap. + \membersection{wxDC::SetFont}\label{wxdcsetfont} \func{void}{SetFont}{\param{const wxFont\& }{font}} @@ -733,6 +744,9 @@ Sets the current pen for the DC. If the argument is wxNullPen, the current pen is selected out of the device context, and the original pen restored. +See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours +when drawing into a monochrome bitmap. + \membersection{wxDC::SetTextBackground}\label{wxdcsettextbackground} \func{void}{SetTextBackground}{\param{const wxColour\& }{colour}} @@ -745,6 +759,9 @@ Sets the current text background colour for the DC. Sets the current text foreground colour for the DC. +See also \helpref{wxMemoryDC}{wxmemorydc} for the interpretation of colours +when drawing into a monochrome bitmap. + \membersection{wxDC::SetUserScale}\label{wxdcsetuserscale} \func{void}{SetUserScale}{\param{double}{ xScale}, \param{double}{ yScale}}