BRegion Summary


Function Summary

Function Description
= Sets one region to equal the other
Constructor and Destructor
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
Function Summary
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
Member Functions
OffsetBy() Offset all rectangles in the region by a given amount
Operators
PrintToStream() Prints the coordinates of each rectangle in the region to standard output
RectAt() Returns a specific rectangle in the region
BRegion
BRegion() Constructor
~BRegion Destructor
Set() Empties the region and adds a single BRect to it

The Interface Kit Table of Contents     The Interface Kit Index


The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..