(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

BOOL XorRegionRegion (region1 , region2)

LOCATION
In GfxBase at offset 103

SYNOPSIS
struct Region * region1
struct Region * region2

FUNCTION
Exclusive-OR of one region with another region, leaving result in second region.

INPUTS
region1 - pointer to a region structure region2 - pointer to a region structure

RESULT
TRUE if the operation was succesful, FALSE otherwise (out of memory)

EXAMPLE

SEE ALSO
AndRegionRegion(), OrRegionRegion()

NOTES

BUGS

INTERNALS
Two regions A and B consist of rectangles a1,...,a3 and b1,...,b3. A xor B := A*NOT(B) + NOT(A)*B

HISTORY
01.02.1999 bergers
Bugfixes. This should do it.
29.01.1999 bergers
Correct implementation.
02.12.1998 bergers
Init. revision.