Lines Matching defs:SkRect

683 struct SK_API SkRect {  struct
689 /** Returns constructed SkRect set to (0, 0, 0, 0). argument
696 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
710 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeWH(SkScalar w, SkScalar h) { in MakeWH() argument
724 static SkRect SK_WARN_UNUSED_RESULT MakeIWH(int w, int h) { in MakeIWH() argument
736 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeSize(const SkSize& size) { in MakeSize() argument
749 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeLTRB(SkScalar l, SkScalar t, SkScalar r, in MakeLTRB() argument
763 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeXYWH(SkScalar x, SkScalar y, SkScalar w, in MakeXYWH() argument
774 static SkRect Make(const SkISize& size) { in Make() argument
785 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make() argument
800 bool isEmpty() const { in isEmpty()
834 /** Returns left edge of SkRect, if sorted. Call isSorted() to see if SkRect is valid. argument
841 /** Returns top edge of SkRect, if sorted. Call isEmpty() to see if SkRect may be invalid, argument
848 /** Returns left edge of SkRect, if sorted. Call isSorted() to see if SkRect is valid. argument
855 /** Returns top edge of SkRect, if sorted. Call isEmpty() to see if SkRect may be invalid, argument
862 /** Returns right edge of SkRect, if sorted. Call isSorted() to see if SkRect is valid. argument
869 /** Returns bottom edge of SkRect, if sorted. Call isEmpty() to see if SkRect may be invalid, argument
876 /** Returns span on the x-axis. This does not check if SkRect is sorted, or if argument
883 /** Returns span on the y-axis. This does not check if SkRect is sorted, or if argument
890 /** Returns average of left edge and right edge. Result does not change if SkRect argument
900 /** Returns average of top edge and bottom edge. Result does not change if SkRect argument
916 @param a SkRect to compare argument
955 /** Sets SkRect to src, promoting src members from integer to scalar. argument
967 /** Sets SkRect to (left, top, right, bottom). argument
983 /** Sets SkRect to (left, top, right, bottom). argument
996 /** Sets SkRect to (left, top, right, bottom). argument
1013 /** Sets SkRect to (0, 0, width, height). argument
1027 or if SkPoint array contains an infinity or NaN, sets SkRect to (0, 0, 0, 0). argument
1057 sets SkRect to (0, 0, 0, 0). argument
1089 /** Sets SkRect to (x, y, x + width, y + height). argument
1104 /** Sets SkRect to (0, 0, width, height). Does not validate input; argument
1117 /** Returns SkRect offset by (dx, dy). argument
1128 SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() argument
1143 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset() argument
1158 SkRect makeOutset(SkScalar dx, SkScalar dy) const { in makeOutset() argument
1179 /** Offsets SkRect by adding delta.fX to fLeft, fRight; and by adding delta.fY to argument
1193 /** Offsets SkRect so that fLeft equals newX, and fTop equals newY. width and height argument
1206 /** Insets SkRect by (dx, dy). argument
1223 /** Outsets SkRect by (dx, dy). argument
1235 /** Returns true if SkRect intersects r, and sets SkRect to intersection. argument
1285 /** Constructs SkRect to intersect from (left, top, right, bottom). Does not sort argument
1301 /** Returns true if SkRect intersects r. argument
1307 bool intersects(const SkRect& r) const { in intersects() argument
1319 static bool Intersects(const SkRect& a, const SkRect& b) { in Intersects() argument
1346 void join(const SkRect& r) { in join() argument
1359 void joinNonEmptyArg(const SkRect& r) { in joinNonEmptyArg() argument
1375 void joinPossiblyEmptyRect(const SkRect& r) { in joinPossiblyEmptyRect() argument
1393 /** Returns true if SkRect contains r. argument
1401 bool contains(const SkRect& r) const { in contains() argument
1423 /** Sets SkIRect by adding 0.5 and discarding the fractional portion of SkRect argument
1448 /** Sets SkRect by discarding the fractional portion of fLeft and fTop; and rounding argument
1455 void roundOut(SkRect* dst) const { in roundOut() argument
1475 /** Returns SkIRect by adding 0.5 and discarding the fractional portion of SkRect argument
1481 SkIRect round() const { in round()
1515 /** Returns SkRect with fLeft and fRight swapped if fLeft is greater than fRight; and argument
1521 SkRect makeSorted() const { in makeSorted() argument
1533 /** Writes text representation of SkRect to standard output. Set asHex to true to argument
1547 /** Writes text representation of SkRect to standard output. The representation may be argument
1557 inline bool SkIRect::contains(const SkRect& r) const { in contains() argument