1 \section{\class{wxRect
}}\label{wxrect
}
3 A class for manipulating rectangles.
5 \wxheading{Derived from
}
11 \helpref{wxPoint
}{wxpoint
},
\helpref{wxSize
}{wxsize
}
13 \latexignore{\rtfignore{\wxheading{Members
}}}
15 \membersection{wxRect::wxRect
}
17 \func{}{wxRect
}{\void}
21 \func{}{wxRect
}{\param{int
}{ x
},
\param{int
}{ y
},
\param{int
}{ width
},
\param{int
}{ height
}}
23 Creates a wxRect object from x, y, width and height values.
25 \func{}{wxRect
}{\param{const wxPoint\&
}{ topLeft
},
\param{const wxPoint\&
}{ bottomRight
}}
27 Creates a wxRect object from top-left and bottom-right points.
29 \func{}{wxRect
}{\param{const wxPoint\&
}{ pos
},
\param{const wxSize\&
}{ size
}}
31 Creates a wxRect object from position and size values.
33 \membersection{wxRect::x
}
39 \membersection{wxRect::y
}
45 \membersection{wxRect::width
}
51 \membersection{wxRect::height
}
57 \membersection{wxRect::GetBottom
}\label{wxrectgetbottom
}
59 \constfunc{int
}{GetBottom
}{\void}
61 Gets the bottom point of the rectangle.
63 \membersection{wxRect::GetHeight
}\label{wxrectgetheight
}
65 \constfunc{int
}{GetHeight
}{\void}
67 Gets the height member.
69 \membersection{wxRect::GetLeft
}\label{wxrectgetleft
}
71 \constfunc{int
}{GetLeft
}{\void}
73 Gets the left point of the rectangle (the same as
\helpref{wxRect::GetX
}{wxrectgetx
}).
75 \membersection{wxRect::GetPosition
}\label{wxrectgetposition
}
77 \constfunc{wxPoint
}{GetPosition
}{\void}
81 \membersection{wxRect::GetRight
}\label{wxrectgetright
}
83 \constfunc{int
}{GetRight
}{\void}
85 Gets the right point of the rectangle.
87 \membersection{wxRect::GetSize
}\label{wxrectgetsize
}
89 \constfunc{wxSize
}{GetSize
}{\void}
93 \membersection{wxRect::GetTop
}\label{wxrectgettop
}
95 \constfunc{int
}{GetTop
}{\void}
97 Gets the top point of the rectangle (the same as
\helpref{wxRect::GetY
}{wxrectgety
}).
99 \membersection{wxRect::GetWidth
}\label{wxrectgetwidth
}
101 \constfunc{int
}{GetWidth
}{\void}
103 Gets the width member.
105 \membersection{wxRect::GetX
}\label{wxrectgetx
}
107 \constfunc{int
}{GetX
}{\void}
111 \membersection{wxRect::GetY
}\label{wxrectgety
}
113 \constfunc{int
}{GetY
}{\void}
117 \membersection{wxRect::SetHeight
}\label{wxrectsetheight
}
119 \func{void
}{SetHeight
}{\param{int
}{ height
}}
123 \membersection{wxRect::SetWidth
}\label{wxrectsetwidth
}
125 \func{void
}{SetWidth
}{\param{int
}{ width
}}
129 \membersection{wxRect::SetX
}\label{wxrectsetx
}
131 \func{void
}{SetX
}{\param{int
}{ x
}}
135 \membersection{wxRect::SetY
}\label{wxrectsety
}
137 \func{void
}{SetY
}{\param{int
}{ y
}}
141 \membersection{wxRect::operator $=$
}
143 \func{void
}{operator $=$
}{\param{const wxRect\&
}{rect
}}
147 \membersection{wxRect::operator $==$
}
149 \func{bool
}{operator $==$
}{\param{const wxRect\&
}{rect
}}
153 \membersection{wxRect::operator $!=$
}
155 \func{bool
}{operator $!=$
}{\param{const wxRect\&
}{rect
}}