Function |
Description |
!= |
Compares the components of one BRect with another for inequality |
& |
Returns the intersection of two BRects |
= |
Copies the coordinates of one BRect to another |
== |
Compares the components of one BRect with another for equality |
Contains() |
Tests whether a BPoint or a BRect lies entirely within the rectangle |
Height() |
Returns width of the rectangle, rounded up to the next whole number |
InsetBy() |
Shrinks rectangle on all sides by given amounts |
InsetByCopy() |
Shrinks rectangle on all sides by given amounts |
InsetBySelf() |
Shrinks rectangle on all sides by given amounts |
IntegerHeight() |
Returns height of the rectangle, rounded up to the next whole number |
IntegerWidth() |
Returns the difference between the top and bottom coordinates |
Intersects() |
Tests whether a BRect intersects the rectangle |
IsValid() |
Tests whether the rectangle's coordinates are valid |
OffsetBy() |
Moves the rectangle by some amount |
OffsetByCopy() |
Moves the rectangle by some amount |
OffsetBySelf() |
Moves the rectangle by some amount |
OffsetTo() |
Moves the rectangle to another location |
OffsetToCopy() |
Moves the rectangle to another location |
OffsetToSelf() |
Moves the rectangle to another location |
PrintToStream() |
Prints the coordinates of the rectangle to standard output |
BRect() |
Constructor |
Set() |
Sets the rectangle |
SetLeftBottom() |
Sets the rectangle's bottom left corner |
SetLeftTop() |
Sets the rectangle's top left corner |
SetRightBottom() |
Sets the rectangle's bottom right corner |
SetRightTop() |
Sets the rectangle's top right corner |
Width() |
Returns the difference between the left and right coordinates |
| |
Returns the smallest rectangle enclosing two BRects |