XUnionRectWithRegion

Syntax

XUnionRectWithRegion(rectangle, src_region, dest_region_return)
     XRectangle *rectangle;
     Region src_region;
     Region dest_region_return;

Arguments

rectangle Specifies the rectangle.
src_region Specifies the source region to be used.
dest_region_return Returns the destination region.

Description

The XUnionRectWithRegion() function updates the destination region from a union of the specified rectangle and the specified source region.

See also

XCreateRegion(), XDrawRectangle(), XEmptyRegion(), XIntersectRegion(), XOffsetRegion(), XShrinkRegion(), XSubtractRegion(), XUnionRegion(), XXorRegion(), "Computing with Regions".
Christophe Tronche, ch@tronche.com