Lines Matching refs:rect
60 inline Rect(const SkIRect& rect) // NOLINT(google-explicit-constructor) in Rect() argument
62 left(rect.fLeft) in Rect()
63 , top(rect.fTop) in Rect()
64 , right(rect.fRight) in Rect()
65 , bottom(rect.fBottom) {} in Rect()
67 inline Rect(const SkRect& rect) // NOLINT(google-explicit-constructor) in Rect() argument
69 left(rect.fLeft) in Rect()
70 , top(rect.fTop) in Rect()
71 , right(rect.fRight) in Rect()
72 , bottom(rect.fBottom) {} in Rect()
250 friend std::ostream& operator<<(std::ostream& os, const Rect& rect) {
251 if (rect.isEmpty()) {
256 if (rect.left == 0 && rect.top == 0) {
257 return os << "[" << rect.right << " x " << rect.bottom << "]";
260 return os << "[" << rect.left << " " << rect.top << " " << rect.right << " " << rect.bottom