Lines Matching refs:SkIRect

20 struct SK_API SkIRect {  struct
23 static SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
24 SkIRect r; in MakeEmpty()
29 static SkIRect SK_WARN_UNUSED_RESULT MakeLargest() { in MakeLargest() argument
30 SkIRect r; in MakeLargest()
35 static SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH() argument
36 SkIRect r; in MakeWH()
41 static SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize() argument
42 SkIRect r; in MakeSize()
47 static SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b) { in MakeLTRB() argument
48 SkIRect rect; in MakeLTRB()
53 static SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h) { in MakeXYWH() argument
54 SkIRect r; in MakeXYWH()
110 friend bool operator==(const SkIRect& a, const SkIRect& b) { argument
114 friend bool operator!=(const SkIRect& a, const SkIRect& b) {
165 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() argument
172 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset() argument
179 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset() argument
250 bool contains(const SkIRect& r) const { in contains() argument
275 bool containsNoEmptyCheck(const SkIRect& r) const { in containsNoEmptyCheck() argument
283 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& r) { in intersect() argument
291 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& a, const SkIRect& b) { in intersect() argument
311 bool SK_WARN_UNUSED_RESULT intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) { in intersectNoEmptyCheck() argument
345 static bool Intersects(const SkIRect& a, const SkIRect& b) { in Intersects() argument
354 static bool IntersectsNoEmptyCheck(const SkIRect& a, const SkIRect& b) { in IntersectsNoEmptyCheck() argument
371 void join(const SkIRect& r) { in join() argument
382 static const SkIRect& SK_WARN_UNUSED_RESULT EmptyIRect() { in EmptyIRect() argument
383 static const SkIRect gEmpty = { 0, 0, 0, 0 }; in EmptyIRect()
436 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) { in MakeFromIRect()
445 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make()
512 void set(const SkIRect& src) { in set()
810 bool contains(const SkIRect& r) const { in contains()
821 void round(SkIRect* dst) const { in round()
839 void dround(SkIRect* dst) const { in dround()
849 void roundOut(SkIRect* dst) const { in roundOut()
874 void roundIn(SkIRect* dst) const { in roundIn()
881 SkIRect round() const { in round()
882 SkIRect ir; in round()
888 SkIRect roundOut() const { in roundOut()
889 SkIRect ir; in roundOut()
920 inline bool SkIRect::contains(const SkRect& r) const { in contains()