Lines Matching defs:rects
117 // The rounding check depends on the rects not intersecting eachother,
145 Vector<IntRect> rects;
147 o->addFocusRingRects(rects, frameOffset);
149 if (rects.isEmpty())
159 // in the test expression, in case of empty rects vector.
160 int end = rects.size() - 1;
162 mid.uniteIfNonZero(rects.at(i));
168 if (rects.size() && !rects.first().isEmpty()) {
173 if (mid.isEmpty() || mid.intersects(rects.first()))
174 mid.unite(rects.first());
176 first = rects.first();
182 if (rects.size() > 1 && !rects.last().isEmpty()) {
184 if (mid.intersects(rects.last()))
185 mid.unite(rects.last());
187 last = rects.last();
200 // Clip the overflow rects if needed, before the ring path is formed to
201 // ensure rounded highlight rects.