Adds the given rectangle to the collection of polygons
the receiver maintains to describe its area.
@param rect the rectangle to merge with the receiver
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if the argument is null</li>
<li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li>
</ul>
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Adds the given rectangle to the collection of polygons the receiver maintains to describe its area.
@param rect the rectangle to merge with the receiver
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the argument is null</li> <li>ERROR_INVALID_ARGUMENT - if the rectangle's width or height is negative</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>