added wxSize::IncBy() and DecBy() methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-24 11:08:51 +00:00
parent 57b5c44a4f
commit 2335974794
3 changed files with 54 additions and 1 deletions

View File

@@ -47,6 +47,27 @@ Creates a size object.
\membersection{wxSize::DecBy}\label{wxsizedecby}
\func{void}{DecBy}{\param{const wxSize\& }{size}}
\func{void}{DecBy}{\param{int }{dx}, \param{int }{dy}}
\func{void}{DecBy}{\param{int }{d}}
Decreases the size in x- and y- directions
\begin{enumerate}
\item By \arg{size.x} and \arg{size.y} for the first overload
\item By \arg{dx} and \arg{dy} for the second one
\item By \arg{d} and \arg{d} for the third one
\end{enumerate}
\wxheading{See also}
\helpref{IncBy}{wxsizeincby}
\membersection{wxSize::DecTo}\label{wxsizedecto}
\func{void}{DecTo}{\param{const wxSize\& }{size}}
@@ -85,6 +106,26 @@ Gets the width member.
Gets the height member.
\membersection{wxSize::IncBy}\label{wxsizeincby}
\func{void}{IncBy}{\param{const wxSize\& }{size}}
\func{void}{IncBy}{\param{int }{dx}, \param{int }{dy}}
\func{void}{IncBy}{\param{int }{d}}
Increases the size in x- and y- directions
\begin{enumerate}
\item By \arg{size.x} and \arg{size.y} for the first overload
\item By \arg{dx} and \arg{dy} for the second one
\item By \arg{d} and \arg{d} for the third one
\end{enumerate}
\wxheading{See also}
\helpref{DecBy}{wxsizedecby}
\membersection{wxSize::IncTo}\label{wxsizeincto}