X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe604ccddcf5696a751892ad70dbc822be239c95..a54d6c1bbb35f6adce30704c987496acc0337020:/docs/latex/wx/dc.tex diff --git a/docs/latex/wx/dc.tex b/docs/latex/wx/dc.tex index a4d71bd80a..eddddcd335 100644 --- a/docs/latex/wx/dc.tex +++ b/docs/latex/wx/dc.tex @@ -157,10 +157,12 @@ mapping mode. Use this function for converting a height, for example. \func{void}{DrawArc}{\param{long}{ x1}, \param{long}{ y1}, \param{long}{ x2}, \param{long}{ y2}, \param{double}{ xc}, \param{double}{ yc}} -Draws an arc, centred on ({\it xc, yc}), with starting point ({\it x1, y1}) +Draws an arc of a circle, centred on ({\it xc, yc}), with starting point ({\it x1, y1}) and ending at ({\it x2, y2}). The current pen is used for the outline 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::DrawEllipse}\label{wxdcdrawellipse} \func{void}{DrawEllipse}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height}} @@ -327,13 +329,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}). @@ -357,7 +359,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}). @@ -382,7 +384,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}). @@ -531,11 +533,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}