X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06d20283afba5439c8a2c1b3b7cd3390541da52d..761a9d2b1fea5a7e04199f68a9da7cea06310d77:/docs/latex/wx/dc.tex diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 521cafa5b0..1cda5c4df9 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -53,8 +53,8 @@ released for each drawing operation. \membersection{wxDC::Blit}\label{wxdcblit} \func{bool}{Blit}{\param{long}{ xdest}, \param{long}{ ydest}, \param{long}{ width}, \param{long}{ height}, - \param{wxDC* }{source}, \param{long}{ xsrc}, \param{long}{ ysrc}, \param{int}{ logicalFunc}, - \param{bool }{useMask}} + \param{wxDC* }{source}, \param{long}{ xsrc}, \param{long}{ ysrc}, \param{int}{ logicalFunc = wxCOPY}, + \param{bool }{useMask = FALSE}} Copy from a source DC to this DC, specifying the destination coordinates, size of area to copy, source DC, source coordinates, and @@ -104,7 +104,7 @@ There is partial support for Blit in wxPostScriptDC, under X. See \helpref{wxMemoryDC}{wxmemorydc} for typical usage. -wxheading{See also} +\wxheading{See also} \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxBitmap}{wxbitmap}, \helpref{wxMask}{wxmask} @@ -440,8 +440,13 @@ printer page: dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY)); \end{verbatim} -\pythonnote{No arguments are required and the two values defining the -size are returned as a tuple.} +\pythonnote{In place of a single overloaded method name, wxPython +implements the following methods:\par +\indented{2cm}{\begin{twocollist} +\twocolitem{\bf{GetSize()}}{Returns a wxSize} +\twocolitem{\bf{GetSizeTuple()}}{Returns a 2-tuple (width, height)} +\end{twocollist}} +} \membersection{wxDC::GetTextBackground}\label{wxdcgettextbackground} @@ -646,7 +651,7 @@ wxXOR src XOR dst The default is wxCOPY, which simply draws with the current colour. The others combine the current colour and the background using a -logical operation. wxXOR is commonly used for drawing rubber bands or +logical operation. wxINVERT is commonly used for drawing rubber bands or moving outlines, since drawing twice reverts to the original colour. \membersection{wxDC::SetMapMode}\label{wxdcsetmapmode}