Home | History | Annotate | Download | only in WebPage

Lines Matching refs:rects

528 static bool shouldPaintBoundsRect(const IntRect& bounds, const Vector<IntRect>& rects)
533 if (rects.size() <= 1 || rects.size() > rectThreshold)
536 // Attempt to guess whether or not we should use the region bounds rect or the individual rects.
541 for (size_t i = 0; i < rects.size(); ++i)
542 rectsArea += rects[i].width() * rects[i].height();
581 Vector<IntRect> rects = m_dirtyRegion.rects();
583 if (shouldPaintBoundsRect(bounds, rects)) {
584 rects.clear();
585 rects.append(bounds);
601 for (size_t i = 0; i < rects.size(); ++i) {
602 m_webPage->drawRect(*graphicsContext, rects[i]);
604 m_webPage->drawPageOverlay(*graphicsContext, rects[i]);
605 updateInfo.updateRects.append(rects[i]);