• Home
  • Raw
  • Download

Lines Matching defs:SkRect

404 struct SK_API SkRect {  struct
407 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
411 static SkRect SK_WARN_UNUSED_RESULT MakeLargest() { in MakeLargest() argument
417 static SkRect SK_WARN_UNUSED_RESULT MakeWH(SkScalar w, SkScalar h) { in MakeWH() argument
423 static SkRect SK_WARN_UNUSED_RESULT MakeIWH(int w, int h) { in MakeIWH() argument
429 static SkRect SK_WARN_UNUSED_RESULT MakeSize(const SkSize& size) { in MakeSize() argument
435 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeLTRB(SkScalar l, SkScalar t, SkScalar r, in MakeLTRB() argument
440 static SkRect SK_WARN_UNUSED_RESULT MakeXYWH(SkScalar x, SkScalar y, SkScalar w, SkScalar h) { in MakeXYWH() argument
447 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) { in MakeFromIRect() argument
456 static SkRect Make(const SkISize& size) { in Make() argument
460 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make() argument
472 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty()
477 bool isSorted() const { return fLeft <= fRight && fTop <= fBottom; } in isSorted()
479 bool isLargest() const { return SK_ScalarMin == fLeft && in isLargest()
488 bool isFinite() const { in isFinite()
514 friend bool operator==(const SkRect& a, const SkRect& b) { argument
529 void setEmpty() { *this = MakeEmpty(); } in setEmpty()
531 void set(const SkIRect& src) { in set()
538 void set(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in set()
545 void setLTRB(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in setLTRB()
552 void iset(int left, int top, int right, int bottom) { in iset()
563 void isetWH(int width, int height) { in isetWH()
573 void set(const SkPoint pts[], int count) { in set()
581 void setBounds(const SkPoint pts[], int count) { in setBounds()
592 void set(const SkPoint& p0, const SkPoint& p1) { in set()
599 void setXYWH(SkScalar x, SkScalar y, SkScalar width, SkScalar height) { in setXYWH()
606 void setWH(SkScalar width, SkScalar height) { in setWH()
633 SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset() argument
640 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset() argument
647 SkRect makeOutset(SkScalar dx, SkScalar dy) const { in makeOutset() argument
654 void offset(SkScalar dx, SkScalar dy) { in offset()
661 void offset(const SkPoint& delta) { in offset()
668 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
698 bool intersect(const SkRect& r); argument
734 bool intersects(const SkRect& r) const { in intersects() argument
742 static bool Intersects(const SkRect& a, const SkRect& b) { in Intersects() argument
758 void join(const SkRect& r) { in join() argument
762 void joinNonEmptyArg(const SkRect& r) { in joinNonEmptyArg() argument
776 void joinPossiblyEmptyRect(const SkRect& r) { in joinPossiblyEmptyRect() argument
792 void growToInclude(SkScalar x, SkScalar y) { in growToInclude()
818 bool contains(const SkRect& r) const { in contains() argument
828 bool contains(const SkIRect& r) const { in contains()
861 void roundOut(SkRect* dst) const { in roundOut() argument
874 void roundIn(SkIRect* dst) const { in roundIn()
881 SkIRect round() const { in round()
888 SkIRect roundOut() const { in roundOut()
913 SkRect makeSorted() const { in makeSorted() argument
928 inline bool SkIRect::contains(const SkRect& r) const { in contains() argument