Lines Matching defs:region
11 #include "cc/base/region.h"
17 bool ExpectRegionEq(const gfx::Rect& rect, const SimpleEnclosedRegion& region) {
24 for (size_t i = 0; i < region.GetRegionComplexity(); ++i)
25 actual_rects.push_back(region.GetRect(i));
27 if (rect.IsEmpty() != region.IsEmpty()) {
29 << " Actual: " << region.IsEmpty();
360 // True also when the rect covers one edge of the existing region.
377 // But if the existing region can be expanded to make a larger rect, then it
431 // Subtracting a rect that covers one side of the region will shrink that
499 // Subtracting a rect inside the region will make it choose the larger result.
516 // Subtracting a rect that cuts the region in two will choose the larger side.