added wxRect::Inside(wxRect) for testing if a rectangle is completely within another rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -417,6 +417,8 @@ public:
|
||||
// return true if the point is (not strcitly) inside the rect
|
||||
bool Inside(int x, int y) const;
|
||||
bool Inside(const wxPoint& pt) const { return Inside(pt.x, pt.y); }
|
||||
// return true if the rectangle is (not strcitly) inside the rect
|
||||
bool Inside(const wxRect& rect) const;
|
||||
|
||||
// return true if the rectangles have a non empty intersection
|
||||
bool Intersects(const wxRect& rect) const;
|
||||
|
Reference in New Issue
Block a user