• Home
  • Raw
  • Download

Lines Matching defs:SkRect

354 struct SK_API SkRect {  struct
357 static SkRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty() argument
363 static SkRect SK_WARN_UNUSED_RESULT MakeWH(SkScalar w, SkScalar h) { in MakeWH() argument
369 static SkRect SK_WARN_UNUSED_RESULT MakeSize(const SkSize& size) { in MakeSize() argument
375 static SkRect SK_WARN_UNUSED_RESULT MakeLTRB(SkScalar l, SkScalar t, SkScalar r, SkScalar b) { in MakeLTRB() argument
381 static SkRect SK_WARN_UNUSED_RESULT MakeXYWH(SkScalar x, SkScalar y, SkScalar w, SkScalar h) { in MakeXYWH() argument
388 static SkRect SK_WARN_UNUSED_RESULT MakeFromIRect(const SkIRect& irect) { in MakeFromIRect() argument
397 static SkRect SK_WARN_UNUSED_RESULT Make(const SkIRect& irect) { in Make() argument
409 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } in isEmpty()
416 bool isFinite() const { in isFinite()
450 friend bool operator==(const SkRect& a, const SkRect& b) { argument
464 void setEmpty() { memset(this, 0, sizeof(*this)); } in setEmpty()
466 void set(const SkIRect& src) { in set()
473 void set(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in set()
480 void setLTRB(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) { in setLTRB()
487 void iset(int left, int top, int right, int bottom) { in iset()
498 void isetWH(int width, int height) { in isetWH()
508 void set(const SkPoint pts[], int count) { in set()
516 void setBounds(const SkPoint pts[], int count) { in setBounds()
527 void set(const SkPoint& p0, const SkPoint& p1) { in set()
534 void setXYWH(SkScalar x, SkScalar y, SkScalar width, SkScalar height) { in setXYWH()
541 void setWH(SkScalar width, SkScalar height) { in setWH()
551 void setLargest() { in setLargest()
560 void setLargestInverted() { in setLargestInverted()
568 void offset(SkScalar dx, SkScalar dy) { in offset()
575 void offset(const SkPoint& delta) { in offset()
582 void offsetTo(SkScalar newX, SkScalar newY) { in offsetTo()
612 bool intersect(const SkRect& r); argument
638 bool intersect(const SkRect& a, const SkRect& b); argument
643 static bool Intersects(const SkRect& a, const SkRect& b) { in Intersects() argument
660 void join(const SkRect& r) { in join() argument
664 void growToInclude(const SkRect& r) { this->join(r); } in growToInclude() argument
675 void growToInclude(SkScalar x, SkScalar y) { in growToInclude()
714 bool contains(const SkRect& r) const { in contains() argument
724 void round(SkIRect* dst) const { in round()
734 void roundOut(SkIRect* dst) const { in roundOut()
745 void roundOut() { in roundOut()
758 void roundIn(SkIRect* dst) const { in roundIn()