X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..5527476f67f7313aeea0d16b2fe366e5a5ddb493:/docs/latex/wx/rect.tex

diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex
index ca5c504568..4611502121 100644
--- a/docs/latex/wx/rect.tex
+++ b/docs/latex/wx/rect.tex
@@ -4,7 +4,11 @@ A class for manipulating rectangles.
 
 \wxheading{Derived from}
 
-\helpref{wxObject}{wxobject}
+None
+
+\wxheading{Include files}
+
+<wx/gdicmn.h>
 
 \wxheading{See also}
 
@@ -18,7 +22,7 @@ A class for manipulating rectangles.
 
 Default constructor.
 
-\func{}{wxRect}{\param{const int}{ x}, \param{const int}{ y}, \param{const int}{ width}, \param{const int}{ height}}
+\func{}{wxRect}{\param{int}{ x}, \param{int}{ y}, \param{int}{ width}, \param{int}{ height}}
 
 Creates a wxRect object from x, y, width and height values.
 
@@ -34,13 +38,13 @@ Creates a wxRect object from position and size values.
 
 \member{int}{x}
 
-x member.
+x coordinate of the top-level corner of the rectangle.
 
 \membersection{wxRect::y}
 
 \member{int}{y}
 
-y member.
+y coordinate of the top-level corner of the rectangle.
 
 \membersection{wxRect::width}
 
@@ -114,27 +118,39 @@ Gets the x member.
 
 Gets the y member.
 
+\membersection{wxRect::Inflate}\label{wxrectinflate}
+
+\func{void}{Inflate}{\param{wxCoord }{dx}, \param{wxCoord }{dy}}
+
+\func{void}{Inflate}{\param{wxCoord }{diff}}
+
+Increase the rectangle size by {\it dx} in x direction and {\it dy} in y
+direction. Both (or one of) parameters may be negative to decrease the
+rectngle size.
+
+The second form uses the same {\it diff} for both {\it dx} and {\it dy}.
+
 \membersection{wxRect::SetHeight}\label{wxrectsetheight}
 
-\func{void}{SetHeight}{\param{const int}{ height}}
+\func{void}{SetHeight}{\param{int}{ height}}
 
 Sets the height.
 
 \membersection{wxRect::SetWidth}\label{wxrectsetwidth}
 
-\func{void}{SetWidth}{\param{const int}{ width}}
+\func{void}{SetWidth}{\param{int}{ width}}
 
 Sets the width.
 
 \membersection{wxRect::SetX}\label{wxrectsetx}
 
-\func{void}{SetX}{\param{const int}{ x}}
+\func{void}{SetX}{\param{int}{ x}}
 
 Sets the x position.
 
 \membersection{wxRect::SetY}\label{wxrectsety}
 
-\func{void}{SetY}{\param{const int}{ y}}
+\func{void}{SetY}{\param{int}{ y}}
 
 Sets the y position.
 
@@ -156,4 +172,3 @@ Equality operator.
 
 Inequality operator.
 
-
