NAME
XSubtractRegion — subtract one region from another.
SYNOPSIS
XSubtractRegion(sra, srb, dr_return) Region sra, srb; Region dr_return;
ARGUMENTS
sra
srbSpecify the two regions in which you want to perform the computation.
dr_returnReturns the result of the computation.
DESCRIPTION
XSubtractRegion() calculates the difference between the two regions specified (sra − srb) and puts the result in dr_return.
This function returns a region which contains all parts of sra that are not also in srb.
For more information on regions, see Volume One, Chapter 6, Drawing Graphics and Text.
STRUCTURES
Region is a pointer to an opaque structure type.
SEE ALSO
XClipBox(), XCreateRegion(), XDestroyRegion(), XEmptyRegion(), XEqualRegion(), XIntersectRegion(), XOffsetRegion(), XPointInRegion(), XPolygonRegion(), XRectInRegion(), XSetRegion(), XShrinkRegion(), XUnionRectWithRegion(), XUnionRegion(), XXorRegion().
Xlib Reference Manual