Lines Matching refs:resultRegion
44 void RegionIntersect::CheckIntersect(BRegion *resultRegion, BRegion *testRegionA, in CheckIntersect() argument
47 bool resultRegionEmpty = RegionIsEmpty(resultRegion); in CheckIntersect()
52 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckIntersect()
55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckIntersect()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckIntersect()
68 BRect resultRegionFrame(resultRegion->Frame()); in CheckIntersect()
84 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
86 assert(!resultRegion->Intersects(tempRect)); in CheckIntersect()
94 assert(resultRegion->Contains(pointArray[j])); in CheckIntersect()
96 assert(!resultRegion->Contains(pointArray[j])); in CheckIntersect()
110 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
112 assert(!resultRegion->Intersects(tempRect)); in CheckIntersect()
120 assert(resultRegion->Contains(pointArray[j])); in CheckIntersect()
122 assert(!resultRegion->Contains(pointArray[j])); in CheckIntersect()
137 for(int i = 0; i < resultRegion->CountRects(); i++) { in CheckIntersect()
138 BRect tempRect = resultRegion->RectAt(i); in CheckIntersect()
140 assert(resultRegion->Intersects(tempRect)); in CheckIntersect()
147 assert(resultRegion->Contains(pointArray[j])); in CheckIntersect()