Lines Matching defs:rect
56 // from the content rect by the non-virtual makeSubset().
64 // already been mapped from the content rect by the non-virtual asImage().
142 static bool rect_fits(const SkIRect& rect, int width, int height) {
144 SkASSERT(0 == rect.fLeft && 0 == rect.fRight && 0 == rect.fTop && 0 == rect.fBottom);
148 return rect.fLeft >= 0 && rect.fLeft < width && rect.fLeft < rect.fRight &&
149 rect.fRight >= 0 && rect.fRight <= width &&
150 rect.fTop >= 0 && rect.fTop < height && rect.fTop < rect.fBottom &&
151 rect.fBottom >= 0 && rect.fBottom <= height;