XXorRegion() XXorRegion()
Name
XXorRegion - calculate the difference between the union and intersection of two regions.
Synopsis
XXorRegion(sra, srb, dr_return)
Region sra, srb;
Region dr_return;
Arguments
sra Specify the two regions on which you want to perform the computation.
srb
dr_return Returns the result of the computation.
Description
XXorRegion() calculates the union minus the intersection of two regions, and places it in dr_return. Xor is short for "Exclusive OR",
meaning that a pixel is included in dr_return if it is set in either sra or srb but not in both.
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(), XSubtractRegion(), XUnionRectWithRegion(), XUnionRegion().
Xlib - Regions XXorRegion()