Home | History | Annotate | Download | only in painting

Lines Matching refs:scrollRect

135         damagedRect.setY(scrollRect.y());
136 damagedRect.setHeight(scrollRect.height());
138 damagedRect.setX(scrollRect.x());
141 damagedRect.setX(scrollRect.maxX() + dx);
146 damagedRect.setX(scrollRect.x());
147 damagedRect.setWidth(scrollRect.width());
149 damagedRect.setY(scrollRect.y());
152 damagedRect.setY(scrollRect.maxY() + dy);
158 return intersection(scrollRect, damagedRect);
171 return !m_update.scrollRect.isEmpty() || !m_update.paintRects.isEmpty();
184 if (m_update.scrollRect.isEmpty() && m_update.paintRects.size() > 1) {
221 if (!m_update.scrollRect.isEmpty()) {
224 else if (m_update.scrollRect.contains(rect)) {
244 void PaintAggregator::scrollRect(int dx, int dy, const IntRect& clipRect)
253 if (!m_update.scrollRect.isEmpty() && m_update.scrollRect != clipRect) {
267 m_update.scrollRect = clipRect;
272 m_update.scrollRect = IntRect();
278 if (m_update.scrollRect.contains(m_update.paintRects[i])) {
285 } else if (m_update.scrollRect.intersects(m_update.paintRects[i])) {
302 result = intersection(m_update.scrollRect, result);
311 if (!m_update.scrollRect.intersects(rect))
314 if (!m_update.scrollRect.contains(rect))
319 // rect comes too close to the area of the scrollRect. If so, then we
325 if (m_update.scrollRect.contains(existingRect))
328 int scrollArea = calculateArea(m_update.scrollRect);
337 IntRect scrollRect = m_update.scrollRect;
338 m_update.scrollRect = IntRect();
340 invalidateRect(scrollRect);
345 // Combine paint rects do to at most two rects: one inside the scrollRect
346 // and one outside the scrollRect. If there is no scrollRect, then just
354 if (m_update.scrollRect.isEmpty()) {
362 if (m_update.scrollRect.contains(existingRect))