1 \section{\class{wxRect
}}\label{wxrect
}
3 A class for manipulating rectangles.
5 \wxheading{Derived from
}
9 \wxheading{Include files
}
15 \helpref{wxPoint
}{wxpoint
},
\helpref{wxSize
}{wxsize
}
17 \latexignore{\rtfignore{\wxheading{Members
}}}
19 \membersection{wxRect::wxRect
}
21 \func{}{wxRect
}{\void}
25 \func{}{wxRect
}{\param{int
}{ x
},
\param{int
}{ y
},
\param{int
}{ width
},
\param{int
}{ height
}}
27 Creates a wxRect object from x, y, width and height values.
29 \func{}{wxRect
}{\param{const wxPoint\&
}{ topLeft
},
\param{const wxPoint\&
}{ bottomRight
}}
31 Creates a wxRect object from top-left and bottom-right points.
33 \func{}{wxRect
}{\param{const wxPoint\&
}{ pos
},
\param{const wxSize\&
}{ size
}}
35 Creates a wxRect object from position and size values.
37 \membersection{wxRect::x
}
43 \membersection{wxRect::y
}
49 \membersection{wxRect::width
}
55 \membersection{wxRect::height
}
61 \membersection{wxRect::GetBottom
}\label{wxrectgetbottom
}
63 \constfunc{int
}{GetBottom
}{\void}
65 Gets the bottom point of the rectangle.
67 \membersection{wxRect::GetHeight
}\label{wxrectgetheight
}
69 \constfunc{int
}{GetHeight
}{\void}
71 Gets the height member.
73 \membersection{wxRect::GetLeft
}\label{wxrectgetleft
}
75 \constfunc{int
}{GetLeft
}{\void}
77 Gets the left point of the rectangle (the same as
\helpref{wxRect::GetX
}{wxrectgetx
}).
79 \membersection{wxRect::GetPosition
}\label{wxrectgetposition
}
81 \constfunc{wxPoint
}{GetPosition
}{\void}
85 \membersection{wxRect::GetRight
}\label{wxrectgetright
}
87 \constfunc{int
}{GetRight
}{\void}
89 Gets the right point of the rectangle.
91 \membersection{wxRect::GetSize
}\label{wxrectgetsize
}
93 \constfunc{wxSize
}{GetSize
}{\void}
97 \membersection{wxRect::GetTop
}\label{wxrectgettop
}
99 \constfunc{int
}{GetTop
}{\void}
101 Gets the top point of the rectangle (the same as
\helpref{wxRect::GetY
}{wxrectgety
}).
103 \membersection{wxRect::GetWidth
}\label{wxrectgetwidth
}
105 \constfunc{int
}{GetWidth
}{\void}
107 Gets the width member.
109 \membersection{wxRect::GetX
}\label{wxrectgetx
}
111 \constfunc{int
}{GetX
}{\void}
115 \membersection{wxRect::GetY
}\label{wxrectgety
}
117 \constfunc{int
}{GetY
}{\void}
121 \membersection{wxRect::SetHeight
}\label{wxrectsetheight
}
123 \func{void
}{SetHeight
}{\param{int
}{ height
}}
127 \membersection{wxRect::SetWidth
}\label{wxrectsetwidth
}
129 \func{void
}{SetWidth
}{\param{int
}{ width
}}
133 \membersection{wxRect::SetX
}\label{wxrectsetx
}
135 \func{void
}{SetX
}{\param{int
}{ x
}}
139 \membersection{wxRect::SetY
}\label{wxrectsety
}
141 \func{void
}{SetY
}{\param{int
}{ y
}}
145 \membersection{wxRect::operator $=$
}
147 \func{void
}{operator $=$
}{\param{const wxRect\&
}{rect
}}
151 \membersection{wxRect::operator $==$
}
153 \func{bool
}{operator $==$
}{\param{const wxRect\&
}{rect
}}
157 \membersection{wxRect::operator $!=$
}
159 \func{bool
}{operator $!=$
}{\param{const wxRect\&
}{rect
}}