X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d75c7970c4f530d2ea681ca3f92c97eb3b7bc251..93f467a3b4d1eda959b44cc01df34b4463383cfe:/docs/latex/wx/size.tex diff --git a/docs/latex/wx/size.tex b/docs/latex/wx/size.tex index fdf4493367..738f5b2edd 100644 --- a/docs/latex/wx/size.tex +++ b/docs/latex/wx/size.tex @@ -7,8 +7,8 @@ wxSize is used throughout wxWindows as well as wxPoint which, although almost equivalent to wxSize, has a different meaning: wxPoint represents a position while wxSize - the size. -\pythonnote{wxPython defines aliases for the \tt{x} and \tt{y} members -named \tt{width} and \tt{height} since it makes much more sense for +\pythonnote{wxPython defines aliases for the {\tt x} and {\tt y} members +named {\tt width} and {\tt height} since it makes much more sense for sizes. } @@ -34,6 +34,19 @@ None Creates a size object. + +\membersection{wxSize::DecTo}\label{wxsizedecto} + +\func{wxSize\&}{DecTo}{\param{const wxSize\& }{size}} + +Decrements this object so that both of its dimensions are not greater than the +corresponding dimensions of the \arg{size}. + +\wxheading{See also} + +\helpref{IncTo}{wxsizeincto} + + \membersection{wxSize::GetWidth}\label{wxsizegetwidth} \constfunc{int}{GetWidth}{\void} @@ -46,6 +59,19 @@ Gets the width member. Gets the height member. + +\membersection{wxSize::IncTo}\label{wxsizeincto} + +\func{wxSize\&}{IncTo}{\param{const wxSize\& }{size}} + +Increments this object so that both of its dimensions are not less than the +corresponding dimensions of the \arg{size}. + +\wxheading{See also} + +\helpref{DecTo}{wxsizedecto} + + \membersection{wxSize::Set}\label{wxsizeset} \func{void}{Set}{\param{int}{ width}, \param{int}{ height}}