Documentation fixes, patch 1179223 by Andreas Mohr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -681,12 +681,12 @@ Gets the {\it mapping mode} for the device context (see \helpref{wxDC::SetMapMod
|
||||
\constfunc{bool}{GetPartialTextExtents}{\param{const wxString\& }{text},
|
||||
\param{wxArrayInt\& }{widths}}
|
||||
|
||||
Fills the {\it widths} array with the widths from the begining of
|
||||
{\it text} to the coresponding character of {\it text}. The generic
|
||||
Fills the {\it widths} array with the widths from the beginning of
|
||||
{\it text} to the corresponding character of {\it text}. The generic
|
||||
version simply builds a running total of the widths of each character
|
||||
using \helpref{GetTextExtent}{wxdcgettextextent}, however if the
|
||||
various platforms have a native API function that is faster or more
|
||||
accurate than the generic implementaiton then it should be used
|
||||
accurate than the generic implementation then it should be used
|
||||
instead.
|
||||
|
||||
\pythonnote{This method only takes the {\it text} parameter and
|
||||
@@ -707,6 +707,8 @@ Gets the current pen (see \helpref{wxDC::SetPen}{wxdcsetpen}).
|
||||
Sets {\it colour} to the colour at the specified location.
|
||||
Not available for wxPostScriptDC or wxMetafileDC.
|
||||
|
||||
Note that setting a pixel can be done using \helpref{DrawPoint}{wxdcdrawpoint}.
|
||||
|
||||
\pythonnote{For wxPython the wxColour value is returned and is not
|
||||
required as a parameter.}
|
||||
|
||||
@@ -1154,7 +1156,7 @@ No base class
|
||||
|
||||
\func{}{wxDCClipper}{\param{wxDC\& }{dc}, \param{const wxRect\&}{ rect}}
|
||||
|
||||
Constructor: sets the the clipping region for the given device context to the
|
||||
Constructor: sets the clipping region for the given device context to the
|
||||
specified rectangle.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user