XSubtractRegion

Syntax

XSubtractRegion(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

The XSubtractRegion() function subtracts srb from sra and stores the results in dr_return.

See also

XCreateRegion(), XDrawRectangle(), XEmptyRegion(), XIntersectRegion(), XOffsetRegion(), XShrinkRegion(), XUnionRectWithRegion(), XUnionRegion(), XXorRegion(), "Computing with Regions".
Christophe Tronche, [email protected]