X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9838df2cefc5b368bb11f98c784ecc78f45ecaf7..80d2803f703d1b238f42725504f08266ef02defe:/docs/latex/wx/rect.tex diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index c99b66b423..4611502121 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -6,6 +6,10 @@ A class for manipulating rectangles. None +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxPoint}{wxpoint}, \helpref{wxSize}{wxsize} @@ -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,6 +118,18 @@ 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{int}{ height}} @@ -156,4 +172,3 @@ Equality operator. Inequality operator. -