]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/size.tex
Use const
[wxWidgets.git] / docs / latex / wx / size.tex
index 36647ec510404913a02df13b4ac960b6ec84462d..6034d1edbc31697f97a37be507a2f209221f4cbb 100644 (file)
@@ -30,6 +30,10 @@ None
 
 <wx/gdicmn.h>
 
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
 \wxheading{See also}
 
 \helpref{wxPoint}{wxpoint}, \helpref{wxRealPoint}{wxrealpoint}
@@ -142,12 +146,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 +202,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,12 +217,15 @@ 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}}
 
 \func{wxSize\&}{operator $*=$}{\param{int }{factor}}
 
 Operators for division and multiplication between a \helpref{wxSize}{wxsize} object and an integer.
+