Function |
Description |
= |
Sets one region to equal the other |
Contains() |
Tests whether a BPoint lies within the region |
CountRects() |
Returns the number of rectangles in the region |
Exclude() |
Removes rectangles from the region |
Frame() |
Returns the smallest rectangle enclosing all the rectangles in the region |
Include() |
Adds rectangles to the region |
IntersectWith() |
Modifies region to contain only rectangles in common with another region |
Intersects() |
Tests whether a BRect intersects the region |
MakeEmpty() |
Empties the BRegion |
OffsetBy() |
Offset all rectangles in the region by a given amount |
PrintToStream() |
Prints the coordinates of each rectangle in the region to standard output |
RectAt() |
Returns a specific rectangle in the region |
BRegion() |
Constructor |
Set() |
Empties the region and adds a single BRect to it |