- wxRect
Default constructor.
- CenterIn
Returns the rectangle having the same size as this one but centered relatively to the given rectangle r.
- CentreIn
Returns the rectangle having the same size as this one but centered relatively to the given rectangle r.
- Contains
Returns true if the given point is inside the rectangle (or on its boundary) and false otherwise.
- Deflate
Decrease the rectangle size.
- GetBottom
Gets the bottom point of the rectangle.
- GetBottomLeft
Gets the position of the bottom left corner.
- GetBottomRight
Gets the position of the bottom right corner.
- GetHeight
Gets the height member.
- GetLeft
Gets the left point of the rectangle (the same as GetX()).
- GetPosition
Gets the position.
- GetRight
Gets the right point of the rectangle.
- GetSize
Gets the size.
- GetTop
Gets the top point of the rectangle (the same as GetY()).
- GetTopLeft
Gets the position of the top left corner of the rectangle, same as GetPosition().
- GetTopRight
Gets the position of the top right corner.
- GetWidth
Gets the width member.
- GetX
Gets the x member.
- GetY
Gets the y member.
- Inflate
Increases the size of the rectangle.
- Intersect
Returns the overlapping portion of this rectangle and the one passed in as parameter.
- Intersects
Returns true if this rectangle has a non-empty intersection with the rectangle rect and false otherwise.
- IsEmpty
Returns true if this rectangle has a width or height less than or equal to 0 and false otherwise.
- Offset
Moves the rectangle by the specified offset.
- SetHeight
Sets the height.
- SetSize
Sets the size.
- SetWidth
Sets the width.
- SetX
Sets the x position.
- SetY
Sets the y position.
- Union
Modifies the rectangle to contain the bounding box of this rectangle and the one passed in as parameter.