Lines Matching refs:list
44 list.push_back(r);
49 addRange(rl.list[i]);
55 delRange(rl.list[i],deleted);
60 return list.empty();
64 return list.size();
67 return list.clear();
71 if(i > list.size()) return;
72 list.erase(list.begin() +i);
80 // compare new rect to each and any of the rects on the list
81 for (int i=0;i<(int)list.size();i++) { // i must be signed for i-- below
83 if (r.rangeIntersection(list[i],intersection)) {
84 Range old=list[i];
91 list.insert(list.begin(),Range(old.getStart(),intersection.getStart() - old.getStart()));
96 list.insert(list.begin(),Range(intersection.getEnd(),old.getEnd() - intersection.getEnd()));
105 if(list.empty()) return;
112 // run for each combinations of two rects in the list
113 for (int i=0;i<(((int)list.size())-1) && !changed ;i++)
115 for (int j=i+1;j<(int)list.size() && !changed ;j++)
117 if (list[i].rangeUnion(list[j],temp)) {
119 list[i] = temp;