Add wx.Rect.InsideRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -648,6 +648,12 @@ bottom, otherwise it is moved to the left or top respectively.", "",
|
|||||||
%Rename(InsideXY, bool, Inside(int x, int y) const);
|
%Rename(InsideXY, bool, Inside(int x, int y) const);
|
||||||
bool Inside(const wxPoint& pt) const;
|
bool Inside(const wxPoint& pt) const;
|
||||||
|
|
||||||
|
DocDeclStrName(
|
||||||
|
bool, Inside(const wxRect& rect) const,
|
||||||
|
"Returns ``True`` if the given rectangle is completely inside this
|
||||||
|
rectangle or touches its boundary.", "",
|
||||||
|
InsideRect);
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
bool, Intersects(const wxRect& rect) const,
|
bool, Intersects(const wxRect& rect) const,
|
||||||
"Returns True if the rectangles have a non empty intersection.", "");
|
"Returns True if the rectangles have a non empty intersection.", "");
|
||||||
|
Reference in New Issue
Block a user