X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8de493fbdba4c710a66f2e8aad290ce78550fc4..94b49b9303a9fd119e24d1b07263f5bb0643afa5:/docs/latex/wx/dc.tex diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index 333d6355b7..ecbf200c0b 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -163,6 +163,13 @@ and the current brush for filling the shape. The arc is drawn in an anticlockwise direction from the start point to the end point. +\membersection{wxDC::DrawBitmap}\label{wxdcdrawbitmap} + +\func{void}{DrawBitmap}{\param{const wxBitmap\&}{ bitmap}, \param{long}{ x}, \param{long}{ y}, \param{bool}{ transparent}} + +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. + \membersection{wxDC::DrawEllipse}\label{wxdcdrawellipse} \func{void}{DrawEllipse}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} @@ -329,13 +336,13 @@ and using a style: \membersection{wxDC::GetBackground}\label{wxdcgetbackground} -\func{wxBrush *}{GetBackground}{\void} +\func{wxBrush\&}{GetBackground}{\void} Gets the brush used for painting the background (see \helpref{wxDC::SetBackground}{wxdcsetbackground}). \membersection{wxDC::GetBrush}\label{wxdcgetbrush} -\func{wxBrush *}{GetBrush}{\void} +\func{wxBrush\&}{GetBrush}{\void} Gets the current brush (see \helpref{wxDC::SetBrush}{wxdcsetbrush}). @@ -359,7 +366,7 @@ Gets the rectangle surrounding the current clipping region. \membersection{wxDC::GetFont}\label{wxdcgetfont} -\func{wxFont *}{GetFont}{\void} +\func{wxFont\&}{GetFont}{\void} Gets the current font (see \helpref{wxDC::SetFont}{wxdcsetfont}). @@ -384,7 +391,7 @@ See \helpref{wxDC::SetOptimization}{wxsetoptimization} for details. \membersection{wxDC::GetPen}\label{wxdcgetpen} -\func{wxPen *}{GetPen}{\void} +\func{wxPen\&}{GetPen}{\void} Gets the current pen (see \helpref{wxDC::SetPen}{wxdcsetpen}). @@ -533,11 +540,15 @@ whether text will be drawn with a background colour or not. \func{void}{SetClippingRegion}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} -Sets the clipping region for the DC. The clipping region is a rectangular area -to which drawing is restricted. Possible uses for the clipping region are for clipping text +\func{void}{SetClippingRegion}{\param{const wxRegion\&}{ region}} + +Sets the clipping region for the DC. The clipping region is an area +to which drawing is restricted. Possible uses for the clipping region are for clipping text or for speeding up window redraws when only a known area of the screen is damaged. -See also \helpref{wxDC::DestroyClippingRegion}{wxdcdestroyclippingregion}. +\wxheading{See also} + +\helpref{wxDC::DestroyClippingRegion}{wxdcdestroyclippingregion}, \helpref{wxRegion}{wxregion} \membersection{wxDC::SetPalette}\label{wxdcsetpalette}