Lines Matching defs:damaged_rect
40 Rect damaged_rect;
46 damaged_rect.set_y(scroll_rect.y());
47 damaged_rect.set_height(scroll_rect.height());
49 damaged_rect.set_x(scroll_rect.x());
50 damaged_rect.set_width(dx);
52 damaged_rect.set_x(scroll_rect.right() + dx);
53 damaged_rect.set_width(-dx);
57 damaged_rect.set_x(scroll_rect.x());
58 damaged_rect.set_width(scroll_rect.width());
60 damaged_rect.set_y(scroll_rect.y());
61 damaged_rect.set_height(dy);
63 damaged_rect.set_y(scroll_rect.bottom() + dy);
64 damaged_rect.set_height(-dy);
69 return scroll_rect.Intersect(damaged_rect);