• Home
  • Raw
  • Download

Lines Matching refs:SkIRect

11 static inline uint32_t get_area(const SkIRect& rect);
12 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2);
13 static inline uint32_t get_margin(const SkIRect& rect);
14 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2);
15 static inline void join_no_empty_check(const SkIRect& joinWith, SkIRect* out);
47 void SkRTree::insert(void* data, const SkIRect& bounds, bool defer) { in insert()
105 void SkRTree::search(const SkIRect& query, SkTDArray<void*>* results) { in search()
110 if (!this->isEmpty() && SkIRect::IntersectsNoEmptyCheck(fRoot.fBounds, query)) { in search()
184 const SkIRect& subtreeBounds = root->child(i)->fBounds; in chooseSubtree()
202 const SkIRect& subtreeBounds = root->child(i)->fBounds; in chooseSubtree()
203 SkIRect expandedBounds = subtreeBounds; in chooseSubtree()
229 SkIRect SkRTree::computeBounds(Node* n) { in computeBounds()
230 SkIRect r = n->child(0)->fBounds; in computeBounds()
240 {&SkIRect::fLeft, &SkIRect::fRight}, in distributeChildren()
241 {&SkIRect::fTop, &SkIRect::fBottom} in distributeChildren()
266 SkIRect r1 = children[0].fBounds; in distributeChildren()
267 SkIRect r2 = children[fMinChildren + k - 1].fBounds; in distributeChildren()
305 void SkRTree::search(Node* root, const SkIRect query, SkTDArray<void*>* results) const { in search()
307 if (SkIRect::IntersectsNoEmptyCheck(root->child(i)->fBounds, query)) { in search()
411 int SkRTree::validateSubtree(Node* root, SkIRect bounds, bool isRoot) { in validateSubtree()
454 static inline uint32_t get_area(const SkIRect& rect) { in get_area()
458 static inline uint32_t get_overlap(const SkIRect& rect1, const SkIRect& rect2) { in get_overlap()
465 static inline uint32_t get_margin(const SkIRect& rect) { in get_margin()
469 static inline uint32_t get_area_increase(const SkIRect& rect1, SkIRect rect2) { in get_area_increase()
475 static inline void join_no_empty_check(const SkIRect& joinWith, SkIRect* out) { in join_no_empty_check()