XIntersectRegion

Syntax

XIntersectRegion(sra, srb, dr_return)
      Region sra, srb, dr_return;

Arguments

sra
srb
Specify the two regions with which you want to perform the computation.
dr_return Returns the result of the computation.

Description

Compute the intersection of two regions.

See also

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