Lines Matching refs:SkIRect
28 struct SK_API SkIRect { struct
41 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
42 return SkIRect{0, 0, 0, 0}; in MakeEmpty()
52 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH() argument
53 return SkIRect{0, 0, w, h}; in MakeWH()
62 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize() argument
63 return SkIRect{0, 0, size.fWidth, size.fHeight}; in MakeSize()
74 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakePtSize(SkIPoint pt, SkISize size) { in MakePtSize() argument
87 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, in MakeLTRB() argument
89 return SkIRect{l, t, r, b}; in MakeLTRB()
101 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, in MakeXYWH() argument
217 friend bool operator==(const SkIRect& a, const SkIRect& b) {
228 friend bool operator!=(const SkIRect& a, const SkIRect& b) {
296 constexpr SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() argument
313 constexpr SkIRect makeOffset(SkIVector offset) const { in makeOffset() argument
328 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset() argument
346 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset() argument
471 bool contains(const SkIRect& r) const { in contains() argument
495 bool containsNoEmptyCheck(const SkIRect& r) const { in containsNoEmptyCheck() argument
509 bool intersect(const SkIRect& r) { in intersect() argument
522 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& a, const SkIRect& b);
531 static bool Intersects(const SkIRect& a, const SkIRect& b) { in Intersects() argument
532 SkIRect dummy; in Intersects()
544 void join(const SkIRect& r);
566 SkIRect makeSorted() const { in makeSorted() argument
679 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
854 void set(const SkIRect& src) { in set()
1220 bool contains(const SkIRect& r) const { in contains()
1233 void round(SkIRect* dst) const { in round()
1246 void roundOut(SkIRect* dst) const { in roundOut()
1271 void roundIn(SkIRect* dst) const { in roundIn()
1283 SkIRect round() const { in round()
1284 SkIRect ir; in round()
1296 SkIRect roundOut() const { in roundOut()
1297 SkIRect ir; in roundOut()
1361 inline bool SkIRect::contains(const SkRect& r) const { in contains()