Lines Matching defs:box
1258 static bool is_within(Geom::Rect const &area, Geom::Rect const &box)
1260 return area.contains(box);
1263 static bool overlaps(Geom::Rect const &area, Geom::Rect const &box)
1265 return area.intersects(box);
1279 Geom::OptRect box = child->desktopVisualBounds();
1280 if ( box && test(area, *box) && (take_insensitive || child->isVisibleAndUnlocked(dkey))) {
1432 * Return list of items, contained in box
1434 * Assumes box is normalized (and g_asserts it!)
1437 std::vector<SPItem*> SPDocument::getItemsInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups) const
1441 return find_items_in_area(x, SP_GROUP(this->root), dkey, box, is_within, false, into_groups);
1445 * Return list of items, that the parts of the item contained in box
1447 * Assumes box is normalized (and g_asserts it!)
1451 std::vector<SPItem*> SPDocument::getItemsPartiallyInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups) const
1455 return find_items_in_area(x, SP_GROUP(this->root), dkey, box, overlaps, false, into_groups);