SkyGI::RegionSupport Class Reference

List of all members.

Static Public Member Functions

static void ZeroRegion (Region &region)
 zeroes the given region, setting its rect count to 0, and invalidating its bound rectangle.
static void ClearRegion (Region &region)
 clear the given region, setting its rect count to 0, and setting its bound rectangle to 0xFFFFFFF, 0xFFFFFFF, 0xF0000001, 0xF0000001.
static void CopyRegion (const Region &source, Region &dest)
 Copy a region to another.
static void AndRegion (const Region &first, const Region &second, Region &dest)
 Modify the destination region to be the intersection of the two given regions.
static void OrRegion (const Region &first, const Region &second, Region &dest)
 Modify the destination region to be the union of the two given regions.
static void SuRegion (const Region &first, const Region &second, Region &dest)
 Modify the destination region to be the difference of the two given regions.

Member Function Documentation

void RegionSupport::ZeroRegion ( Region region  )  [static]

zeroes the given region, setting its rect count to 0, and invalidating its bound rectangle.

Parameters:
region The region to be zeroed.

void RegionSupport::ClearRegion ( Region region  )  [static]

clear the given region, setting its rect count to 0, and setting its bound rectangle to 0xFFFFFFF, 0xFFFFFFF, 0xF0000001, 0xF0000001.

Parameters:
region The region to be cleared.

void RegionSupport::CopyRegion ( const Region source,
Region dest 
) [static]

Copy a region to another.

Parameters:
source The region to be copied.
dest The destination region.

void RegionSupport::AndRegion ( const Region first,
const Region second,
Region dest 
) [static]

Modify the destination region to be the intersection of the two given regions.

Parameters:
first The first region to be intersected.
second The second region to be intersected.
dest The destination region.
This function is a sort of method selector. It checks for some special cases, then it calls the appropriate specialized function.

void RegionSupport::OrRegion ( const Region first,
const Region second,
Region dest 
) [static]

Modify the destination region to be the union of the two given regions.

Parameters:
first The first region to be merged.
second The second region to be merged.
dest The destination region.
This function is a sort of method selector. It checks for some special cases, then it calls the appropriate specialized function.

void RegionSupport::SuRegion ( const Region first,
const Region second,
Region dest 
) [static]

Modify the destination region to be the difference of the two given regions.

Parameters:
first The subtraend region.
second The minuend region.
dest The destination region.
This function is a sort of method selector. It checks for some special cases, then it calls the appropriate specialized function.


Generated on Thu Dec 13 18:14:41 2007 for SkyGI by  doxygen 1.5.1-p1