XSubtractRegion() XSubtractRegion()
Name
XSubtractRegion - subtract one region from another.
Synopsis
XSubtractRegion(sra, srb, dr_return)
Region sra, srb;
Region dr_return;
Arguments
sra Specify the two regions in which you want to perform the computation.
srb
dr_return Returns 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 - Regions XSubtractRegion()