Lines Matching defs:dkey

1268 static std::vector<SPItem*> &find_items_in_area(std::vector<SPItem*> &s, SPGroup *group, unsigned int dkey, Geom::Rect const &area,
1275 if (SP_IS_GROUP(o) && (SP_GROUP(o)->effectiveLayerMode(dkey) == SPGroup::LAYER || into_groups)) {
1276 s = find_items_in_area(s, SP_GROUP(o), dkey, area, test, take_insensitive, into_groups);
1280 if ( box && test(area, *box) && (take_insensitive || child->isVisibleAndUnlocked(dkey))) {
1308 SPItem *SPDocument::getItemFromListAtPointBottom(unsigned int dkey, SPGroup *group, std::vector<SPItem*> const &list,Geom::Point const &p, bool take_insensitive)
1319 Inkscape::DrawingItem *arenaitem = item->get_arenaitem(dkey);
1322 && (take_insensitive || item->isVisibleAndUnlocked(dkey))) {
1330 bottomMost = getItemFromListAtPointBottom(dkey, SP_GROUP(o), list, p, take_insensitive);
1341 void SPDocument::build_flat_item_list(unsigned int dkey, SPGroup *group, gboolean into_groups) const
1348 if (SP_IS_GROUP(o) && (SP_GROUP(o)->effectiveLayerMode(dkey) == SPGroup::LAYER || into_groups)) {
1349 build_flat_item_list(dkey, SP_GROUP(o), into_groups);
1353 if (child->isVisibleAndUnlocked(dkey)) {
1369 static SPItem *find_item_at_point(std::deque<SPItem*> *nodes, unsigned int dkey, Geom::Point const &p, SPItem* upto=NULL)
1384 Inkscape::DrawingItem *arenaitem = child->get_arenaitem(dkey);
1401 static SPItem *find_group_at_point(unsigned int dkey, SPGroup *group, Geom::Point const &p)
1411 if (SP_IS_GROUP(o) && SP_GROUP(o)->effectiveLayerMode(dkey) == SPGroup::LAYER) {
1412 SPItem *newseen = find_group_at_point(dkey, SP_GROUP(o), p);
1417 if (SP_IS_GROUP(o) && SP_GROUP(o)->effectiveLayerMode(dkey) != SPGroup::LAYER ) {
1419 Inkscape::DrawingItem *arenaitem = child->get_arenaitem(dkey);
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);
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);