Lines Matching refs:resultRegion
44 void RegionExclude::CheckExclude(BRegion *resultRegion, BRegion *testRegionA, in CheckExclude() argument
47 bool resultRegionEmpty = RegionIsEmpty(resultRegion); in CheckExclude()
55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckExclude()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckExclude()
68 BRect resultRegionFrame(resultRegion->Frame()); in CheckExclude()
74 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude()
81 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude()
83 assert(!RegionsAreEqual(resultRegion, testRegionB)); in CheckExclude()
88 assert(!resultRegion->Intersects(tempRect)); in CheckExclude()
94 assert(!resultRegion->Contains(pointArray[j])); in CheckExclude()
107 assert(resultRegion->Intersects(tempRect)); in CheckExclude()
115 assert(!resultRegion->Contains(pointArray[j])); in CheckExclude()
117 assert(resultRegion->Contains(pointArray[j])); in CheckExclude()
128 assert(!RegionsAreEqual(resultRegion, testRegionB)); in CheckExclude()
129 for(int i = 0; i < resultRegion->CountRects(); i++) { in CheckExclude()
130 BRect tempRect = resultRegion->RectAt(i); in CheckExclude()
132 assert(resultRegion->Intersects(tempRect)); in CheckExclude()
139 assert(resultRegion->Contains(pointArray[j])); in CheckExclude()