X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..df10208f26d2659e5995fd00debeb4eaa11174cc:/docs/latex/wx/rect.tex?ds=sidebyside diff --git a/docs/latex/wx/rect.tex b/docs/latex/wx/rect.tex index 63216a5bbf..ccbb5cea42 100644 --- a/docs/latex/wx/rect.tex +++ b/docs/latex/wx/rect.tex @@ -16,7 +16,7 @@ None \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxRect::wxRect} +\membersection{wxRect::wxRect}\label{wxrectctor} \func{}{wxRect}{\void} @@ -34,25 +34,29 @@ Creates a wxRect object from top-left and bottom-right points. Creates a wxRect object from position and size values. -\membersection{wxRect::x} +\func{}{wxRect}{\param{const wxSize\&}{ size}} + +Creates a wxRect object from size values at the origin. + +\membersection{wxRect::x}\label{wxrectx} \member{int}{x} x coordinate of the top-level corner of the rectangle. -\membersection{wxRect::y} +\membersection{wxRect::y}\label{wxrecty} \member{int}{y} y coordinate of the top-level corner of the rectangle. -\membersection{wxRect::width} +\membersection{wxRect::width}\label{wxrectwidth} \member{int}{width} Width member. -\membersection{wxRect::height} +\membersection{wxRect::height}\label{wxrectheight} \member{int}{height} @@ -103,6 +107,18 @@ Gets the left point of the rectangle (the same as \helpref{wxRect::GetX}{wxrectg Gets the position. +\membersection{wxRect::GetTopLeft}\label{wxrectgettopleft} + +\constfunc{wxPoint}{GetTopLeft}{\void} + +Gets the topleft position of the rectangle. (Same as GetPosition). + +\membersection{wxRect::GetBottomRight}\label{wxrectgetbottomright} + +\constfunc{wxPoint}{GetBottomRight}{\void} + +Gets the the bottom right position. Returns the bottom right point inside the rectangle. + \membersection{wxRect::GetRight}\label{wxrectgetright} \constfunc{int}{GetRight}{\void} @@ -160,7 +176,7 @@ new rectangle leaving this one unchanged. \helpref{Deflate}{wxrectdeflate} -\membersection{wxRect:Inside}\label{wxrectinside} +\membersection{wxRect::Inside}\label{wxrectinside} \constfunc{bool}{Inside}{\param{int }{x}, \param{int }{y}} @@ -169,7 +185,7 @@ new rectangle leaving this one unchanged. Returns {\tt true} if the given point is inside the rectangle (or on its boundary) and {\tt false} otherwise. -\membersection{wxRect:Intersects}\label{wxrectintersects} +\membersection{wxRect::Intersects}\label{wxrectintersects} \constfunc{bool}{Intersects}{\param{const wxRect\& }{rect}} @@ -210,19 +226,19 @@ Sets the x position. Sets the y position. -\membersection{wxRect::operator $=$} +\membersection{wxRect::operator $=$}\label{wxrectassign} \func{void}{operator $=$}{\param{const wxRect\& }{rect}} Assignment operator. -\membersection{wxRect::operator $==$} +\membersection{wxRect::operator $==$}\label{wxrectequal} \func{bool}{operator $==$}{\param{const wxRect\& }{rect}} Equality operator. -\membersection{wxRect::operator $!=$} +\membersection{wxRect::operator $!=$}\label{wxrectnotequal} \func{bool}{operator $!=$}{\param{const wxRect\& }{rect}}