Lines Matching defs:SkIRect
31 struct SK_API SkIRect { struct
37 /** Returns constructed SkIRect set to (0, 0, 0, 0). argument
44 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
55 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH() argument
65 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize() argument
77 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakePtSize(SkIPoint pt, SkISize size) { in MakePtSize() argument
90 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, in MakeLTRB() argument
104 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, in MakeXYWH() argument
116 /** Returns top edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
123 /** Returns right edge of SkIRect, if sorted. argument
130 /** Returns bottom edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
137 /** Returns left edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
144 /** Returns top edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
154 /** Returns span on the x-axis. This does not check if SkIRect is sorted, or if argument
161 /** Returns span on the y-axis. This does not check if SkIRect is sorted, or if argument
168 /** Returns spans on the x-axis and y-axis. This does not check if SkIRect is sorted, argument
175 /** Returns span on the x-axis. This does not check if SkIRect is sorted, so the argument
183 /** Returns span on the y-axis. This does not check if SkIRect is sorted, so the argument
189 constexpr int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; } in height64()
216 @param a SkIRect to compare argument
245 /** Sets SkIRect to (left, top, right, bottom). argument
261 /** Sets SkIRect to: (x, y, x + width, y + height). argument
290 /** Returns SkIRect offset by (dx, dy). argument
301 constexpr SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() argument
318 constexpr SkIRect makeOffset(SkIVector offset) const { in makeOffset() argument
333 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset() argument
351 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset() argument
375 /** Offsets SkIRect by adding delta.fX to fLeft, fRight; and by adding delta.fY to argument
389 /** Offsets SkIRect so that fLeft equals newX, and fTop equals newY. width and height argument
402 /** Insets SkIRect by (dx,dy). argument
419 /** Outsets SkIRect by (dx, dy). argument
431 /** Adjusts SkIRect by adding dL to fLeft, dT to fTop, dR to fRight, and dB to fBottom. argument
455 Returns false if SkIRect is empty. argument
468 /** Returns true if SkIRect contains r. argument
476 bool contains(const SkIRect& r) const { in contains() argument
500 bool containsNoEmptyCheck(const SkIRect& r) const { in containsNoEmptyCheck() argument
514 bool intersect(const SkIRect& r) { in intersect() argument
536 static bool Intersects(const SkIRect& a, const SkIRect& b) { in Intersects() argument
564 /** Returns SkIRect with fLeft and fRight swapped if fLeft is greater than fRight; and argument
570 SkIRect makeSorted() const { in makeSorted() argument