X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fce4e96684d8709038e18dc3fc0ac6414e058e8..3af4da323ab401ad41e2eca2c6afbc2c3d632da6:/wxPython/src/_gdicmn.i diff --git a/wxPython/src/_gdicmn.i b/wxPython/src/_gdicmn.i index 6e7e24241f..20c67d6bf7 100644 --- a/wxPython/src/_gdicmn.i +++ b/wxPython/src/_gdicmn.i @@ -176,6 +176,11 @@ than the corresponding dimensions of the size.", ""); "Decrements this object so that both of its dimensions are not greater than the corresponding dimensions of the size.", ""); + + DocDeclStr( + void , Scale(float xscale, float yscale), + "Scales the dimensions of this object by the given factors.", ""); + DocDeclStr( void, Set(int w, int h), "Set both width and height.", ""); @@ -643,6 +648,12 @@ bottom, otherwise it is moved to the left or top respectively.", "", %Rename(InsideXY, bool, Inside(int x, int y) 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( bool, Intersects(const wxRect& rect) const, "Returns True if the rectangles have a non empty intersection.", "");