X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b67a86d57493137cb1f7cce8ca8daf0b7120207e..66160760e1b333dd73f4c32cb6549bbc0461b67e:/docs/latex/wx/size.tex diff --git a/docs/latex/wx/size.tex b/docs/latex/wx/size.tex index 7e163b47d2..69d051bba5 100644 --- a/docs/latex/wx/size.tex +++ b/docs/latex/wx/size.tex @@ -142,12 +142,13 @@ corresponding dimensions of the \arg{size}. \membersection{wxSize::Scale}\label{wxsizescale} -\func{void}{Scale}{\param{float}{ xscale}, \param{float}{ yscale}} +\func{wxSize\&}{Scale}{\param{float}{ xscale}, \param{float}{ yscale}} Scales the dimensions of this object by the given factors. If you want to scale both dimensions by the same factor you can also use the \helpref{operator *=}{wxsizeoperators} +Returns a reference to this object (so that you can concatenate other operations in the same line). \membersection{wxSize::Set}\label{wxsizeset} @@ -197,13 +198,13 @@ Sets the width. Assignment operator. -\func{bool}{operator $==$}{\param{const wxSize\& }{sz}} +\func{bool}{operator $==$}{\param{const wxSize\& }{s1}, \param{const wxSize\& }{s2}} -\func{bool}{operator $!=$}{\param{const wxSize\& }{sz}} +\func{bool}{operator $!=$}{\param{const wxSize\& }{s1}, \param{const wxSize\& }{s2}} -\func{wxSize}{operator $+$}{\param{const wxSize\& }{sz}} +\func{wxSize}{operator $+$}{\param{const wxSize\& }{s1}, \param{const wxSize\& }{s2}} -\func{wxSize}{operator $-$}{\param{const wxSize\& }{sz}} +\func{wxSize}{operator $-$}{\param{const wxSize\& }{s1}, \param{const wxSize\& }{s2}} \func{wxSize\&}{operator $+=$}{\param{const wxSize\& }{sz}} @@ -212,9 +213,11 @@ Assignment operator. Operators for comparison, sum and subtraction between \helpref{wxSize}{wxsize} objects. -\func{wxSize}{operator $/$}{\param{int }{factor}} +\func{wxSize}{operator $/$}{\param{const wxSize\& }{sz}, \param{int }{factor}} -\func{wxSize}{operator $*$}{\param{int }{factor}} +\func{wxSize}{operator $*$}{\param{const wxSize\& }{sz}, \param{int }{factor}} + +\func{wxSize}{operator $*$}{\param{int }{factor}, \param{const wxSize\& }{sz}} \func{wxSize\&}{operator $/=$}{\param{int }{factor}}