X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2259e007898a6ffa793e129845e1fa416b42e6d3..f973828cd9b31d3b80386fab5e6f7c4a106d97fc:/docs/latex/wx/pen.tex diff --git a/docs/latex/wx/pen.tex b/docs/latex/wx/pen.tex index 8754bae778..04dfafb1bf 100644 --- a/docs/latex/wx/pen.tex +++ b/docs/latex/wx/pen.tex @@ -66,9 +66,9 @@ data using the reference counting, are not affected. \func{}{wxPen}{\void} Default constructor. The pen will be uninitialised, and \helpref{wxPen::Ok}{wxpenok} will -return FALSE. +return false. -\func{}{wxPen}{\param{const wxColour\&}{ colour}, \param{int}{ width}, \param{int}{ style}} +\func{}{wxPen}{\param{const wxColour\&}{ colour}, \param{int}{ width = $1$}, \param{int}{ style = {\tt wxSOLID}}} Constructs a pen from a colour object, pen width and style. @@ -130,6 +130,14 @@ is found in the colour database. \helpref{wxPen::SetStyle}{wxpensetstyle}, \helpref{wxPen::SetColour}{wxpensetcolour},\rtfsp \helpref{wxPen::SetWidth}{wxpensetwidth}, \helpref{wxPen::SetStipple}{wxpensetstipple} +\perlnote{Constructors supported by wxPerl are:\par +\begin{itemize} +\item{Wx::Pen->new( colour, width, style )} +\item{Wx::Pen->new( colourName, width, style )} +\item{Wx::Pen->new( stipple, width )} +\end{itemize} +} + \membersection{wxPen::\destruct{wxPen}} \func{}{\destruct{wxPen}}{\void} @@ -224,7 +232,7 @@ Returns the pen width. \constfunc{bool}{Ok}{\void} -Returns TRUE if the pen is initialised. +Returns true if the pen is initialised. \membersection{wxPen::SetCap}\label{wxpensetcap}