Static Public Member Functions | |
| static void | ZeroRegion (Region ®ion) |
| zeroes the given region, setting its rect count to 0, and invalidating its bound rectangle. | |
| static void | ClearRegion (Region ®ion) |
| 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. | |
| void RegionSupport::ZeroRegion | ( | Region & | region | ) | [static] |
zeroes the given region, setting its rect count to 0, and invalidating its bound rectangle.
| 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.
| region | The region to be cleared. |
Copy a region to another.
| 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.
| first | The first region to be intersected. | |
| second | The second region to be intersected. | |
| dest | The destination region. |
| 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.
| first | The first region to be merged. | |
| second | The second region to be merged. | |
| dest | The destination region. |
| 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.
| first | The subtraend region. | |
| second | The minuend region. | |
| dest | The destination region. |
1.5.1-p1