• Home
  • Raw
  • Download

Lines Matching defs:SkIRect

37 struct SK_API SkIRect {  struct
43 /** Returns constructed SkIRect set to (0, 0, 0, 0). argument
50 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
61 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH() argument
71 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize() argument
84 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, in MakeLTRB() argument
98 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, in MakeXYWH() argument
110 /** Returns top edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
117 /** Returns right edge of SkIRect, if sorted. argument
124 /** Returns bottom edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
131 /** Returns left edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
138 /** Returns top edge of SkIRect, if sorted. Call isEmpty() to see if SkIRect may be invalid, argument
148 /** Returns span on the x-axis. This does not check if SkIRect is sorted, or if argument
155 /** Returns span on the y-axis. This does not check if SkIRect is sorted, or if argument
162 /** Returns spans on the x-axis and y-axis. This does not check if SkIRect is sorted, argument
169 /** Returns span on the x-axis. This does not check if SkIRect is sorted, so the argument
177 /** Returns span on the y-axis. This does not check if SkIRect is sorted, so the argument
183 int64_t height64() const { return (int64_t)fBottom - (int64_t)fTop; } in height64()
210 @param a SkIRect to compare argument
237 /** Sets SkIRect to (left, top, right, bottom). argument
253 /** Sets SkIRect to (left, top, right, bottom). argument
266 /** Sets SkIRect to: (x, y, x + width, y + height). argument
281 /** Returns SkIRect offset by (dx, dy). argument
292 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset() argument
310 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset() argument
328 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset() argument
352 /** Offsets SkIRect by adding delta.fX to fLeft, fRight; and by adding delta.fY to argument
366 /** Offsets SkIRect so that fLeft equals newX, and fTop equals newY. width and height argument
379 /** Insets SkIRect by (dx,dy). argument
396 /** Outsets SkIRect by (dx, dy). argument
408 /** Adjusts SkIRect by adding dL to fLeft, dT to fTop, dR to fRight, and dB to fBottom. argument
432 Returns false if SkIRect is empty. argument
445 /** Constructs SkIRect to intersect from (left, top, right, bottom). Does not sort argument
463 /** Returns true if SkIRect contains r. argument
471 bool contains(const SkIRect& r) const { in contains() argument
510 /** Returns true if SkIRect contains construction. argument
518 bool containsNoEmptyCheck(const SkIRect& r) const { in containsNoEmptyCheck() argument
530 bool intersect(const SkIRect& r) { in intersect() argument
543 bool SK_WARN_UNUSED_RESULT intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) { in intersectNoEmptyCheck() argument
567 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& a, const SkIRect& b) { in intersect() argument
595 @param a SkIRect to intersect argument
599 static bool Intersects(const SkIRect& a, const SkIRect& b) { in Intersects() argument
611 static bool IntersectsNoEmptyCheck(const SkIRect& a, const SkIRect& b) { in IntersectsNoEmptyCheck() argument
637 void join(const SkIRect& r) { in join() argument
655 /** Returns SkIRect with fLeft and fRight swapped if fLeft is greater than fRight; and argument
661 SkIRect makeSorted() const { in makeSorted() argument
670 static const SkIRect& SK_WARN_UNUSED_RESULT EmptyIRect() { in EmptyIRect() argument