added wxRect::CentreIn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,6 +68,19 @@ Width member.
|
||||
Height member.
|
||||
|
||||
|
||||
\membersection{wxRect::CentreIn}\label{wxrectcentrein}
|
||||
|
||||
\constfunc{wxRect}{CentreIn}{\param{const wxRect\& }{r}, \param{int }{dir = wxBOTH}}
|
||||
|
||||
\constfunc{wxRect}{CenterIn}{\param{const wxRect\& }{r}, \param{int }{dir = wxBOTH}}
|
||||
|
||||
Returns the rectangle having the same size as this one but centered relatively
|
||||
to the given rectangle \arg{r}. By default, rectangle is centred in both
|
||||
directions but if \arg{dir} includes only \texttt{wxVERTICAL} or only
|
||||
\texttt{wxHORIZONTAL} flag, then it is only centered in this direction while
|
||||
the other component of its position remains unchanged.
|
||||
|
||||
|
||||
\membersection{wxRect::Deflate}\label{wxrectdeflate}
|
||||
|
||||
\func{void}{Deflate}{\param{wxCoord }{dx}, \param{wxCoord }{dy}}
|
||||
|
Reference in New Issue
Block a user