• Home
  • Raw
  • Download

Lines Matching refs:SkIRect

12 static inline uint32_t get_area(const SkIRect& rect);
13 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2);
14 static inline uint32_t get_margin(const SkIRect& rect);
15 static inline uint32_t get_overlap_increase(const SkIRect& rect1, const SkIRect& rect2,
16 SkIRect expandBy);
17 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2);
18 static inline void join_no_empty_check(const SkIRect& joinWith, SkIRect* out);
49 void SkRTree::insert(void* data, const SkIRect& bounds, bool defer) { in insert()
107 void SkRTree::search(const SkIRect& query, SkTDArray<void*>* results) { in search()
112 if (!this->isEmpty() && SkIRect::IntersectsNoEmptyCheck(fRoot.fBounds, query)) { in search()
186 const SkIRect& subtreeBounds = root->child(i)->fBounds; in chooseSubtree()
204 const SkIRect& subtreeBounds = root->child(i)->fBounds; in chooseSubtree()
205 SkIRect expandedBounds = subtreeBounds; in chooseSubtree()
231 SkIRect SkRTree::computeBounds(Node* n) { in computeBounds()
232 SkIRect r = n->child(0)->fBounds; in computeBounds()
242 {&SkIRect::fLeft, &SkIRect::fRight}, in distributeChildren()
243 {&SkIRect::fTop, &SkIRect::fBottom} in distributeChildren()
268 SkIRect r1 = children[0].fBounds; in distributeChildren()
269 SkIRect r2 = children[fMinChildren + k - 1].fBounds; in distributeChildren()
307 void SkRTree::search(Node* root, const SkIRect query, SkTDArray<void*>* results) const { in search()
309 if (SkIRect::IntersectsNoEmptyCheck(root->child(i)->fBounds, query)) { in search()
404 int SkRTree::validateSubtree(Node* root, SkIRect bounds, bool isRoot) { in validateSubtree()
439 static inline uint32_t get_area(const SkIRect& rect) { in get_area()
443 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2) { in get_overlap()
450 static inline uint32_t get_margin(const SkIRect& rect) { in get_margin()
454 static inline uint32_t get_overlap_increase(const SkIRect& rect1, const SkIRect& rect2, in get_overlap_increase()
455 SkIRect expandBy) { in get_overlap_increase()
460 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2) { in get_area_increase()
466 static inline void join_no_empty_check(const SkIRect& joinWith, SkIRect* out) { in join_no_empty_check()